Function at 0x440310
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x558be2
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x61308c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xcc], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0
sub esp, 0x18
mov edx, esp
mov dword [ebp - 0xb8], esp
xor eax, eax
lea ebx, [ebp - 0x40]
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [esi], ax
jne 0x440398
xor ecx, ecx
jmp 0x4403af
mov ecx, esi
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4403a0
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.00404d30
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
mov ecx, ebx
call fcn.0040d9d0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push 0x595698
cmovae eax, dword [ebp - 0x40]
push eax
mov byte [ebp - 0xb1], 0
call fcn.0052e7c1
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x440640
push 2
push 0
push ebx
call fcn.0052f105
push ebx
call fcn.0052fa00
mov dword [ebp - 0xb8], eax
lea esi, [eax + 1]
push esi
call fcn.00512116
push esi
mov edi, eax
push 0
push edi
call fcn.0052d340
push 0
push 0
push ebx
call fcn.0052f105
mov esi, dword [ebp - 0xb8]
push ebx
push 1
push esi
push edi
call fcn.0052ea9a
push ebx
call fcn.0052e84e
mov dword [ebp - 0x18], 0
add esp, 0x40
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
test edi, edi
je 0x4404f6
test esi, esi
jle 0x4404f6
lea ecx, [ebp - 0xb0]
call fcn.00509d30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
push 0
call fcn.0050d410
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xc8]
push 1
push ecx
lea eax, [esi + edi]
push eax
push edi
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb8], eax
call fcn.0050b5f0
mov bl, al
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xc8]
call fcn.0050d710
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb0]
call fcn.0041b330
test bl, bl
je 0x4404f6
push dword [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push edi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
push eax
call fcn.0041d910
jmp 0x4405d4
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0xc4]
push eax
push esi
push edi
call fcn.0041b540
test al, al
je 0x4405f9
mov ebx, dword [ebp - 0xc0]
mov esi, dword [ebp - 0xc4]
sub ebx, esi
test esi, esi
je 0x4405f9
test ebx, ebx
jle 0x4405f9
lea ecx, [ebp - 0xb0]
call fcn.00509d30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
push 0
call fcn.0050d410
mov byte [ebp - 4], 7
lea eax, [ebp - 0xdc]
push 1
push eax
lea eax, [esi + ebx]
push eax
push esi
lea ecx, [ebp - 0xb0]
call fcn.0050b5f0
mov bl, al
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xdc]
call fcn.0050d710
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xb0]
call fcn.0041b330
test bl, bl
je 0x4405f9
push dword [ebp - 0xc0]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
push eax
push eax
call fcn.0041d990
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.0041a2f0
mov ecx, dword [ebp - 0xcc]
lea eax, [ebp - 0x28]
push eax
call fcn.00440870
mov byte [ebp - 0xb1], al
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x440621
inc ecx
push ecx
jmp 0x440616
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.0041a2f0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x440621
inc eax
push eax
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00409490
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
test edi, edi
je 0x440640
push edi
call fcn.0051211f
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x44065c
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409490
mov al, byte [ebp - 0xb1]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005120a1
mov esp, ebp
pop ebp
ret 8