Function at 0x480c27
Capabilities:
Read file on windows

Disassembly:
push 0x14
mov eax, 0x59a874
call fcn.0056ce2c
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0xc], esi
jne 0x480e2e
cmp dword [ebx + 8], esi
je 0x480e2e
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
or dword [ebx + 0x34], 0xffffffff
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
jmp 0x480e1c
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x480cf0
cmp eax, esi
je 0x480e40
cmp eax, 1
je 0x480ceb
cmp eax, 2
je 0x480cc0
cmp eax, 3
jne 0x480e38
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x40], eax
lea esi, [eax + 1]
mov eax, dword [ebp + 0x10]
call fcn.00429199
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x40]
mov edx, dword [eax]
mov byte [ecx + edx], 0
mov esi, dword [ebx + 0x40]
call fcn.00429199
xor eax, eax
cmp dword [ebx + 0x40], eax
je 0x480cbc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
xor esi, esi
jmp 0x480cfe
mov eax, dword [ebx + 0x30]
push dword [ebp - 0x1c]
mov dword [ebx + 0x40], eax
push dword [ebp - 0x20]
shr eax, 1
lea esi, [eax + 1]
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp - 0x20]
call fcn.00443a27
mov eax, esi
mov ecx, edi
call fcn.0048137d
mov eax, dword [ebp - 0x20]
jmp 0x480cbc
lea eax, [ebx + 0x30]
jmp 0x480cf7
mov eax, dword [ebp + 8]
or dword [ebx + 0x38], 0xffffffff
mov dword [ebx + 0x40], 4
cmp byte [ebx + 0x2c], 0
mov dword [ebx + 0x3c], eax
mov dword [ebx + 0x44], esi
jne 0x480e38
lea eax, [ebx + 0x40]
cmp dword [eax], esi
jle 0x480da5
cmp dword [ebx + 0x104c], esi
je 0x480d68
mov ecx, dword [ebx + 0x104c]
cmp ecx, dword [eax]
jge 0x480d31
lea eax, [ebx + 0x104c]
mov edi, dword [eax]
cmp edi, esi
jle 0x480d9b
mov eax, dword [ebx + 0x1048]
lea eax, [eax + ebx + 0x48]
push edi
push eax
mov eax, dword [ebx + 0x44]
add eax, dword [ebx + 0x3c]
push eax
call fcn.00560920
add dword [ebx + 0x1048], edi
sub dword [ebx + 0x104c], edi
add dword [ebx + 0x44], edi
sub dword [ebx + 0x40], edi
add esp, 0xc
xor esi, esi
jmp 0x480d9b
push dword [ebx + 8]
lea eax, [ebx + 0x48]
push 0x1000
push 1
push eax
call fcn.0055f515
add esp, 0x10
cmp eax, esi
je 0x480e38
cmp eax, 0xffffffff
je 0x480e38
mov dword [ebx + 0x104c], eax
mov dword [ebx + 0x1048], esi
cmp byte [ebx + 0x2c], 0
je 0x480d0e
cmp byte [ebx + 0x2c], 0
jne 0x480e38
mov eax, dword [ebx + 0x44]
add dword [ebx + 4], eax
mov eax, dword [ebx + 0x34]
cmp eax, 0xffffffff
je 0x480de4
cmp eax, 1
je 0x480e04
cmp eax, 2
je 0x480dcc
cmp eax, 3
jmp 0x480e02
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jne 0x480dd9
mov eax, 0x5c26ec
push eax
push dword [ebp + 0xc]
call fcn.0040ad38
jmp 0x480e04
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
xor eax, eax
cmp ecx, dword [eax*4 + 0x5caee4]
je 0x480dfc
inc eax
cmp eax, 3
jl 0x480deb
jmp 0x480dff
or eax, 0xffffffff
cmp eax, 0xffffffff
jne 0x480e38
inc dword [ebx + 0x38]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
imul ecx, ecx, 5
add ecx, dword [ebx + 0x38]
mov eax, dword [ecx*4 + 0x5caef0]
mov dword [ebx + 0x34], eax
cmp byte [ebx + 0x2c], 0
je 0x480c64
lea esi, [ebp - 0x20]
call fcn.004c601a
xor al, al
call fcn.0056cf04
ret 0x10
mov byte [ebx + 0x2c], 1
xor bl, bl
jmp 0x480e4a
inc dword [ebx]
mov eax, dword [ebp + 0x14]
mov byte [eax], 0
mov bl, 1
lea esi, [ebp - 0x20]
call fcn.004c601a
mov al, bl
jmp 0x480e30