Function at 0x4105f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ae6d
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47c068]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x40], esi
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
test ecx, ecx
je 0x41064b
mov edx, dword [esi + 0x2c]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x41064b
lea eax, [edi - 1]
mov dword [edx], eax
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
lea eax, [edx + 1]
mov dword [ecx], eax
movzx eax, byte [edx]
jmp 0x41084f
cmp dword [esi + 0x4c], 0
jne 0x410659
or eax, 0xffffffff
jmp 0x41084f
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x410677
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
cmp dword [esi + 0x38], 0
mov eax, dword [esi + 0x4c]
jne 0x41069f
push eax
push 1
lea eax, [ebp - 0x12]
push 1
push eax
call fcn.00436ee0
add esp, 0x10
cmp eax, 1
jne 0x410651
movzx eax, byte [ebp - 0x12]
jmp 0x41084f
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push eax
mov dword [ebp - 4], 0
call fcn.00435107
add esp, 4
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
je 0x4107c7
lea ecx, [esi + 0x40]
mov dword [ebp - 0x44], ecx
nop word [eax + eax]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x30], al
cmp ecx, edx
jae 0x41070a
lea eax, [ecx + 1]
cmp edx, 0x10
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0x3c]
mov byte [eax + 1], 0
mov byte [eax], cl
jmp 0x41071a
push dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x38]
push 1
call fcn.00419fe0
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x38]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
lea edi, [ebp - 0x2c]
add ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
mov edx, dword [eax + 0x38]
cmovae edi, dword [ebp - 0x2c]
push esi
lea esi, [ebp - 0x10]
mov eax, dword [edx]
push esi
lea esi, [ebp - 0x11]
push esi
mov eax, dword [eax + 0x18]
lea esi, [ebp - 0x34]
push esi
push ecx
push edi
push dword [ebp - 0x44]
mov ecx, edx
call eax
sub eax, 0
je 0x410765
sub eax, 1
jne 0x4107f2
lea eax, [ebp - 0x11]
cmp dword [ebp - 0x38], eax
lea eax, [ebp - 0x2c]
jne 0x410807
cmp dword [ebp - 0x18], 0x10
lea esi, [ebp - 0x2c]
mov edi, dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x2c]
sub edi, eax
mov eax, dword [ebp - 0x1c]
cmp eax, edi
cmovb edi, eax
cmp dword [ebp - 0x18], 0x10
cmovae esi, dword [ebp - 0x2c]
sub eax, edi
mov dword [ebp - 0x3c], eax
lea ecx, [eax + 1]
push ecx
lea eax, [esi + edi]
push eax
push esi
call fcn.0042d530
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], eax
push dword [esi + 0x4c]
call fcn.00435107
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x4106e0
or esi, 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x41084d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x410843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41086a
jmp 0x410843
sub eax, 2
jne 0x4107c7
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
movsx esi, byte [eax]
jmp 0x4107ca
cmp dword [ebp - 0x18], 0x10
mov esi, dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x34]
sub esi, ecx
add esi, eax
test esi, esi
jle 0x41083d
nop dword [eax]
mov eax, dword [ebp - 0x40]
dec esi
push dword [eax + 0x4c]
movsx eax, byte [esi + ecx]
push eax
call fcn.00436c4c
add esp, 8
test esi, esi
jle 0x41083d
mov ecx, dword [ebp - 0x34]
jmp 0x410820
movzx esi, byte [ebp - 0x11]
jmp 0x4107ca
push ecx
push edx
call fcn.0042c0bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042c079
mov esp, ebp
pop ebp
ret
call fcn.00430a9a
int3