Function at 0x5d26f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 0x48]
test byte [eax], 8
mov dword [esp + 4], eax
jne 0x5d270e
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esi + 0x1c]
push eax
call fcn.005d22c0
add esp, 4
test eax, eax
je 0x5d2709
lea eax, [esi + 0x20]
push eax
call fcn.005d22c0
add esp, 4
test eax, eax
je 0x5d2709
lea eax, [esi + 0x24]
push eax
call fcn.005d22c0
add esp, 4
test eax, eax
je 0x5d2709
lea eax, [esi + 0x28]
push eax
call fcn.005d22c0
add esp, 4
test eax, eax
je 0x5d2709
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
push ebp
xor ebp, ebp
cmp eax, ebp
je 0x5d276a
push 1
lea ecx, [esp + 0x14]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x5d277f
mov edx, dword [ecx + 0x38]
push edx
push 1
lea eax, [esp + 0x18]
push 1
push eax
call fcn.006986f1
add esp, 0x10
cmp eax, 1
je 0x5d27a0
mov ecx, dword [esi + 0x30]
push ecx
mov dword [esi + 0x40], 0x66
call fcn.005d4af0
add esp, 4
mov dword [esi + 0x30], ebp
pop ebp
xor eax, eax
pop esi
pop ecx
ret
mov cl, byte [esp + 0x10]
mov eax, dword [esi + 0x30]
push edi
movzx edi, cl
mov dl, cl
and edi, 7
shr dl, 6
and dl, 1
inc edi
mov byte [esi + 0x2c], dl
cmp eax, ebp
je 0x5d27ce
push eax
call fcn.005d4af0
mov cl, byte [esp + 0x18]
add esp, 4
mov dword [esi + 0x30], ebp
push ebx
test cl, cl
jns 0x5d286a
mov ecx, edi
mov eax, 1
shl eax, cl
push ebp
push eax
call fcn.005d4a60
add esp, 8
mov dword [esi + 0x30], eax
cmp eax, ebp
je 0x5d288d
xor ebx, ebx
cmp dword [eax], ebp
jle 0x5d286a
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 0x3c]
cmp ecx, ebp
je 0x5d2819
push 3
lea edx, [esp + 0x1c]
push edx
push esi
call ecx
add esp, 0xc
jmp 0x5d282e
mov eax, dword [eax + 0x38]
push eax
push 3
lea ecx, [esp + 0x20]
push 1
push ecx
call fcn.006986f1
add esp, 0x10
cmp eax, 3
jne 0x5d289c
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0xc]
movzx ecx, byte [esp + 0x18]
mov byte [edi + eax], cl
mov edx, dword [esi + 0x30]
mov eax, dword [edx + 0xc]
movzx ecx, byte [esp + 0x19]
mov byte [eax + edi + 1], cl
mov edx, dword [esi + 0x30]
movzx ecx, byte [esp + 0x1a]
mov eax, dword [edx + 0xc]
mov byte [eax + edi + 2], cl
mov edx, dword [esi + 0x30]
inc ebx
add edi, 3
cmp ebx, dword [edx]
jl 0x5d2800
mov ecx, dword [esi + 0x34]
cmp ecx, ebp
je 0x5d28ba
mov eax, dword [esi + 0x18]
inc eax
lea edx, [eax + eax*8]
add edx, edx
add edx, edx
push edx
push ecx
call fcn.006a1afb
add esp, 8
mov dword [esi + 0x34], eax
cmp eax, ebp
jne 0x5d28cb
pop ebx
pop edi
pop ebp
mov dword [esi + 0x40], 0x6d
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 0x30]
push eax
call fcn.005d4af0
add esp, 4
pop ebx
pop edi
mov dword [esi + 0x30], ebp
pop ebp
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
pop ecx
ret
push 0x24
call fcn.006955b9
add esp, 4
mov dword [esi + 0x34], eax
cmp eax, ebp
je 0x5d288d
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x34]
movq xmm0, qword [esi + 0x1c]
lea eax, [eax + eax*8]
lea edi, [ecx + eax*4]
movq qword [edi], xmm0
movq xmm0, qword [esi + 0x24]
movq qword [edi + 8], xmm0
movq xmm0, qword [esi + 0x2c]
movq qword [edi + 0x10], xmm0
mov eax, dword [esi + 0x30]
cmp eax, ebp
je 0x5d2915
mov edx, dword [eax + 0xc]
mov eax, dword [eax]
push edx
push eax
call fcn.005d4a60
add esp, 8
mov dword [edi + 0x14], eax
cmp eax, ebp
je 0x5d288d
mov edx, dword [esp + 0x10]
mov dword [edi + 0x18], ebp
mov dword [edi + 0x1c], ebp
mov dword [edi + 0x20], ebp
mov ecx, dword [esi + 0x28]
imul ecx, dword [esi + 0x24]
inc dword [esi + 0x18]
mov eax, esi
mov dword [edx + 0x34], ecx
call fcn.005d23d0
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
pop ecx
ret