Private Function beagle.usub_402a5a.txt
FLocal1 = CreateFileA(#ARG4,2147483648,1,0,3,0,0)
If (FLocal1 + 1)
If (GetFileSize(FLocal1,0) + 1)
FLocal3 = CreateFileMappingA(0,0,2,0,0,NULL)
If (FLocal3 = 0)
FLocal4 = MapViewOfFile(FLocal3,4,0,0,0)
BLocal1 = FLocal7
If (FLocal4 = 0)
usub_402985(FLocal4,0,#ARG8)
BLocal1 = UnmapViewOfFile(FLocal4)
End If
BLocal1 = FLocal7
FLocal7 = CloseHandle(FLocal3)
End If
End If
BLocal1 = CloseHandle(#ARG8)
End If
Return BLocal1
End Sub