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

Disassembly:
push ebp
lea ebp, [esp - 0x1c0]
sub esp, 0x1c0
push 0xffffffffffffffff
push 0x4a1c28
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4eed38]
xor eax, ebp
mov dword [ebp + 0x1bc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x1c8]
mov ebx, dword [ebp + 0x1cc]
mov esi, dword [ebp + 0x1d0]
mov dword [ebp - 0x24], ebx
test edi, edi
je 0x432e99
lea ecx, [ebp - 0x48]
call fcn.0045bc62
push 0
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.0045bcfa
test eax, eax
je 0x432e8a
mov ecx, ebx
call fcn.0042d990
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push edi
mov dword [ebp - 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x28], ebx
cmp ebx, 0xffffffff
je 0x432e8a
test esi, esi
je 0x432b8d
push esi
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x432e8a
cmp edi, 0xffffffff
je 0x432e8a
push edi
call fcn.00451e0a
add esp, 4
mov esi, eax
push 0
lea eax, [ebp - 0x2c]
push eax
push edi
push esi
push ebx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x4b0fb0]
mov edx, dword [0x4b0fac]
mov ecx, dword [str.LCDTABLEBEGIN]
mov dword [ebp + 0x1a4], eax
mov eax, dword [str.LCDTABLEEND]
mov dword [ebp + 0x1a0], edx
mov dx, word [0x4b0fb8]
mov dword [ebp + 0x19c], ecx
mov ecx, dword [0x4b0fb4]
mov dword [ebp + 0x18c], eax
mov eax, dword [0x4b0fa4]
mov word [ebp + 0x1ac], dx
mov edx, dword [0x4b0fa0]
mov dword [ebp + 0x1a8], ecx
mov ecx, dword [0x4b0f9c]
mov dword [ebp + 0x198], eax
mov al, byte [0x4b0f94]
mov dword [ebp + 0x194], edx
mov edx, dword [0x4b0f90]
mov dword [ebp + 0x190], ecx
mov ecx, dword [str.LCDNAME_]
mov byte [ebp + 0x1b8], al
lea eax, [ebp + 0x19c]
mov dword [ebp + 0x1b4], edx
mov dword [ebp + 0x1b0], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432c64
push 0
sub eax, edx
push 0
lea eax, [ebp + eax + 0x19b]
push eax
lea ecx, [ebp + 0x19c]
push ecx
add edi, esi
push edi
push esi
call fcn.00416b20
push 0x108
lea edx, [ebp + 4]
push 0
push edx
mov ebx, eax
mov dword [ebp], 0
call fcn.00482280
push 0x7f
lea eax, [ebp + 0x10d]
push 0
push eax
mov byte [ebp + 0x10c], 0
call fcn.00482280
add esp, 0x30
cmp ebx, edi
jae 0x432e63
lea eax, [ebp + 0x18c]
mov dword [ebp - 0x10], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432cd0
push 0
sub eax, edx
push 0
lea eax, [ebp + eax + 0x18b]
push eax
lea ecx, [ebp + 0x18c]
push ecx
push edi
push ebx
call fcn.00416b20
mov esi, eax
add esp, 0x18
cmp esi, edi
jae 0x432e60
xor eax, eax
mov word [ebp - 0x1b], ax
mov byte [ebp - 0x19], al
lea eax, [ebp + 0x19c]
mov dword [ebp - 0x14], esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432d15
mov edi, dword [ebp - 0x10]
sub eax, edx
mov dx, word [eax + edi]
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push 0x4b0f88
push ecx
mov word [ebp - 0x1c], dx
mov dword [ebp - 0x10], 0
call fcn.00485560
mov ebx, dword [ebp - 0x10]
add esp, 0xc
test ebx, ebx
jle 0x432e60
lea eax, [ebp + 0x19c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432d60
sub eax, edx
lea edi, [eax + edi + 2]
cmp edi, esi
jae 0x432e60
lea edx, [ebp + 0x1b0]
dec edx
mov dword [ebp - 0x30], edx
jmp 0x432d84
mov edx, dword [ebp - 0x30]
lea eax, [ebp + 0x1b0]
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x432d90
push 0
sub eax, esi
add eax, edx
push 0
push eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp + 0x1b0]
push edx
push eax
push edi
call fcn.00416b20
mov esi, eax
add esp, 0x18
lea edi, [ebx + esi]
cmp esi, dword [ebp - 0x14]
jae 0x432e57
movzx edx, byte [edi]
push 0x80
mov ecx, edi
sub ecx, dword [ebp - 0x18]
lea eax, [ebp + 0x10c]
push 0
push eax
mov dword [ebp - 0x20], 1
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ebx
mov dword [ebp], edx
call fcn.00482280
push ebx
lea ecx, [ebp + 0x10c]
push esi
push ecx
call fcn.00483200
add esp, 0x18
lea edx, [ebp + 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x432e1a
xor eax, eax
jmp 0x432e34
lea eax, [esi + esi]
call fcn.00482300
mov eax, esp
push 3
push esi
lea ecx, [ebp + 0x10c]
push ecx
push eax
call fcn.004010d0
lea edx, [ebp + 0xc]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x432e37
mov ecx, dword [ebp - 0x24]
lea edx, [ebp]
push edx
call fcn.004328b0
mov ebx, dword [ebp - 0x10]
cmp edi, dword [ebp - 0x14]
jb 0x432d81
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00451dff
add esp, 4
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.0045bc8b
mov eax, dword [ebp - 0x20]
jmp 0x432e9b
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0xffffffff
call fcn.0045bc8b
xor eax, eax
lea esp, [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1bc]
xor ecx, ebp
call fcn.004820da
add ebp, 0x1c0
mov esp, ebp
pop ebp
ret 0xc