Function at 0x5489b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 3]
test ecx, ecx
je 0x548bea
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
sub ecx, 9
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x1a
ja case.0x5489ec.1
mov edx, dword [ebp - 0xc]
movzx eax, byte [edx + 0x548c04]
jmp dword [eax*4 + 0x548bf0]
mov ecx, 4
imul edx, ecx, 9
mov eax, dword [ebp + 0xc]
cmp dword [eax + edx + 0xe], 0
jne case.0x5489ec.3
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
cdq
mov ecx, 0x4a
idiv ecx
add eax, 0x3e8
mov edx, 4
imul ecx, edx, 9
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx + 0xe], eax
cmp dword [ebp + 0x14], 7
jge case.0x5489ec.0
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
cdq
mov ecx, 0x4a
idiv ecx
mov edx, 4
imul ecx, edx, 9
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx + 0xe], eax
cmp dword [ebp + 0x14], 7
jle 0x548a64
mov eax, dword [ebp + 8]
push eax
push 1
push 1
lea ecx, [ebp - 1]
push ecx
call fcn.006b7750
add esp, 0x10
cmp dword [ebp + 0x14], 4
jle 0x548a80
mov edx, dword [ebp + 8]
push edx
push 1
push 4
lea eax, [ebp - 8]
push eax
call fcn.006b7750
add esp, 0x10
jmp 0x548a87
mov dword [ebp - 8], 0x104
cmp dword [ebp - 8], 0
je 0x548af0
mov ecx, dword [ebp - 8]
add ecx, 1
push ecx
call fcn.006ca9b0
add esp, 4
mov edx, 4
imul ecx, edx, 0
mov edx, dword [ebp + 0xc]
mov dword [edx + ecx + 0xe], eax
mov eax, dword [ebp - 8]
add eax, 1
push eax
push 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx + 0xe]
push ecx
call fcn.0067d630
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx + 0xe]
push ecx
call fcn.006b7750
add esp, 0x10
jmp 0x548b03
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + eax + 0xe], 0
jmp case.0x5489ec.1
cmp dword [ebp + 0x14], 7
jle 0x548b1f
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.006b7750
add esp, 0x10
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp + 0xc]
lea ecx, [eax + edx + 0xe]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00536a50
add esp, 8
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 4]
mov byte [ebp - 0x10], cl
cmp byte [ebp - 0x10], 0xc
je 0x548b55
cmp byte [ebp - 0x10], 0x12
je 0x548b55
jmp 0x548bea
cmp dword [ebp + 0x14], 7
jle 0x548b6f
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 1]
push eax
call fcn.006b7750
add esp, 0x10
cmp dword [ebp + 0x14], 4
jle 0x548b8b
mov ecx, dword [ebp + 8]
push ecx
push 1
push 4
lea edx, [ebp - 8]
push edx
call fcn.006b7750
add esp, 0x10
jmp 0x548b92
mov dword [ebp - 8], 0x104
cmp dword [ebp - 8], 0
je 0x548be0
mov eax, dword [ebp - 8]
add eax, 1
push eax
call fcn.006ca9b0
add esp, 4
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x36], eax
mov edx, dword [ebp - 8]
add edx, 1
push edx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x36]
push ecx
call fcn.0067d630
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x36]
push edx
call fcn.006b7750
add esp, 0x10
jmp 0x548bea
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x36], 0
mov esp, ebp
pop ebp
ret