Function at 0x4364bb
Capabilities:
Read file on windows

Disassembly:
push 0x44c
mov eax, 0x46a1f4
call fcn.0046359a
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x42c], ecx
push 0x49218b
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_287]
mov ecx, dword [ebp - 0x42c]
xor ebx, ebx
push ebx
push 1
push edi
mov dword [ebp - 4], ebx
call fcn.00435f99
test eax, eax
jne 0x436515
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, ebx
call fcn.0046361d
ret 8
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
mov ebx, 0x400
jmp 0x436568
cmp dword [ebp - 0x43c], 0
je 0x43657f
push dword [ebp - 0x43c]
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x420]
call dword [sym.imp.MFC80U.DLL_Ordinal_284]
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_896]
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 0
lea eax, [ebp - 0x43c]
push eax
push ebx
lea eax, [ebp - 0x410]
push eax
push dword [esi]
call edi
test eax, eax
jne 0x436523
lea ecx, [ebp - 0x414]
xor ebx, ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
test eax, eax
jle 0x4369b7
mov esi, dword [sym.imp.MSVCR80.dll_strtoul]
push ebx
push 0x2d
pop ebx
push ebx
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov edi, eax
cmp edi, 0xffffffff
je 0x4369b7
lea eax, [edi + 1]
push eax
push ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x434], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
mov dword [ebp - 0x424], eax
je 0x4369b7
inc eax
push eax
push ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x430], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
mov dword [ebp - 0x428], eax
je 0x4369b7
inc eax
push eax
push ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x438], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
cmp eax, 0xffffffff
mov dword [ebp - 0x420], eax
je 0x4369b7
inc eax
push eax
push ebx
lea ecx, [ebp - 0x414]
mov dword [ebp - 0x440], eax
call dword [sym.imp.MFC80U.DLL_Ordinal_2260]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4369b7
cmp edi, 2
jl 0x43699d
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
mov ecx, eax
push 3
pop eax
sub ecx, eax
cmp ebx, ecx
jg 0x4369b7
mov ecx, dword [ebp - 0x424]
sub ecx, edi
cmp ecx, eax
jne 0x43699d
mov ecx, dword [ebp - 0x428]
sub ecx, dword [ebp - 0x424]
cmp ecx, eax
jne 0x43699d
mov ecx, dword [ebp - 0x420]
sub ecx, dword [ebp - 0x428]
cmp ecx, eax
jne 0x43699d
mov ecx, ebx
sub ecx, dword [ebp - 0x420]
cmp ecx, eax
jne 0x43699d
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_310]
and dword [ebp - 0x41c], 0
push 2
add edi, 0xfffffffe
push edi
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x414]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
push 0x10
lea ecx, [eax + 2]
pop edi
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
add esp, 0xc
push 2
push dword [ebp - 0x434]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x458]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
lea ecx, [eax + 2]
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
add esp, 0xc
push 2
push dword [ebp - 0x430]
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
lea ecx, [eax + 2]
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
add esp, 0xc
push 2
push dword [ebp - 0x438]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x44c]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 6
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x44c]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
lea ecx, [eax + 2]
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
add esp, 0xc
push 2
push dword [ebp - 0x440]
mov dword [ebp - 0x438], eax
lea eax, [ebp - 0x448]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 7
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x448]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
lea ecx, [eax + 2]
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
add esp, 0xc
mov dword [ebp - 0x440], eax
push 2
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
mov ecx, eax
mov byte [ebp - 4], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [ebp - 0x418]
call dword [sym.imp.MFC80U.DLL_Ordinal_783]
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x418]
lea ecx, [eax + 2]
mov dword [ebp - 0x41c], ecx
push edi
lea ecx, [ebp - 0x41c]
push ecx
push eax
call esi
push 8
mov dword [ebp - 0x424], eax
call sub.MFC80U.DLL_Ordinal_265
push 8
mov edi, eax
push 0
push edi
call fcn.00463688
mov al, byte [ebp - 0x420]
mov ecx, dword [ebp - 0x42c]
mov byte [edi], al
mov al, byte [ebp - 0x428]
mov byte [edi + 1], al
mov al, byte [ebp - 0x430]
mov byte [edi + 2], al
mov al, byte [ebp - 0x438]
mov byte [edi + 3], al
mov al, byte [ebp - 0x440]
add esp, 0x1c
mov byte [edi + 4], al
mov al, byte [ebp - 0x424]
push edi
add ecx, 0xc
mov byte [edi + 5], al
call fcn.00436292
lea ecx, [ebp - 0x418]
add ebx, 3
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_578]
jmp 0x4369a3
mov ebx, dword [ebp - 0x434]
lea ecx, [ebp - 0x414]
call dword [sym.imp.MFC80U.DLL_Ordinal_2895]
cmp ebx, eax
jl 0x43659b
mov eax, dword [ebp - 0x42c]
xor ebx, ebx
cmp dword [eax + 0x18], ebx
je 0x4364ff
inc ebx
jmp 0x4364ff