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

Disassembly:
mov eax, 0x107c
call fcn.00454e50
mov eax, dword [0x4c1bd8]
xor eax, esp
mov dword [esp + 0x1078], eax
mov eax, dword [esp + 0x1080]
mov ecx, dword [esp + 0x1084]
push ebp
push esi
xor ebp, ebp
push ebp
push 0x80
push 3
push ebp
push 7
push SysReAllocString
push eax
mov dword [esp + 0x30], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44f128
lea edx, [esp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
jne 0x44f141
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1078]
xor ecx, esp
call fcn.00454cc7
add esp, 0x107c
ret
push edi
mov edi, dword [esp + 0x1094]
cmp edi, ebp
je 0x44f192
mov edx, dword [esp + 0x109c]
cmp edx, ebp
jl 0x44f192
mov ecx, dword [esp + 0x1098]
jg 0x44f165
cmp ecx, ebp
jbe 0x44f192
cmp edx, dword [esp + 0x14]
ja 0x44f192
jb 0x44f171
cmp ecx, eax
jae 0x44f192
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1078]
xor ecx, esp
call fcn.00454cc7
add esp, 0x107c
ret
push ebx
lea eax, [esp + 0x20]
push ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.00452350
add esp, 8
cmp dword [esp + 0x18], ebp
ja 0x44f1b9
cmp dword [esp + 0x14], 0x200000
jbe 0x44f283
cmp edi, ebp
jne 0x44f283
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
lea ebp, [edi + 1]
lea esp, [esp]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x94]
push edx
push esi
call ebx
test eax, eax
je 0x44f27f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44f27f
push eax
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004523a0
add edi, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 0x100000
jb 0x44f1d0
push 2
push 0
push 0xfff00000
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x44f2e2
xor edi, edi
push 0
lea edx, [esp + 0x14]
push edx
push 0x1000
lea eax, [esp + 0x94]
push eax
push esi
call ebx
test eax, eax
je 0x44f27f
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44f27f
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004523a0
add edi, dword [esp + 0x1c]
add esp, 0xc
cmp edi, 0x100000
jb 0x44f238
jmp 0x44f2e2
xor ebp, ebp
jmp 0x44f2e2
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
lea eax, [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push ecx
push esi
call edi
test eax, eax
je 0x44f2e2
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x44f2dd
push eax
lea edx, [esp + 0x8c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004523a0
add esp, 0xc
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x1000
lea edx, [esp + 0x94]
push edx
push esi
call edi
test eax, eax
jne 0x44f2a3
jmp 0x44f2e2
mov ebp, 1
lea eax, [esp + 0x20]
push eax
call fcn.004524c0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
test ebp, ebp
je 0x44f178
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x7c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x80]
pop edi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1080]
pop esi
pop ebp
mov dword [eax + 0xc], edx
xor ecx, esp
mov eax, 1
call fcn.00454cc7
add esp, 0x107c
ret