Function at 0x432a00
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1e18
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x51452c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x44], eax
cmp dword [eax], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], esi
je 0x432c95
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x432c95
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432c95
push dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, dword [0x516e8c]
mov esi, eax
test cl, 1
jne 0x432ab8
or ecx, 1
mov dword [0x516e8c], ecx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x4da0b0
mov dword [0x516e80], 0x4dd6f4
mov dword [0x516e84], eax
mov byte [0x516e88], 0
call fcn.00466587
mov ecx, dword [0x516e8c]
add esp, 4
test cl, 2
jne 0x432b16
or ecx, 2
mov dword [0x516e90], 0x4dd70c
xor eax, eax
mov dword [0x516e8c], ecx
push 0x4da0e0
mov dword [0x516e94], 0x516e80
mov dword [0x516ea4], 2
mov dword [0x516e9c], 0
mov dword [0x516ea0], 0
mov dword [0x516ea8], eax
mov dword [0x516e98], 0x516e90
call fcn.00466587
add esp, 4
mov eax, dword [0x516e90]
mov ecx, 0x516e90
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0
test esi, esi
je 0x432b4c
test esi, 0xffff0000
jne 0x432b4c
movzx eax, si
lea ecx, [ebp - 0x38]
push eax
call fcn.0040d7f0
jmp 0x432b55
push esi
lea ecx, [ebp - 0x38]
call fcn.0041c840
mov esi, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
test esi, esi
jne 0x432b68
mov dword [ebp - 0x40], esi
jmp 0x432bab
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x432b70
sub ecx, edx
sar ecx, 1
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x432b93
mov dword [ebp - 0x40], 0
jmp 0x432bab
add edi, edi
mov eax, edi
call fcn.00466a90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00431690
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
push 0x4e3168
push dword [eax]
call fcn.004abb3c
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x432c24
push 2
push 0
push edi
call fcn.004ac287
push edi
call fcn.004ac8af
push 0
push 0
push edi
mov dword [ebp - 0x38], eax
call fcn.004ac287
push dword [ebp - 0x38]
call fcn.0049c099
mov edi, eax
add esp, 0x20
test edi, edi
je 0x432c24
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push 1
push edi
call fcn.004abdec
add esp, 0x10
cmp eax, dword [ebp - 0x38]
je 0x432c42
push edi
call fcn.004873c8
push dword [ebp - 0x3c]
call fcn.004ab444
add esp, 8
push edi
call fcn.004873c8
add esp, 4
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x432c3e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
jmp 0x432c97
push dword [ebp - 0x3c]
call fcn.004ab444
push 9
push 8
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x40]
push dword [eax]
call fcn.00402020
add esp, 0x2c
test eax, eax
jne 0x432c1b
push dword [ebp - 0x38]
mov eax, dword [ebp - 0x44]
push edi
push dword [eax]
call fcn.00402060
add esp, 0xc
test eax, eax
jne 0x432c1b
push edi
call fcn.004873c8
add esp, 4
mov edi, 1
jmp 0x432c26
xor eax, eax
lea esp, [ebp - 0x50]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046659c
mov esp, ebp
pop ebp
ret 4