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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x535a40]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
movups xmm0, xmmword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xd0], eax
xor ebx, ebx
mov eax, dword [ebp + 0x40]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0xcc], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x44]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], 0x14
mov dword [ebp - 0x60], ebx
movlpd qword [ebp - 0xe0], xmm0
call fcn.00432a50
test edi, edi
je 0x4324d7
mov dword [edi], ebx
mov dword [ebp - 0x28], 0x6078065b
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0x4b138f22
lea edx, [ebp - 0x28]
mov dword [ebp - 0x20], 0x765b9bbd
mov esi, 0xc
mov dword [ebp - 0x1c], 0x86f37627
nop
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x432601
add ecx, 4
add edx, 4
sub esi, 4
jae 0x432500
push dword [ebp - 0x7c]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x58], 0x20
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x3c], 0xc
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], eax
call fcn.00404a70
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x43254f
mov eax, dword [eax]
jmp 0x432551
xor eax, eax
push 0
push 0
push 3
push 0
push 7
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4325b7
lea eax, [ebp - 0xd8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0xd8]
call fcn.004c8d7a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x10c]
push 0
push eax
push dword [ebp - 0xd8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4325de
push ebx
call fcn.004c8d5f
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x60]
mov esi, eax
call fcn.00404db0
test esi, esi
je 0x4325fb
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c34b7
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0xd8]
mov dword [ecx + 4], ebx
mov dword [ecx], eax
lea ecx, [ebp - 0x60]
call fcn.00404db0
lea ebx, [ebp - 0x58]
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x64]
xor ecx, ecx
mov dword [ebp - 0xec], eax
mov edx, 0x40
mov eax, dword [ebp + 0x24]
xorps xmm0, xmm0
test al, al
movlpd qword [ebp - 0xe8], xmm0
mov dword [ebp - 0xf0], 0x10
cmovne ecx, edx
mov dword [ebp - 0xb0], 0
xor edx, edx
mov dword [ebp - 0x74], ecx
test al, al
mov dword [ebp - 0xa8], ecx
lea eax, [ebp - 0xf0]
movlpd qword [ebp - 0x98], xmm0
mov ecx, 0x1000
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x68]
cmovne ecx, edx
movlpd qword [ebp - 0x8c], xmm0
mov dword [ebp - 0xb8], 0x34
mov dword [ebp - 0xac], 2
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0x9c], 1
cmp eax, 0xffffffff
je 0x4326df
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x108]
movlpd qword [ebp - 0xfc], xmm0
mov dword [ebp - 0xf4], edx
mov dword [ebp - 0x108], 0x18
mov dword [ebp - 0x100], 1
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
call dword [0x53a870]
mov esi, eax
mov bl, 1
test esi, esi
je 0x43299b
cmp esi, 0x800b010c
je 0x43299b
cmp esi, 0x800b0101
je 0x43299b
cmp esi, 0x800b0109
je 0x43299b
cmp esi, 0x80096010
je 0x43299b
cmp dword [ebp - 0x70], 0
je 0x432817
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x9c], 2
push eax
push 0x52ea48
push 0
call dword [0x53a870]
mov eax, dword [ebp - 0x74]
xor ecx, ecx
cmp dword [ebp - 0x68], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x108]
cmove eax, ecx
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x38]
movlpd qword [ebp - 0x98], xmm0
push eax
push ecx
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xb8], 0x34
mov dword [ebp - 0xac], 2
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0x9c], 1
call dword [0x53a870]
test eax, eax
jne 0x432817
test edi, edi
je 0x43298e
push dword [ebp - 0x64]
call fcn.004c8d00
mov dword [edi], eax
add esp, 4
xor eax, eax
cmp esi, 0xc000a000
cmovne esi, eax
jmp 0x4329ac
cmp dword [0x53a890], 0
je 0x432861
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x60], eax
cmp eax, 0xffffffff
je 0x432861
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
push eax
call dword [0x53a88c]
push dword [ebp - 0x60]
test eax, eax
jne 0x432887
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x43286e
mov dword [eax], 0
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4329ff
mov dword [eax], 0
jmp 0x4329ff
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x9c], 2
push eax
push 0x52ea48
push 0
call dword [0x53a870]
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 0x59], 0
test ecx, ecx
je 0x4328e2
lea eax, [ebp - 0x59]
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0xb8]
push edi
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x64]
push dword [ecx]
call fcn.00431ff0
mov bl, byte [ebp - 0x59]
add esp, 0x24
jmp 0x43290e
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x432938
push dword [ebp - 0x68]
push edi
push eax
lea eax, [ebp - 0xb8]
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x64]
call fcn.00432260
add esp, 0x20
mov byte [ebp - 0x59], bl
test eax, eax
je 0x43298e
test bl, bl
je 0x432938
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x9c], 2
push eax
push 0x52ea48
push 0
call dword [0x53a870]
mov byte [ebp - 0x59], 0
push 0
push 0
lea eax, [ebp - 0x80]
push eax
call dword [0x53a890]
lea eax, [ebp - 0x59]
push eax
push dword [ebp - 0x68]
lea eax, [ebp - 0xb8]
push edi
push eax
push dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x24]
push dword [ebp - 0x64]
push dword [ebp - 0x80]
call fcn.00431ff0
mov ecx, dword [ebp - 0x80]
add esp, 0x24
mov dword [ebp - 0x78], eax
test ecx, ecx
je 0x432983
push 0
push ecx
call dword [0x53a87c]
mov eax, dword [ebp - 0x78]
mov bl, byte [ebp - 0x59]
test eax, eax
jne 0x432861
xor eax, eax
cmp esi, 0xc000a000
cmovne esi, eax
jmp 0x4329ac
test edi, edi
je 0x4329ac
push dword [ebp - 0x64]
call fcn.004c8d00
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4329d6
push dword [ebp - 0xc0]
push dword [ebp - 0xc4]
push eax
push dword [ebp - 0xc8]
push 0
push dword [ebp - 0x98]
call fcn.00431dc0
add esp, 0x18
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x4329ff
push dword [ebp - 0xcc]
push dword [ebp - 0xd0]
push eax
push 0
push 1
push dword [ebp - 0x98]
call fcn.00431dc0
add esp, 0x18
test bl, bl
je 0x432a21
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x9c], 2
push eax
push 0x52ea48
push 0
call dword [0x53a870]
mov eax, dword [ebp - 0xdc]
test eax, eax
je 0x432a34
push eax
call fcn.004c8d5f
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c34b7
mov esp, ebp
pop ebp
ret