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

Disassembly:
push ebp
sub esp, 0x60
push 0x110
mov eax, 0x49941a
call fcn.00464aaa
mov dword [ebp + 0x54], ecx
xor edi, edi
inc edi
push edi
xor ebx, ebx
push 3
lea ecx, [ebp - 0x11c]
mov dword [ebp + 0x5c], ebx
mov byte [ebp + 0x5b], bl
call fcn.0042e1db
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0044bf64
mov esi, str.Global.db
push esi
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 1
call fcn.0042dd7e
pop ecx
pop ecx
push eax
call fcn.0042618d
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.004021e1
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042cd46
cmp dword [eax + 0x18], 8
jb 0x44c0c0
mov eax, dword [eax + 4]
jmp 0x44c0c3
add eax, 4
push ebx
push ebx
push 3
push ebx
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push edi
lea ecx, [ebp]
mov dword [ebp + 0x5c], eax
call fcn.004021e1
cmp dword [ebp + 0x5c], 0xffffffff
jne 0x44c2b7
push edi
push 3
lea ecx, [ebp - 0x94]
call fcn.0042e1db
mov ecx, dword [ebp + 0x54]
push edi
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.0044bf64
push esi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.0042dd7e
pop ecx
pop ecx
push eax
call fcn.0042618d
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.004021e1
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042cd46
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
mov dword [ebp + 0x5c], edi
jb 0x44c156
mov eax, dword [eax + 4]
jmp 0x44c159
add eax, 4
push eax
call fcn.00413035
test al, al
pop ecx
jne 0x44c197
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042cd46
cmp dword [eax + 0x18], 8
mov dword [ebp + 0x5c], 3
jb 0x44c185
mov eax, dword [eax + 4]
jmp 0x44c188
add eax, 4
push eax
call fcn.00413035
test al, al
pop ecx
mov byte [ebp + 0x63], 1
jne 0x44c19a
mov byte [ebp + 0x63], bl
test byte [ebp + 0x5c], 2
je 0x44c1ae
and dword [ebp + 0x5c], 0xfffffffd
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004021e1
test byte [ebp + 0x5c], 1
mov dword [ebp - 4], 2
je 0x44c1c5
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004021e1
cmp byte [ebp + 0x63], bl
je 0x44c267
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042cd46
mov esi, eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0042cd46
cmp dword [esi + 0x18], 8
jb 0x44c1fd
mov esi, dword [esi + 4]
jmp 0x44c200
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x44c20b
mov eax, dword [eax + 4]
jmp 0x44c20e
add eax, 4
push ebx
push esi
push eax
call fcn.0042af53
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp + 0x63], al
call fcn.004021e1
push ebx
push edi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.004021e1
cmp byte [ebp + 0x63], bl
je 0x44c267
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042cd46
cmp dword [eax + 0x18], 8
jb 0x44c253
mov eax, dword [eax + 4]
jmp 0x44c256
add eax, 4
push eax
call fcn.00437aea
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004021e1
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042cd46
cmp dword [eax + 0x18], 8
jb 0x44c281
mov eax, dword [eax + 4]
jmp 0x44c284
add eax, 4
push ebx
push ebx
push 3
push ebx
push edi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x5c], eax
call fcn.004021e1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0042c38c
cmp dword [ebp + 0x5c], 0xffffffff
je 0x44c2f0
push ebx
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jne 0x44c2e7
push ebx
lea eax, [ebp + 0x6c]
push eax
push 0x10
push dword [ebp + 0x6c]
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c2e7
cmp dword [ebp + 0x6c], 0x10
jne 0x44c2e7
mov byte [ebp + 0x5b], 1
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x11c]
call fcn.0042c38c
mov al, byte [ebp + 0x5b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x64
leave
ret 4