Function at 0x5abc70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
push ebx
mov ebx, edx
and esp, 0xffffffe0
sub esp, 0x50
mov dword [esp + 0x24], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x4c], eax
xor eax, eax
mov dword [esp + 4], 8
mov dword [esp], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
call sub.msvcrt.dll_calloc
test eax, eax
je 0x5abb26
mov edi, eax
test esi, esi
jle 0x5abb00
mov edx, ebx
mov esi, ebx
xor ebx, ebx
mov dword [esp + 0x30], edx
jmp 0x5ab708
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov edx, ebx
call fcn.005acbc0
mov ecx, dword [esp + 0x38]
mov dword [esi], ecx
mov dword [esp], ebx
add esi, 0x18
mov dword [esp + 4], 1
call fcn.00402690
mov ebx, eax
cmp dword [esp + 0x3c], eax
je 0x5ab730
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [edi + ebx*8], eax
mov eax, edi
mov dword [edi + ebx*8 + 4], edx
mov edx, ebx
call fcn.005ad2d0
mov ecx, eax
cmp eax, ebx
jne 0x5ab6d8
mov dword [esi], ebx
jmp 0x5ab6ed
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov dword [esp + 4], 4
mov dword [esp], esi
mov dword [esp + 0x38], edx
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
je 0x5abb1e
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call fcn.00402690
mov edx, dword [esp + 0x38]
test eax, eax
mov dword [esp + 0x30], eax
je 0x5ab9dc
mov eax, dword [esp + 0x3c]
sub eax, 2
cmp eax, 6
jbe 0x5abb38
mov esi, dword [esp + 0x30]
mov ecx, ebx
mov eax, edi
shr esi, 3
shl esi, 5
add esi, ebx
lea esi, [esi]
lea esi, [esi]
vmovdqu ymm3, ymmword [eax + 8]
vperm2i128 ymm0, ymm3, ymmword [eax + 0x28], 0x20
add ecx, 0x20
add eax, 0x40
vperm2i128 ymm1, ymm3, ymmword [eax - 0x18], 0x31
vmovdqu ymm5, ymmword [eax - 0x40]
vpshufd ymm0, ymm0, 0xd8
vperm2i128 ymm2, ymm5, ymmword [eax - 0x20], 0x20
vpshufd ymm1, ymm1, 0xd8
vpunpcklqdq ymm0, ymm0, ymm1
vperm2i128 ymm1, ymm5, ymmword [eax - 0x20], 0x31
vpshufd ymm2, ymm2, 0xd8
vpshufd ymm1, ymm1, 0xd8
vpunpcklqdq ymm1, ymm2, ymm1
vpsubd ymm0, ymm0, ymm1
vmovdqu ymmword [ecx - 0x20], ymm0
cmp ecx, esi
jne 0x5ab7a0
mov esi, dword [esp + 0x30]
mov ecx, esi
and ecx, 0xfffffff8
mov dword [esp + 0x38], ecx
mov eax, ecx
cmp ecx, esi
je 0x5abb30
vzeroupper
mov esi, dword [esp + 0x30]
sub esi, eax
lea ecx, [esi - 1]
mov dword [esp + 0x28], esi
cmp ecx, 2
jbe 0x5ab87a
lea ecx, [eax*8 + 8]
mov dword [esp + 0x2c], edx
lea esi, [edi + ecx]
lea ecx, [edi + ecx - 8]
vmovdqu xmm7, xmmword [esi]
vshufps xmm0, xmm7, xmmword [esi + 0x10], 0x88
mov esi, dword [esp + 0x28]
vmovdqu xmm7, xmmword [ecx]
vshufps xmm1, xmm7, xmmword [ecx + 0x10], 0x88
vpsubd xmm0, xmm0, xmm1
vmovdqu xmmword [ebx + eax*4], xmm0
mov eax, esi
and eax, 0xfffffffc
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00402690
and esi, 3
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
je 0x5ab9dc
mov esi, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 4], 1
lea eax, [esi*8]
mov dword [esp], esi
mov dword [esp + 0x2c], eax
add eax, edi
mov dword [esp + 0x18], eax
call fcn.00402690
mov dword [esp + 4], 0xfffffffe
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.00402690
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
cmp ecx, eax
jge 0x5ab945
mov eax, dword [esp + 0x30]
cmp ecx, eax
jg 0x5ab945
mov eax, dword [esp + 0x2c]
mov edx, esi
mov ecx, dword [edi + eax + 8]
lea eax, [esi*4]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, ecx
sub eax, dword [esi]
mov esi, edx
mov dword [ebx + edx*4], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [edi + eax + 0x10]
mov dword [esp + 0x18], eax
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + ecx + 4], eax
mov dword [esp], edx
mov dword [esp + 4], 3
call fcn.00402690
cmp dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
jg 0x5aba40
mov dword [esp + 0x2c], edx
mov dword [esp + 4], 2
mov dword [esp], esi
call fcn.00402690
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x38]
lea eax, [edx + 1]
lea esi, [edx*4]
lea ecx, [eax*8]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], ecx
mov ecx, dword [edi + eax*8]
mov esi, ecx
sub esi, dword [edi + eax*8 - 8]
mov dword [esp + 0x1c], ecx
mov dword [ebx + edx*4], esi
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00402690
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
cmp esi, eax
jle 0x5ab9dc
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x38]
mov eax, dword [edi + ecx + 8]
mov ecx, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + ecx + 4], eax
mov dword [esp], edx
mov dword [esp + 4], 2
call fcn.00402690
mov edx, dword [esp + 0x30]
cmp esi, eax
jle 0x5ab9dc
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + ecx + 0x10]
sub eax, dword [edi + ecx + 8]
mov ecx, dword [esp + 0x28]
mov dword [ebx + ecx + 8], eax
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
sub eax, dword [edi + esi*8 - 8]
mov dword [ebx + esi*4 - 4], eax
lea eax, [esi + esi*2]
lea ecx, [ecx + eax*8]
lea esi, [esi]
nop
mov eax, dword [edx]
add edx, 0x18
mov eax, dword [ebx + eax*4]
mov dword [edx - 8], eax
cmp ecx, edx
jne 0x5aba00
mov dword [esp], ebx
call fcn.0040f8d8
mov dword [esp], edi
call fcn.0040f8d8
xor eax, eax
mov edx, dword [esp + 0x4c]
sub edx, dword [0xd41044]
jne 0x5abb47
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [edi + edx + 0x18]
mov eax, ecx
sub eax, esi
mov esi, dword [esp + 0x28]
mov dword [ebx + esi + 8], eax
mov eax, dword [edi + edx + 0x20]
mov dword [esp + 0x18], eax
sub eax, ecx
mov dword [ebx + esi + 0xc], eax
mov esi, dword [esp + 0x38]
mov dword [esp + 4], 5
mov dword [esp], esi
call fcn.00402690
cmp dword [esp + 0x20], eax
mov edx, dword [esp + 0x1c]
jle 0x5abad8
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edi + eax + 0x28]
mov eax, ecx
sub eax, edx
mov dword [ebx + esi + 0x10], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [edi + eax + 0x30]
sub eax, ecx
mov dword [ebx + esi + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], 6
mov dword [esp], eax
call fcn.00402690
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], eax
jmp 0x5ab945
mov dword [esp + 0x2c], edx
mov dword [esp + 4], 4
mov dword [esp], esi
call fcn.00402690
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
jmp 0x5ab945
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], 4
mov dword [esp], eax
call sub.msvcrt.dll_calloc
mov ebx, eax
test eax, eax
jne 0x5aba0f
mov dword [esp], edi
call fcn.0040f8d8
mov eax, 0xffffffeb
jmp 0x5aba21
vzeroupper
jmp 0x5ab9dc
mov dword [esp + 0x38], 0
xor eax, eax
jmp 0x5ab80f
call fcn.00401690
nop
nop
nop
nop
push ebp
push edi
push esi
push ebx
sub esp, 0x48c
mov eax, dword [esp + 0x4a4]
mov ebx, dword [esp + 0x4a0]
mov dword [esp + 0x1c], eax
mov eax, dword [0xd41044]
mov dword [esp + 0x47c], eax
xor eax, eax
test ebx, ebx
je 0x5abc57
lea esi, [esp + 0x20]
mov ecx, 0x116
cmp dword [ebx + 0x14], 1
mov edi, esi
rep stosd dword es:[edi], eax
jne 0x5abc38
mov ebp, dword [ebx + 0x58]
test ebp, ebp
js 0x5abc38
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00593440
mov edi, eax
test eax, eax
jne 0x5abc50
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp], ebx
call fcn.00592110
test eax, eax
je 0x5abc40
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp], ebx
call fcn.00592ae0
test eax, eax
je 0x5abc40
movzx eax, word [esp + 0x56]
test eax, eax
jne 0x5abc18
mov eax, dword [esp + 0x47c]
sub eax, dword [0xd41044]
jne 0x5abc5e
add esp, 0x48c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll__chmod
test eax, eax
mov eax, 0xffffffec
cmovs edi, eax
jmp 0x5abbf7
mov edi, 0xfffffffd
jmp 0x5abbf7
mov edi, 0xffffffed
jmp 0x5abbf7
mov edi, 0xffffffef
jmp 0x5abbf7
mov edi, 0xffffffff
jmp 0x5abbf7
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
lea eax, [esp - 0x10000]
sub esp, 0x1000
or dword [esp], 0
cmp esp, eax
jne 0x5abc80
sub esp, 0x50
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [0xd41044]
mov dword [esp + 0x1004c], eax
xor eax, eax
test edi, edi
je 0x5abd94
lea ebx, [esp + 0x4c]
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0040f948
lea eax, [esp + 0x28]
mov dword [esp], esi
vpxor xmm0, xmm0, xmm0
mov dword [esp + 4], eax
mov dword [esp + 0x48], 0
vmovdqu xmmword [esp + 0x28], xmm0
vmovdqu xmmword [esp + 0x38], xmm0
call fcn.00402920
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x5abd8a
mov eax, dword [esp + 0x44]
mov dword [edi + 0x4e00c], eax
mov dword [esp], esi
mov dword [esp + 4], 0xd37be0
call sub.msvcrt.dll_fopen
mov esi, eax
test eax, eax
jne 0x5abd34
jmp 0x5abd9e
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edi
call fcn.005ac720
test eax, eax
js 0x5abd80
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x10000
mov dword [esp + 4], 1
mov dword [esp], ebx
call fcn.0040f8d0
test eax, eax
jne 0x5abd20
mov dword [esp], esi
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x1004c]
sub eax, dword [0xd41044]
jne 0x5abda8
mov eax, dword [esp + 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x1c], 0xfffffff8
jmp 0x5abd54
mov dword [esp + 0x1c], 0xfffffffd
jmp 0x5abd5c
mov dword [esp + 0x1c], 0xffffffff
jmp 0x5abd5c
mov dword [esp + 0x1c], 0xfffffff0
jmp 0x5abd5c
call fcn.00401690
nop
nop
nop
push ebx
sub esp, 0x18
mov eax, dword [0xd41044]
mov dword [esp + 0xc], eax
xor eax, eax
mov edx, dword [esp + 0x20]
test edx, edx
je 0x5abdf0
mov ecx, dword [edx + 0xa0]
mov ebx, dword [edx + 0xa4]
mov eax, dword [esp + 0xc]
sub eax, dword [0xd41044]
jne 0x5abdf6
add esp, 0x18
mov edx, ebx
mov eax, ecx
pop ebx
ret
xor ecx, ecx
xor ebx, ebx
jmp 0x5abdd3
call fcn.00401690
nop
nop
nop
nop
nop
sub esp, 0x1c
mov edx, dword [0xd41044]
mov dword [esp + 0xc], edx
xor edx, edx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5abe2a
mov eax, dword [eax + 0x58]
mov edx, dword [esp + 0xc]
sub edx, dword [0xd41044]
jne 0x5abe31
add esp, 0x1c
ret
mov eax, 0xffffffff
jmp 0x5abe1a
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebx
sub esp, 0x28
mov edx, dword [0xd41044]
mov dword [esp + 0x1c], edx
xor edx, edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x5abe9b
mov edx, dword [eax + 0x58]
test edx, edx
js 0x5abe94
mov ebx, dword [eax + 0x5c]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
movzx eax, ax
movzx edx, byte [ebx + eax - 1]
cmp dl, 0x2f
sete al
cmp dl, 0x5c
sete dl
or eax, edx
movzx eax, al
mov edx, dword [esp + 0x1c]
sub edx, dword [0xd41044]
jne 0x5abea2
add esp, 0x28
pop ebx
ret
mov eax, 0xfffffff6
jmp 0x5abe83
mov eax, 0xffffffff
jmp 0x5abe83
call fcn.00401690
nop
nop
nop
nop
nop
nop
nop
nop
nop