Function at 0x432ce0
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51499a
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x48], ecx
xor edi, edi
mov dword [esp + 0x128], edi
cmp dword [eax + 0x18], 8
jb 0x432d3f
mov eax, dword [eax + 4]
jmp 0x432d42
add eax, 4
push edi
push 0x80
push 3
push edi
push 1
push 0x120089
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x14], esi
je 0x433173
push edi
lea edx, [esp + 0x1c]
push edx
push 4
lea eax, [esp + 0x2c]
push eax
push esi
mov dword [esp + 0x34], edi
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43316c
mov ecx, dword [esp + 0x18]
cmp ecx, edi
seta al
test al, al
je 0x43316c
cmp ecx, 4
jne 0x43316c
mov eax, ecx
mov ecx, str.GMUT1Q
lea edx, [esp + 0x20]
mov ebx, dword [edx]
cmp ebx, dword [ecx]
jne 0x432dc9
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x432db1
cmp eax, edi
je 0x432e2e
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x432e18
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x432e2a
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x432e18
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x432e2a
movzx ebx, byte [ecx]
movzx esi, byte [edx]
sub esi, ebx
jne 0x432e18
sub eax, 1
add ecx, 1
add edx, 1
cmp eax, edi
je 0x432e2a
movzx ecx, byte [ecx]
movzx esi, byte [edx]
sub esi, ecx
je 0x432e2a
cmp esi, edi
mov esi, dword [esp + 0x14]
mov eax, 1
jg 0x432e30
or eax, 0xffffffff
jmp 0x432e30
mov esi, dword [esp + 0x14]
xor eax, eax
cmp eax, edi
jne 0x43316c
push edi
lea edx, [esp + 0x1c]
push edx
push 1
lea eax, [esp + 0x1e]
push eax
push esi
mov byte [esp + 0x26], 0
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43316c
mov ecx, dword [esp + 0x18]
cmp ecx, edi
seta al
test al, al
je 0x43316c
cmp ecx, 1
jne 0x43316c
cmp byte [esp + 0x12], 0
je 0x43316c
mov dword [esp + 0x24], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov byte [esp + 0x128], cl
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0042dd50
add esp, 0xc
test al, al
je 0x4330f7
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], edi
mov byte [esp + 0x128], 2
cmp dword [esp + 0x30], edi
jbe 0x432f22
mov eax, dword [esp + 0x2c]
mov ebx, dword [eax + edi]
mov ecx, ebx
shr ecx, 1
add edi, 4
push ecx
lea ecx, [eax + edi]
lea eax, [esp + 0x70]
call fcn.00435570
lea edx, [esp + 0x6c]
push edx
lea esi, [esp + 0x3c]
mov byte [esp + 0x12c], 3
call fcn.00409760
lea esi, [esp + 0x6c]
add edi, ebx
mov byte [esp + 0x128], 2
call fcn.00481d30
cmp edi, dword [esp + 0x30]
jb 0x432ed6
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x6c], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x134], 4
call fcn.0042dd50
add esp, 0xc
test al, al
je 0x4330e5
lea esi, [esp + 0x14]
call fcn.0043ebd0
mov eax, dword [esp + 0x34]
push eax
lea esi, [esp + 0x8c]
mov byte [esp + 0x17], 0
call fcn.0043b9f0
add esp, 4
push 0x20
mov ecx, esi
mov byte [esp + 0x12c], 5
call fcn.0043b600
add esp, 4
lea ecx, [esp + 0x38]
xor ebx, ebx
call fcn.00464cc0
test eax, eax
jbe 0x433099
lea ebx, [ebx]
sub eax, ebx
sub eax, 1
push eax
lea eax, [esp + 0x3c]
call fcn.00435680
mov edi, eax
mov esi, edi
call fcn.0043b950
test al, al
jne 0x433006
lea ecx, [esp + 0x88]
push edi
push ecx
lea ecx, [esp + 0x58]
call fcn.0043b740
add esp, 8
push 0xffffffffffffffff
push 0
push eax
mov eax, edi
mov byte [esp + 0x134], 6
call fcn.00401610
lea esi, [esp + 0x50]
mov byte [esp + 0x128], 5
call fcn.00481d30
push edi
call fcn.0043a6d0
add esp, 4
test al, al
je 0x43307e
push 0x20
mov ecx, edi
call fcn.0043b600
add esp, 4
mov eax, edi
lea esi, [esp + 0x88]
call fcn.0042bc70
test eax, eax
je 0x433094
push edi
call fcn.0043a870
add esp, 4
test al, al
je 0x433049
push edi
call fcn.0043a990
add esp, 4
jmp 0x43304e
call fcn.0043a940
mov edx, fcn.00406830
test edx, edx
je 0x43307e
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
call fcn.00464cc0
push eax
push ebx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x74], esp
push edi
call fcn.004015d0
call fcn.00406830
add esp, 0x28
lea ecx, [esp + 0x38]
add ebx, 1
call fcn.00464cc0
cmp ebx, eax
jb 0x432fb0
jmp 0x433099
mov byte [esp + 0x13], 1
cmp dword [esp + 0x1c], 0
jbe 0x433118
push 0
lea ecx, [esp + 0xa8]
push ecx
call fcn.00458300
lea ecx, [esp + 0x6c]
mov byte [esp + 0x128], 7
call fcn.0045a870
test al, al
mov byte [esp + 0x128], 5
jne 0x43310b
lea edx, [esp + 0xa4]
push edx
call fcn.004583c0
lea esi, [esp + 0x88]
call fcn.00481d30
lea ecx, [esp + 0x6c]
call fcn.00401070
lea esi, [esp + 0x38]
call fcn.004994f0
lea ecx, [esp + 0x24]
call fcn.00401070
lea esi, [esp + 0x14]
call fcn.0043eaf0
jmp 0x433173
lea eax, [esp + 0xa4]
push eax
call fcn.004583c0
mov edi, dword [esp + 0x34]
call fcn.0043a940
cmp byte [esp + 0x13], 0
je 0x433138
lea ecx, [esp + 0x88]
push ecx
call fcn.0043a990
add esp, 4
lea esi, [esp + 0x88]
call fcn.00481d30
lea ecx, [esp + 0x6c]
call fcn.00401070
lea esi, [esp + 0x38]
call fcn.004994f0
lea ecx, [esp + 0x24]
call fcn.00401070
lea esi, [esp + 0x14]
call fcn.0043eaf0
mov al, 1
jmp 0x433175
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.004e7d6f
mov esp, ebp
pop ebp
ret