Function at 0x44e310
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x685e53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 8]
push ebp
mov eax, dword [ebx + 0xc]
push esi
lea esi, [ebx + 4]
push edi
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], ebx
call fcn.00632090
lea ecx, [ebx + 0x14]
call fcn.0044ece0
mov edi, dword [esp + 0x98]
xor ebp, ebp
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x1c]
push 4
push ecx
push edi
mov dword [esp + 0x28], ebp
call dword [sym.imp.kernel32.dll_ReadFile]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x3c], ebp
mov byte [esp + 0x38], dl
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x90], ebp
mov ebp, dword [esp + 0x14]
test ebp, ebp
jle 0x44e5cb
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebx + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, ebp
mov dword [esp + 0x18], 0
jae 0x44e464
mov ecx, esi
call fcn.0049cab0
cmp ebp, eax
jae 0x44e3c8
mov ecx, esi
call fcn.0049cab0
mov ebx, eax
jmp 0x44e3ca
mov ebx, ebp
mov ecx, esi
call fcn.0049cab0
add eax, ebx
mov dword [esp + 0x2c], eax
jns 0x44e3db
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00673b05
add esp, 4
mov ebx, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebx
push edi
push eax
call fcn.0044e990
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], eax
push ecx
push ebp
push eax
mov ecx, esi
call fcn.00630e40
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 8]
lea eax, [edx + ebp*4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0044e990
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push edx
push eax
mov ecx, esi
call fcn.004748c0
mov eax, dword [esi + 4]
push eax
call fcn.006713a0
mov ecx, dword [esp + 0x30]
add esp, 4
lea edx, [ebx + ecx*4]
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.0049cab0
add eax, ebp
mov ebp, dword [esp + 0x14]
mov dword [esi + 4], ebx
lea eax, [ebx + eax*4]
mov ebx, dword [esp + 0x34]
mov dword [esi + 8], eax
jmp 0x44e50a
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, ebp
jae 0x44e4c2
lea ecx, [ebp*4]
mov dword [esp + 0x34], ecx
add ecx, edi
push ecx
push eax
push edi
mov ecx, esi
call fcn.0044e990
mov eax, dword [esi + 8]
lea edx, [esp + 0x18]
mov ecx, eax
push edx
sub ecx, edi
sar ecx, 2
sub ebp, ecx
mov ecx, esi
push ebp
push eax
call fcn.00630e40
mov eax, dword [esi + 8]
cmp edi, eax
je 0x44e4b4
mov edx, dword [esp + 0x18]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x44e4a7
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
add ecx, eax
mov dword [esi + 8], ecx
jmp 0x44e506
test ebp, ebp
jbe 0x44e50a
shl ebp, 2
push eax
push eax
sub eax, ebp
mov ecx, esi
push eax
call fcn.0044e990
mov ecx, dword [esi + 8]
mov eax, ecx
sub eax, ebp
cmp edi, eax
je 0x44e4ef
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x44e4e0
lea eax, [edi + ebp]
cmp edi, eax
je 0x44e503
mov ecx, dword [esp + 0x18]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x44e4f6
add dword [esi + 8], ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x1c]
push 0
lea ecx, [ebp*4]
push edx
mov edx, dword [esp + 0xa0]
push ecx
push eax
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0044f280
test eax, eax
jne 0x44e56d
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], 0xffffffff
call fcn.004748c0
mov eax, dword [esp + 0x3c]
push eax
call fcn.006713a0
add esp, 4
xor eax, eax
jmp 0x44e6d1
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x3c]
cmp dword [edx + ecx*4], 0x1c
jne 0x44e583
mov eax, dword [ebx + 8]
cmp dword [eax], 6
je 0x44e5c4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
mov ecx, esi
call fcn.00632090
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x98], 0xffffffff
call fcn.004748c0
mov edx, dword [esp + 0x3c]
push edx
call fcn.006713a0
add esp, 4
xor eax, eax
jmp 0x44e6d1
mov edi, dword [esp + 0x98]
lea eax, [esp + 0x1c]
push 0
push eax
lea ecx, [esp + 0x28]
push 4
push ecx
push edi
call dword [sym.imp.kernel32.dll_ReadFile]
lea edx, [esp + 0x13]
lea ecx, [esp + 0x4c]
push edx
call fcn.00590890
mov eax, dword [esp + 0x20]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x90], 2
jle 0x44e6a5
mov eax, dword [esp + 0x14]
xor esi, esi
test eax, eax
jle 0x44e632
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 8]
mov edx, dword [ecx + esi*4]
lea ecx, [esp + edx + 0x48]
mov edx, dword [eax + esi*4]
push ecx
push edx
push edi
mov ecx, ebx
call fcn.0044f050
mov eax, dword [esp + 0x14]
inc esi
cmp esi, eax
jl 0x44e60e
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], eax
call fcn.0044e820
lea edx, [esp + 0x64]
lea eax, [esp + 0x2c]
push edx
push eax
lea ecx, [ebx + 0x14]
mov byte [esp + 0x98], 4
call fcn.0044e9c0
lea ecx, [esp + 0x30]
lea edx, [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x2c]
call fcn.0043d520
lea eax, [esp + 0x68]
mov byte [esp + 0x90], 2
mov dword [esp + 0x34], eax
push 1
lea ecx, [esp + 0x70]
mov byte [esp + 0x94], 2
call fcn.004031c0
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, eax
jl 0x44e604
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 0
call fcn.004031c0
lea ecx, [esp + 0x38]
mov dword [esp + 0x90], 0xffffffff
call fcn.00498730
mov eax, 1
mov ecx, dword [esp + 0x88]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4