Function at 0x1000438d
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x40
mov eax, 0x10006712
call fcn.100052ef
mov edi, ecx
lea ecx, [ebp - 0x4c]
call fcn.100033f5
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push ebx
mov ecx, 0x1000a534
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10003863
cmp byte [ebp + 8], bl
mov esi, 0x10007a88
je 0x100046c4
push ebx
push 0x80
push 4
push ebx
push 1
push 0x80000000
lea ecx, [edi + 0x94]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x100046c4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 2]
push eax
call dword [sym.imp.MSVCR80.dll_malloc]
pop ecx
push 0
lea ecx, [ebp - 0x24]
push ecx
push ebx
push eax
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
mov byte [eax + ebx], 0
lea ebx, [edi + 0x7c]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_784]
push 0
push str.MDDI_
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jle 0x10004504
push eax
push esi
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sub eax, 6
push eax
add ecx, 6
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push str.CString
push str.ddmmdi
push 0
lea ecx, [ebp - 0x4c]
call fcn.10003adb
push 1
lea eax, [ebp - 0x14]
push eax
push str.ddmmdi
lea ecx, [ebp - 0x4c]
call fcn.100034e9
test eax, eax
je 0x100044e7
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004096
test al, al
pop ecx
pop ecx
je 0x10004504
jmp 0x100044f1
push 1
lea ecx, [ebp - 0x4c]
call fcn.10003508
push 0
lea eax, [ebp - 0x10]
push eax
push str.ddmmdi
lea ecx, [ebp - 0x4c]
call fcn.100034e9
push 0
push str.ADSOP_
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jle 0x10004570
push eax
push esi
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sub eax, 7
push eax
add ecx, 7
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x10007a74
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_1482]
neg eax
sbb al, al
inc al
mov byte [edi + 0x75], al
push 0
push str.DWNM_
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jle 0x100046b1
push eax
push esi
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sub eax, 6
push eax
add ecx, 6
push ecx
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
call dword [sym.imp.MSVCR80.dll_atoi]
pop ecx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movzx eax, ax
cdq
idiv dword [ebp + 8]
lea eax, [ebp - 0x10]
inc edx
push edx
push 0x10007698
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_2322]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push 0x10007a68
push eax
call fcn.10001179
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x10007a64
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10004031
add esp, 0xc
push 0
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
lea ecx, [ebp + 8]
mov dword [ebp - 0x18], eax
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push dword [ebp - 0x18]
mov ecx, ebx
push esi
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], eax
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
inc eax
inc eax
sub ecx, eax
sub ecx, edx
push ecx
add eax, edx
push eax
lea eax, [ebp + 8]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [edi + 0x80]
mov byte [ebp - 4], 7
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x84], 0
jne 0x10004b0b
push 0
lea ecx, [edi + 0x7c]
push str.DZAX19_
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10004830
push ebx
push esi
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov dword [ebp + 8], eax
sub eax, ebx
sub eax, 8
push eax
add ebx, 8
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push str.CString
mov ebx, str.DZAX19
push ebx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10003adb
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
lea ecx, [ebp - 0x4c]
call fcn.100034e9
test eax, eax
je 0x1000476d
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004096
test al, al
pop ecx
pop ecx
je 0x10004830
mov ebx, dword [ebp + 8]
add ebx, 2
push ebx
push esi
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push 0xfffffffffffffffe
pop ecx
sub ecx, dword [ebp + 8]
add eax, ecx
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x2f
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_5529]
lea ecx, [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
sub eax, ebx
dec eax
push eax
inc ebx
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x80]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10003fc6
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xb
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, edi
call fcn.100041f6
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov byte [edi + 0x76], 1
cmp dword [edi + 0x84], 0
jne 0x10004b0b
push 0
lea ecx, [edi + 0x7c]
push str.DWRN_
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x100049a2
push ebx
push esi
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov dword [ebp + 8], eax
sub eax, ebx
sub eax, 6
push eax
add ebx, 6
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push str.CString
mov ebx, str.DWRN
push ebx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10003adb
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
lea ecx, [ebp - 0x4c]
call fcn.100034e9
test eax, eax
je 0x100048d9
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004096
test al, al
pop ecx
pop ecx
je 0x100049a2
mov eax, dword [ebp + 8]
add eax, 2
push eax
lea ebx, [edi + 0x7c]
push esi
mov ecx, ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push 0xfffffffffffffffe
pop ecx
sub ecx, dword [ebp + 8]
add eax, ecx
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xd
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x2f
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_5529]
lea ecx, [ebp - 0x10]
mov ebx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
sub eax, ebx
dec eax
push eax
inc ebx
push ebx
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x80]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10003fc6
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xf
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, edi
call fcn.100041f6
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov byte [edi + 0x77], 1
cmp dword [edi + 0x84], 0
jne 0x10004b0b
push 0
lea ecx, [edi + 0x7c]
push str.DWQJ19_
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov ebx, eax
cmp ebx, 0xffffffff
jle 0x10004b0b
push ebx
push esi
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov dword [ebp + 8], eax
sub eax, ebx
sub eax, 8
push eax
add ebx, 8
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x10
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 1
push str.CString
mov ebx, str.DWQJ19
push ebx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10003adb
push 1
lea eax, [ebp - 0x14]
push eax
push ebx
lea ecx, [ebp - 0x4c]
call fcn.100034e9
test eax, eax
je 0x10004a4b
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004096
test al, al
pop ecx
pop ecx
je 0x10004b0b
mov ebx, dword [ebp + 8]
add ebx, 2
push ebx
push esi
lea esi, [edi + 0x7c]
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
push 0xfffffffffffffffe
pop ecx
sub ecx, dword [ebp + 8]
add eax, ecx
push eax
push ebx
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0x2f
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_5529]
lea ecx, [ebp - 0x10]
mov esi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
sub eax, esi
dec eax
push eax
inc esi
push esi
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x12
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea eax, [ebp - 0x10]
push eax
lea eax, [edi + 0x80]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10003fc6
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x13
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
mov ecx, edi
call fcn.100041f6
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov byte [edi + 0x78], 1
lea ecx, [ebp - 0x10]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.1000370b
call fcn.10005358
ret 4