Function at 0x460ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
mov dword [ebp - 0xc], eax
test byte [eax], 8
jne 0x460d02
mov dword [esi + 0x40], 0x6f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x1c]
call fcn.004612c0
test eax, eax
je 0x460cfb
lea edx, [esi + 0x20]
mov ecx, esi
call fcn.004612c0
test eax, eax
je 0x460cfb
lea edx, [esi + 0x24]
mov ecx, esi
call fcn.004612c0
test eax, eax
je 0x460cfb
lea edx, [esi + 0x28]
mov ecx, esi
call fcn.004612c0
test eax, eax
je 0x460cfb
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x460d50
push 1
lea ecx, [ebp - 8]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x460d63
push dword [ecx + 0x38]
lea eax, [ebp - 8]
push 1
push 1
push eax
call fcn.004b2cfb
add esp, 0x10
mov ecx, dword [esi + 0x30]
cmp eax, 1
je 0x460d85
mov dword [esi + 0x40], 0x66
call fcn.004618c0
mov dword [esi + 0x30], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov dl, byte [ebp - 8]
movzx eax, dl
push edi
mov edi, eax
shr eax, 6
and eax, 1
and edi, 7
mov dword [esi + 0x2c], eax
test ecx, ecx
je 0x460dad
call fcn.004618c0
mov dl, byte [ebp - 8]
mov dword [esi + 0x30], 0
push ebx
mov ebx, 1
test dl, dl
jns 0x460e49
lea ecx, [edi + 1]
mov eax, ebx
shl eax, cl
xor edx, edx
mov ecx, eax
call fcn.00461820
mov dword [esi + 0x30], eax
test eax, eax
je 0x460ecc
xor ebx, ebx
cmp dword [eax], ebx
jbe 0x460e44
xor edi, edi
nop
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx + 0x3c]
test eax, eax
je 0x460df8
push 3
lea ecx, [ebp - 8]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x460e0b
push dword [ecx + 0x38]
lea eax, [ebp - 8]
push 3
push 1
push eax
call fcn.004b2cfb
add esp, 0x10
cmp eax, 3
jne 0x460e66
mov eax, dword [esi + 0x30]
inc ebx
mov ecx, dword [eax + 0xc]
movzx eax, byte [ebp - 8]
mov byte [edi + ecx], al
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
movzx eax, byte [ebp - 7]
mov byte [ecx + edi + 1], al
mov eax, dword [esi + 0x30]
mov ecx, dword [eax + 0xc]
movzx eax, byte [ebp - 6]
mov byte [ecx + edi + 2], al
add edi, 3
mov eax, dword [esi + 0x30]
cmp ebx, dword [eax]
jb 0x460de0
mov ebx, 1
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x460e85
mov edx, dword [esi + 0x18]
push ecx
inc edx
call fcn.00461940
add esp, 4
test eax, eax
je 0x460ecc
mov dword [esi + 0x34], eax
jmp 0x460e96
mov ecx, dword [esi + 0x30]
call fcn.004618c0
mov dword [esi + 0x40], 0x66
mov dword [esi + 0x30], 0
pop ebx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0x24
call fcn.004b12a2
add esp, 4
mov dword [esi + 0x34], eax
test eax, eax
je 0x460ecc
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [esi + 0x1c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x34]
movups xmmword [eax + ecx*4], xmm0
movq xmm0, qword [esi + 0x2c]
lea edi, [eax + ecx*4]
movq qword [edi + 0x10], xmm0
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x460edc
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
call fcn.00461820
mov dword [edi + 0x14], eax
test eax, eax
jne 0x460edc
pop ebx
pop edi
mov dword [esi + 0x40], 0x6d
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov eax, dword [esi + 0x28]
imul eax, dword [esi + 0x24]
inc dword [esi + 0x18]
mov dword [ecx + 0x34], eax
mov edi, dword [esi + 0x48]
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x460f19
push 1
lea ecx, [ebp - 1]
push ecx
push esi
call eax
add esp, 0xc
jmp 0x460f2c
push dword [edi + 0x38]
lea eax, [ebp - 1]
push 1
push 1
push eax
call fcn.004b2cfb
add esp, 0x10
cmp eax, 1
jb 0x460e7c
movzx ecx, byte [ebp - 1]
cmp ecx, 8
jbe 0x460f4e
pop ebx
pop edi
mov dword [esi + 0x40], 0x66
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov dword [edi + 8], ecx
shl eax, cl
inc ecx
mov dword [edi + 0xc], eax
inc eax
mov dword [edi + 0x10], eax
inc eax
shl ebx, cl
mov dword [edi + 0x14], eax
mov eax, 0x1002
mov dword [edi + 0x18], ecx
mov ecx, 0x1000
mov dword [edi + 0x1c], ebx
mov byte [edi + 0x44], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x20], 0x1002
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
add edi, 0x2144
rep stosd dword es:[edi], eax
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret