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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63a59b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x6eed24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
lea ecx, [eax*2 + 2]
mov eax, 0x649aa0
mov dword [ebp - 0x1c], ecx
test esi, esi
je 0x43de2a
mov eax, esi
push ecx
push eax
lea ecx, [edi + 0x424]
call fcn.004445c0
test eax, eax
jle 0x43de6b
test esi, esi
jne 0x43de44
mov esi, 0x649aa0
push dword [ebp - 0x1c]
push esi
lea esi, [edi + 0x424]
mov ecx, esi
call fcn.004445c0
test eax, eax
js 0x43de71
lea ecx, [eax + eax*2]
mov eax, dword [esi]
cmp dword [eax + ecx*4 + 8], 0
jne 0x43e19a
jmp 0x43de71
lea esi, [edi + 0x424]
mov eax, dword [edi + 0x300]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
test eax, eax
jne 0x43de95
mov eax, 0x649aa0
push dword [edi + 0x304]
lea ecx, [ebp - 0x28]
push eax
call fcn.00403940
mov eax, dword [ebx]
mov dword [ebp - 4], 0
test eax, eax
jne 0x43deb6
mov eax, 0x649aa0
push dword [ebx + 4]
lea ecx, [ebp - 0x28]
push eax
call fcn.004031a0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x1c], 0
lea ecx, [eax*2 + 2]
mov eax, dword [ebx]
test eax, eax
jne 0x43dede
mov eax, 0x649aa0
lea edx, [ebp - 0x1c]
push edx
push ecx
push eax
mov ecx, esi
call fcn.004430e0
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp - 0x28]
je 0x43e137
mov dword [ebp - 0x1c], 0
mov eax, 0x649aa0
test edi, edi
je 0x43df0a
mov eax, edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, 0xffffffff
je 0x43dfab
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x43dfab
push eax
call fcn.004b28b8
add esp, 4
mov dword [ebp + 0x10], 0
mov esi, eax
lea eax, [ebp + 0x10]
push 0
push eax
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43df9f
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
lea ecx, [ecx]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x43df99
push eax
push esi
push 0
call fcn.0044ef20
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x10]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43df70
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp + 8]
push esi
call fcn.004b28c1
mov esi, dword [ebp - 0x14]
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
cmp dword [esi + 0x3ec], 0
je 0x43e13a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43dfdc
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x43e13a
test ecx, ecx
je 0x43e13a
mov eax, dword [ebx + 4]
lea ecx, [eax*2 + 2]
mov eax, dword [ebx]
test eax, eax
jne 0x43dff1
mov eax, 0x649aa0
push ecx
push eax
lea ecx, [esi + 0x424]
call fcn.004445c0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x424]
mov dword [eax + ecx*4 + 8], 0
mov eax, dword [esi + 0x130]
mov byte [ebp - 4], 1
test eax, eax
jne 0x43e037
mov eax, 0x649aa0
push dword [esi + 0x134]
lea ecx, [ebp - 0x34]
push eax
call fcn.00403940
mov eax, dword [ebx]
test eax, eax
jne 0x43e051
mov eax, 0x649aa0
push dword [ebx + 4]
lea ecx, [ebp - 0x34]
push eax
call fcn.004031a0
push 0x1c
call fcn.004463f0
mov esi, eax
add esp, 4
mov dword [ebp + 0x10], esi
test esi, esi
je 0x43e0c0
mov edx, dword [ebx]
test edx, edx
jne 0x43e07b
mov edx, 0x649aa0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3ec]
mov dword [esi + 4], 0
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
lea ecx, [esi + 0x10]
mov dword [esi], 0x65567c
push 0xffffffffffffffff
push edx
mov byte [ebp - 4], 3
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.00403940
jmp 0x43e0c2
xor esi, esi
mov byte [ebp - 4], 4
mov dword [ebp + 8], esi
test esi, esi
je 0x43e0d6
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x34]
mov byte [ebp - 4], 5
test esi, esi
je 0x43e116
mov edx, dword [ebp - 0x10]
mov eax, 0x649aa0
test edi, edi
je 0x43e0ef
mov eax, edi
mov ecx, 0x649aa0
test ebx, ebx
je 0x43e0fa
mov ecx, ebx
push 0
push 0
push 1
lea esi, [ebp + 8]
push esi
push 0
push eax
push ecx
lea ecx, [edx + 0x340]
call fcn.00408590
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 6
test esi, esi
je 0x43e124
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov byte [ebp - 4], 7
test ebx, ebx
je 0x43e186
push ebx
call fcn.00446420
add esp, 4
jmp 0x43e186
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 0x41c]
mov eax, 0x649aa0
test edi, edi
je 0x43e14b
mov eax, edi
push 0x8010
push ecx
push ecx
push 1
push eax
push 0
call dword [sym.imp.USER32.dll_LoadImageW]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 4]
lea ecx, [eax*2 + 2]
mov eax, dword [ebx]
test eax, eax
jne 0x43e175
mov eax, 0x649aa0
lea edx, [ebp + 8]
push edx
push ecx
push eax
lea ecx, [esi + 0x424]
call fcn.004430e0
mov dword [ebp - 4], 8
test edi, edi
je 0x43e19a
push edi
call fcn.00446420
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc