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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x53ba20]
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 - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xb0], eax
xor ebx, ebx
mov eax, dword [ebp + 0x40]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0xac], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0x48]
mov edi, dword [ebp + 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0x14
mov dword [ebp - 0x40], ebx
movlpd qword [ebp - 0xb8], xmm0
call fcn.00432aa0
test edi, edi
je 0x432554
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 dword [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x432687
add ecx, 4
add edx, 4
sub esi, 4
jae 0x432580
push dword [ebp - 0x5c]
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x10c], 0x28
lea ecx, [ebp - 0x40]
mov dword [ebp - 0xe8], 0xc
mov dword [ebp - 0x108], 1
mov dword [ebp - 0x104], eax
call fcn.00404a20
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4325de
mov eax, dword [eax]
jmp 0x4325e0
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 0x43263d
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x20]
call fcn.004c8c9a
add esp, 4
mov ebx, eax
lea eax, [ebp - 0xe4]
push 0
push eax
push dword [ebp - 0x20]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432664
push ebx
call fcn.004c8c7f
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00404d60
test esi, esi
je 0x43267e
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c3287
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov dword [ecx + 4], ebx
mov dword [ecx], eax
lea ecx, [ebp - 0x40]
call fcn.00404d60
lea ebx, [ebp - 0x10c]
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x44]
xor ecx, ecx
mov dword [ebp - 0xc4], eax
mov edx, 0x40
mov eax, dword [ebp + 0x24]
xorps xmm0, xmm0
test al, al
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xc8], 0x10
cmovne ecx, edx
mov dword [ebp - 0x90], 0
xor edx, edx
mov dword [ebp - 0x54], ecx
test al, al
mov dword [ebp - 0x88], ecx
lea eax, [ebp - 0xc8]
movlpd qword [ebp - 0x78], xmm0
mov ecx, 0x1000
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x48]
cmovne ecx, edx
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x98], 0x34
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x7c], 1
cmp eax, 0xffffffff
je 0x432753
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
movlpd qword [ebp - 0xd4], xmm0
mov dword [ebp - 0xcc], edx
mov dword [ebp - 0xe0], 0x18
mov dword [ebp - 0xd8], 1
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
push eax
push 0
call dword [0x5408a0]
mov esi, eax
mov bl, 1
test esi, esi
je 0x4329f1
cmp esi, 0x800b010c
je 0x4329f1
cmp esi, 0x800b0101
je 0x4329f1
cmp esi, 0x800b0109
je 0x4329f1
cmp esi, 0x80096010
je 0x4329f1
cmp dword [ebp - 0x50], 0
je 0x432876
lea eax, [ebp - 0x98]
mov dword [ebp - 0x7c], 2
push eax
push 0x534a48
push 0
call dword [0x5408a0]
mov eax, dword [ebp - 0x54]
xor ecx, ecx
cmp dword [ebp - 0x48], 0xffffffff
xorps xmm0, xmm0
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0xc8]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0xe0]
cmove eax, ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x38]
movlpd qword [ebp - 0x78], xmm0
push eax
push ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x98], 0x34
mov dword [ebp - 0x8c], 2
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x7c], 1
call dword [0x5408a0]
test eax, eax
jne 0x432876
test edi, edi
je 0x4329e4
push dword [ebp - 0x44]
call fcn.004c8c20
mov dword [edi], eax
add esp, 4
xor eax, eax
cmp esi, 0xc000a000
cmovne esi, eax
jmp 0x432a02
cmp dword [0x5408c0], 0
je 0x4328c0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x40], eax
cmp eax, 0xffffffff
je 0x4328c0
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [0x5408bc]
push dword [ebp - 0x40]
test eax, eax
jne 0x4328e3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4328cd
mov dword [eax], 0
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x432a4c
mov dword [eax], 0
jmp 0x432a4c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x7c], 2
push eax
push 0x534a48
push 0
call dword [0x5408a0]
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x39], 0
test ecx, ecx
je 0x43293b
lea eax, [ebp - 0x39]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x98]
push edi
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x44]
push dword [ecx]
call fcn.00432080
mov bl, byte [ebp - 0x39]
add esp, 0x24
jmp 0x432967
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x43298e
push dword [ebp - 0x48]
push edi
push eax
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 0x24]
push eax
push dword [ebp - 0x44]
call fcn.004322e0
add esp, 0x20
mov byte [ebp - 0x39], bl
test eax, eax
je 0x4329e4
test bl, bl
je 0x43298e
lea eax, [ebp - 0x98]
mov dword [ebp - 0x7c], 2
push eax
push 0x534a48
push 0
call dword [0x5408a0]
mov byte [ebp - 0x39], 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
call dword [0x5408c0]
lea eax, [ebp - 0x39]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x98]
push edi
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0x24]
push dword [ebp - 0x44]
push dword [ebp - 0x60]
call fcn.00432080
mov ecx, dword [ebp - 0x60]
add esp, 0x24
mov dword [ebp - 0x58], eax
test ecx, ecx
je 0x4329d9
push 0
push ecx
call dword [0x5408ac]
mov eax, dword [ebp - 0x58]
mov bl, byte [ebp - 0x39]
test eax, eax
jne 0x4328c0
xor eax, eax
cmp esi, 0xc000a000
cmovne esi, eax
jmp 0x432a02
test edi, edi
je 0x432a02
push dword [ebp - 0x44]
call fcn.004c8c20
add esp, 4
mov dword [edi], eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x432a29
push dword [ebp - 0xa0]
push dword [ebp - 0xa4]
push eax
push dword [ebp - 0xa8]
push 0
push dword [ebp - 0x78]
call fcn.00431e50
add esp, 0x18
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x432a4c
push dword [ebp - 0xac]
push dword [ebp - 0xb0]
push eax
push 0
push 1
push dword [ebp - 0x78]
call fcn.00431e50
add esp, 0x18
test bl, bl
je 0x432a6b
lea eax, [ebp - 0x98]
mov dword [ebp - 0x7c], 2
push eax
push 0x534a48
push 0
call dword [0x5408a0]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x432a7e
push eax
call fcn.004c8c7f
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c3287
mov esp, ebp
pop ebp
ret