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

Disassembly:
push ebp
sub esp, 0x60
push 0x110
mov eax, 0x4991d4
call fcn.004648f7
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.0042de92
mov ecx, dword [ebp + 0x54]
push ebx
lea eax, [ebp]
push eax
mov dword [ebp - 4], ebx
call fcn.0044be28
mov esi, str.Global.db
push esi
push eax
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 1
call fcn.0042da35
pop ecx
pop ecx
push eax
call fcn.00425e0c
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.004021c5
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
jb 0x44bf9f
mov eax, dword [eax + 4]
jmp 0x44bfa2
add eax, 4
push ebx
push ebx
push 3
push ebx
push edi
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push edi
lea ecx, [ebp]
mov dword [ebp + 0x5c], eax
call fcn.004021c5
cmp dword [ebp + 0x5c], 0xffffffff
jne 0x44c196
push edi
push 3
lea ecx, [ebp - 0x94]
call fcn.0042de92
mov ecx, dword [ebp + 0x54]
push edi
lea eax, [ebp + 0x1c]
push eax
mov byte [ebp - 4], 2
call fcn.0044be28
push esi
push eax
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 3
call fcn.0042da35
pop ecx
pop ecx
push eax
call fcn.00425e0c
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.004021c5
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
mov byte [ebp - 4], 4
mov dword [ebp + 0x5c], edi
jb 0x44c035
mov eax, dword [eax + 4]
jmp 0x44c038
add eax, 4
push eax
call fcn.00412e56
test al, al
pop ecx
jne 0x44c076
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
mov dword [ebp + 0x5c], 3
jb 0x44c064
mov eax, dword [eax + 4]
jmp 0x44c067
add eax, 4
push eax
call fcn.00412e56
test al, al
pop ecx
mov byte [ebp + 0x63], 1
jne 0x44c079
mov byte [ebp + 0x63], bl
test byte [ebp + 0x5c], 2
je 0x44c08d
and dword [ebp + 0x5c], 0xfffffffd
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004021c5
test byte [ebp + 0x5c], 1
mov dword [ebp - 4], 2
je 0x44c0a4
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004021c5
cmp byte [ebp + 0x63], bl
je 0x44c146
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x11c]
call fcn.0042c9fa
mov esi, eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.0042c9fa
cmp dword [esi + 0x18], 8
jb 0x44c0dc
mov esi, dword [esi + 4]
jmp 0x44c0df
add esi, 4
cmp dword [eax + 0x18], 8
jb 0x44c0ea
mov eax, dword [eax + 4]
jmp 0x44c0ed
add eax, 4
push ebx
push esi
push eax
call fcn.0042ac95
add esp, 0xc
push ebx
push edi
lea ecx, [ebp + 0x38]
mov byte [ebp + 0x63], al
call fcn.004021c5
push ebx
push edi
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.004021c5
cmp byte [ebp + 0x63], bl
je 0x44c146
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
jb 0x44c132
mov eax, dword [eax + 4]
jmp 0x44c135
add eax, 4
push eax
call fcn.004379a8
pop ecx
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.004021c5
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp - 0x94]
call fcn.0042c9fa
cmp dword [eax + 0x18], 8
jb 0x44c160
mov eax, dword [eax + 4]
jmp 0x44c163
add eax, 4
push ebx
push ebx
push 3
push ebx
push edi
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push edi
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x5c], eax
call fcn.004021c5
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], bl
call fcn.0042c040
cmp dword [ebp + 0x5c], 0xffffffff
je 0x44c1cf
push ebx
push dword [ebp + 0x5c]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jne 0x44c1c6
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 0x44c1c6
cmp dword [ebp + 0x6c], 0x10
jne 0x44c1c6
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.0042c040
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