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

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebp
xor ebp, ebp
push edi
push ebp
push ebp
push 3
push ebp
push 1
push SysReAllocString
mov dword [esp + 0x28], ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x446201
push ebx
push esi
push ebp
push edi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
push esi
call fcn.00455403
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x1c], ebx
je 0x445f41
lea ecx, [esp + 0x14]
push ebp
push ecx
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp ebp, edi
je 0x4461f5
cmp esi, edi
jbe 0x4461f5
cmp esi, dword [esp + 0x14]
jne 0x4461f5
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push edx
push eax
push esi
push ebx
mov dword [esp + 0x20], edi
call fcn.00446210
cmp eax, edi
je 0x4461ec
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], edi
cmp ecx, edi
jbe 0x4461e7
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
sub edx, ecx
mov eax, 0x8cf008d
imul edx
sar edx, 7
mov eax, edx
mov ebp, ecx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4460e6
mov esi, dword [ebx + 4]
test esi, esi
je 0x445fe4
mov edx, ecx
mov eax, 0x8cf008d
sub edx, esi
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
mov edi, edx
ja 0x445fe9
mov edi, 1
test esi, esi
jne 0x445ff1
xor edx, edx
jmp 0x446004
sub ecx, esi
mov eax, 0x8cf008d
imul ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [edx + edi]
test ecx, ecx
mov dword [esp + 0x28], ecx
jge 0x446011
xor ecx, ecx
mov eax, ecx
shl eax, 5
sub eax, ecx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
shl edx, 3
push edx
call fcn.00455403
mov edi, dword [ebx + 4]
add esp, 4
cmp edi, ebp
mov dword [esp + 0x18], eax
mov esi, eax
je 0x446051
push edi
push esi
call fcn.00446940
add edi, 0xe88
add esp, 8
add esi, 0xe88
cmp edi, ebp
jne 0x446037
mov eax, dword [esp + 0x24]
mov ecx, ebx
push eax
push 1
push esi
call fcn.00446900
mov ecx, dword [ebx + 8]
add esi, 0xe88
push esi
push ecx
push ebp
mov ecx, ebx
call fcn.004468c0
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 4]
push edx
push eax
mov ecx, ebx
call fcn.004115c0
mov ecx, dword [ebx + 4]
push ecx
call fcn.004535f0
mov ecx, dword [esp + 0x2c]
add esp, 4
mov eax, ecx
shl eax, 5
sub eax, ecx
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
test eax, eax
jne 0x4460b4
xor edx, edx
jmp 0x4460ca
mov edx, dword [ebx + 8]
sub edx, eax
mov eax, 0x8cf008d
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
inc edx
mov dword [ebx + 4], ecx
mov eax, edx
shl eax, 5
sub eax, edx
lea eax, [eax + eax*2]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*8]
mov dword [ebx + 8], eax
jmp 0x4461c0
mov edx, ecx
mov eax, 0x8cf008d
sub edx, ebp
imul edx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x44615d
lea edx, [ebp + 0xe88]
push edx
push ecx
push ebp
mov ecx, ebx
call fcn.004468c0
mov esi, dword [ebx + 8]
mov eax, dword [esp + 0x24]
mov ecx, esi
push eax
sub ecx, ebp
mov eax, 0x8cf008d
imul ecx
sar edx, 7
mov ecx, edx
mov eax, 1
shr ecx, 0x1f
add edx, ecx
mov ecx, ebx
sub eax, edx
push eax
push esi
call fcn.00446900
mov eax, dword [ebx + 8]
cmp ebp, eax
je 0x4461b9
mov esi, dword [esp + 0x24]
mov edi, ebp
add ebp, 0xe88
mov ecx, 0x3a2
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x446144
jmp 0x4461b9
lea eax, [ecx - 0xe88]
push ecx
push ecx
push eax
mov ecx, ebx
mov dword [esp + 0x34], eax
call fcn.004468c0
mov edx, dword [ebx + 8]
lea eax, [edx - 0xe88]
cmp ebp, eax
je 0x446198
sub eax, 0xe88
sub edx, 0xe88
mov ecx, 0x3a2
mov esi, eax
mov edi, edx
cmp eax, ebp
rep movsd dword es:[edi], dword [esi]
jne 0x44617e
lea eax, [ebp + 0xe88]
cmp ebp, eax
je 0x4461b9
mov esi, dword [esp + 0x24]
mov edi, ebp
add ebp, 0xe88
mov ecx, 0x3a2
cmp ebp, eax
rep movsd dword es:[edi], dword [esi]
jne 0x4461a2
add dword [ebx + 8], 0xe88
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
inc eax
add edx, 0xe88
cmp eax, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], edx
jb 0x445f9d
mov ebx, dword [esp + 0x1c]
mov ebp, 1
push ebx
call fcn.004535f0
add esp, 4
pop esi
pop ebx
mov eax, ebp
pop edi
pop ebp
add esp, 0x10
ret 0xc
pop edi
xor eax, eax
pop ebp
add esp, 0x10
ret 0xc