Function at 0x570a10
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0xa53386
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0xcdc190]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x28]
push edi
push 1
lea eax, [esi + 4]
push 4
push eax
call fcn.00a2db91
push edi
push 1
lea ebp, [esi + 8]
push 4
push ebp
call fcn.00a2db91
mov eax, dword [esi + 0x14]
add esp, 0x20
test eax, eax
je 0x570a71
push eax
call fcn.00a2a2f2
add esp, 4
mov dword [esi + 0x14], 0
mov ebx, dword [ebp]
test ebx, ebx
je 0x570b0e
xor ecx, ecx
mov eax, ebx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a293e7
add esp, 4
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x570ab7
push fcn.0046ab80
push ebx
push 0x1c
push eax
call fcn.00405f60
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 0x14], ecx
test ecx, ecx
jne 0x570acd
xor al, al
jmp 0x570cb1
mov eax, dword [ebp]
lea edx, [eax*8]
sub edx, eax
push edi
add edx, edx
push 1
add edx, edx
push edx
push ecx
call fcn.00a2db91
xor eax, eax
add esp, 0x10
cmp dword [ebp], eax
jbe 0x570b0e
xor edx, edx
mov ecx, dword [esi + 0x14]
add ecx, edx
cmp dword [ecx + 0x14], 0
jne 0x570b05
mov dword [ecx + 0x18], 0x20
inc eax
add edx, 0x1c
cmp eax, dword [ebp]
jb 0x570af3
push edi
push 1
lea ebp, [esi + 0xc]
push 4
push ebp
call fcn.00a2db91
mov eax, dword [esi + 0x10]
add esp, 0x10
test eax, eax
je 0x570b36
push eax
call fcn.00a2a2f2
add esp, 4
mov dword [esi + 0x10], 0
mov eax, dword [ebp]
test eax, eax
je 0x570b6c
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00a293e7
mov ecx, dword [ebp]
add ecx, ecx
push edi
add ecx, ecx
push 1
add ecx, ecx
push ecx
push eax
mov dword [esi + 0x10], eax
call fcn.00a2db91
add esp, 0x14
push edi
push 1
lea edx, [esi + 0x30]
push 0x60
push edx
call fcn.00a2db91
push 0x30
lea ebp, [esi + 0x90]
push 0
push ebp
call fcn.00a2a210
add esp, 0x1c
mov ebx, 6
push 1
push 8
push edi
call fcn.00a2e61e
push edi
push 1
push 8
push ebp
call fcn.00a2db91
push 1
push 0xc
push edi
call fcn.00a2e61e
add esp, 0x28
add ebp, 8
sub ebx, 1
jne 0x570b92
push edi
push 1
lea eax, [esi + 0xc0]
push 0x30
push eax
call fcn.00a2db91
push edi
push 1
lea ecx, [esi + 0xf0]
push 0x20
push ecx
call fcn.00a2db91
push edi
push 1
lea ebp, [esi + 0x18]
push 4
push ebp
call fcn.00a2db91
add esp, 0x30
cmp dword [ebp], ebx
je 0x570caf
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x570c23
mov edx, dword [eax - 4]
lea ebx, [eax - 4]
push 0x5741d0
push edx
push 0x34
push eax
call fcn.00a2a35b
push ebx
call fcn.00a2a2f2
add esp, 4
mov dword [esi + 0x1c], 0
mov ebx, dword [ebp]
xor ecx, ecx
mov eax, ebx
mov edx, 0x34
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call fcn.00a293e7
add esp, 4
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
test eax, eax
je 0x570c7f
push 0x5741d0
push 0x56fe10
push ebx
mov dword [eax], ebx
add eax, 4
push 0x34
push eax
mov dword [esp + 0x3c], eax
call fcn.00a2ab1d
mov eax, dword [esp + 0x28]
jmp 0x570c81
xor eax, eax
xor ebx, ebx
cmp dword [ebp], ebx
mov dword [esp + 0x20], 0xffffffff
mov dword [esi + 0x1c], eax
jle 0x570caf
mov dword [esp + 0x28], ebx
mov ecx, dword [esi + 0x1c]
add ecx, dword [esp + 0x28]
push edi
call fcn.005741f0
add dword [esp + 0x28], 0x34
inc ebx
cmp ebx, dword [ebp]
jl 0x570c97
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4