Function at 0x44fbe0
Capabilities:
Get file size

Disassembly:
mov eax, 0x6089f8
call fcn.00465b38
sub esp, 0x38
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
mov eax, dword [esi + 0x78]
push 3
push edi
push 7
push SysReAllocStringLen
push eax
mov dword [ebp - 0x2c], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x1c], eax
je 0x44fd91
push ebx
mov ecx, esi
call fcn.0044cf15
cmp eax, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], edi
jle 0x44fd7f
mov dword [ebp - 0x18], edi
xor ebx, ebx
jmp 0x44fc37
xor edi, edi
push dword [esi + 0x74]
lea ecx, [ebp - 0x10]
call fcn.00480200
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], edi
lea eax, [eax + ecx*4]
lea ecx, [ebp - 0x10]
push eax
call fcn.00481710
mov eax, dword [esi + 0x1c]
lea ecx, [ebp - 0x10]
lea eax, [eax + ebx + 0x30]
push eax
call fcn.004816b0
mov dword [ebp - 0x34], edi
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
and dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], eax
xor eax, eax
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x18]
add eax, edi
mov edx, dword [eax]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + ebx + 0x28]
add ecx, edx
mov eax, dword [eax + ebx + 0x2c]
adc eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x30]
jg 0x44fd73
jl 0x44fcc1
cmp ecx, dword [ebp - 0x34]
ja 0x44fd73
lea eax, [ebp - 0x38]
push 0
push eax
push edx
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [esi + 8]
push 0x10
lea eax, [edi + eax + 8]
push eax
push dword [ebp - 0x10]
call fcn.004ec870
xor ecx, ecx
xor eax, eax
lea edi, [ebp - 0x40]
mov dword [ebp - 0x44], ecx
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x20], ecx
push eax
push ecx
lea eax, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
call fcn.004e5be0
add esp, 0x28
test eax, eax
je 0x44fd47
mov eax, dword [esi + 8]
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
mov dword [edi + eax + 0x24], ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x24]
mov dword [edi + eax + 0x28], ecx
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x44]
mov dword [edi + eax + 0x2c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edi + eax + 0x30], ecx
mov eax, dword [esi + 8]
mov dword [edi + eax + 0x18], 1
jmp 0x44fd4a
mov edi, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00480a70
inc dword [ebp - 0x14]
add ebx, 0x120
mov eax, dword [ebp - 0x14]
add edi, 0x34
cmp eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], edi
jl 0x44fc35
jmp 0x44fd7f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00480a70
mov eax, dword [ebp - 0x28]
pop ebx
cmp dword [ebp - 0x14], eax
jne 0x44fd9f
mov dword [ebp - 0x2c], 1
jmp 0x44fd9f
push 0xea4
push 3
call fcn.00449cf8
pop ecx
pop ecx
cmp dword [ebp - 0x1c], 0xffffffff
pop edi
pop esi
je 0x44fdb0
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x2c]
mov dword fs:[0], ecx
leave
ret