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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x5159c4]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 8], 0
push 0
push 0x80
push 3
push 0
push 7
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x44c656
xor eax, eax
jmp 0x44c8e8
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x44c67e
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44c8e8
cmp dword [ebp + 0x10], 0
je 0x44c6b5
cmp dword [ebp + 0x18], 0
jl 0x44c6b5
jg 0x44c692
cmp dword [ebp + 0x14], 0
jbe 0x44c6b5
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0xc]
ja 0x44c6b5
jb 0x44c6a4
mov edx, dword [ebp + 0x14]
cmp edx, dword [ebp - 0x10]
jae 0x44c6b5
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x44c8e8
mov dword [ebp - 0x84], 0x100000
mov dword [ebp - 0x88], 0x200000
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 4]
call fcn.0044c920
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.00476650
add esp, 8
cmp dword [ebp - 0xc], 0
ja 0x44c6f8
cmp dword [ebp - 0x10], 0x200000
jbe 0x44c702
cmp dword [ebp + 0x10], 0
je 0x44c789
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 4]
call fcn.0044c940
movzx eax, al
test eax, eax
je 0x44c784
push 0
lea ecx, [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c77c
mov edx, dword [ebp - 0x8c]
xor eax, eax
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0xa0]
cmp ecx, dword [ebp - 0x10]
jne 0x44c77c
mov edx, dword [ebp - 0x9c]
cmp edx, dword [ebp - 0xc]
jne 0x44c77c
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.004766b0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0044c9a0
jmp 0x44c888
push 0x100000
lea ecx, [ebp - 4]
call fcn.0044c940
movzx eax, al
test eax, eax
je 0x44c7ef
push 0
lea ecx, [ebp - 0x8c]
push ecx
push 0x100000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c7e7
cmp dword [ebp - 0x8c], 0x100000
jne 0x44c7e7
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 0x8c]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x80]
push eax
call fcn.004766b0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0044c9a0
mov dword [ebp - 0x90], 0x100000
cmp dword [ebp - 8], 0
je 0x44c888
push 2
push 0
push 0xfff00000
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x44c888
mov dword [ebp - 8], 0
push 0x100000
lea ecx, [ebp - 4]
call fcn.0044c940
movzx edx, al
test edx, edx
je 0x44c888
push 0
lea eax, [ebp - 0x8c]
push eax
push 0x100000
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c880
cmp dword [ebp - 0x8c], 0x100000
jne 0x44c880
mov dword [ebp - 8], 1
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.004766b0
add esp, 0xc
lea ecx, [ebp - 4]
call fcn.0044c9a0
lea eax, [ebp - 0x80]
push eax
call fcn.004776e0
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], 0
jne 0x44c8be
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 4]
call fcn.0044c900
mov eax, dword [ebp - 0x94]
jmp 0x44c8e8
push 0x10
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004c84d0
add esp, 0xc
mov dword [ebp - 0x98], 1
lea ecx, [ebp - 4]
call fcn.0044c900
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004c62c9
mov esp, ebp
pop ebp
ret