Function at 0x1005f330
Capabilities:
Inspect section memory permissions

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x10]
push edi
push eax
push dword [esp + 0x34]
xor bh, bh
mov byte [esp + 0x34], bh
call fcn.10063d00
xor bl, bl
mov byte [esi + 0x18], al
add esp, 8
mov byte [esp + 0x13], bl
test al, al
je 0x1005fa17
mov ebp, dword [esp + 0x14]
movzx eax, bl
mov edx, 8
imul edi, eax, 0x68
add edi, esi
lea ecx, [edi + 0x20]
mov byte [ecx], bl
movzx eax, byte [ebp]
shr eax, 6
mov dword [edi + 0x28], eax
mov al, byte [ebp + 1]
and al, 0xf
mov byte [edi + 0x2c], al
movzx eax, byte [ebp]
and eax, 0x3f
sub eax, 1
je 0x1005f4e7
sub eax, 1
je 0x1005f3cd
sub eax, 1
jne 0x1005f5e7
mov dword [edi + 0x24], 4
mov word [edi + 0x34], dx
mov dword [edi + 0x80], 1
mov dword [edi + 0x84], eax
mov word [edi + 0x78], ax
jmp 0x1005f5e7
mov dword [ecx + 4], 2
mov dword [ecx + 0x28], 1
movzx eax, byte [ebp + 9]
shr eax, 3
and eax, 0xf
jmp dword [eax*4 + 0x1005fa58]
mov dword [ecx + 4], 1
movzx eax, byte [ebp + 9]
and eax, 7
jmp dword [eax*4 + 0x1005fa7c]
cmp dword [edi + 0x24], 0
jne 0x1005f8bf
movzx eax, byte [ebp + 9]
and eax, 0x3f
mov dword [edi + 0x30], eax
movzx eax, byte [ebp]
and eax, 0x3f
lea edx, [eax - 4]
cmp edx, 0x12
ja case.default.0x1005f60e
jmp dword [edx*4 + 0x1005fa98]
mov ebx, 1
jmp 0x1005f6bb
mov ebx, 4
jmp 0x1005f6bb
mov al, byte [esi + 0x16]
cmp al, 0x10
jne 0x1005f63a
mov ebx, 2
jmp 0x1005f6bb
xor ebx, ebx
cmp al, 0x20
setne bl
add ebx, 3
jmp 0x1005f6bb
mov al, byte [esi + 0x16]
cmp al, 0x10
jne 0x1005f63a
mov ebx, 3
jmp 0x1005f6bb
xor ebx, ebx
cmp byte [esi + 0x16], 0x10
setne bl
add ebx, 2
jmp 0x1005f6bb
mov al, byte [esi + 0x17]
cmp al, 0x10
jne 0x1005f63a
mov ebx, 2
jmp 0x1005f6bb
mov ebx, 5
jmp 0x1005f6bb
mov ebx, 6
jmp 0x1005f6bb
mov ebx, 7
jmp 0x1005f6bb
mov ebx, 8
jmp 0x1005f6bb
mov ebx, 9
jmp 0x1005f6bb
mov ebx, 0xa
jmp 0x1005f6bb
mov ebx, 0x12
jmp 0x1005f6bb
mov ebx, 0xd
jmp 0x1005f6bb
mov ebx, 0xf
jmp 0x1005f6bb
mov ebx, 0x10
jmp 0x1005f6bb
mov ebx, 0x11
movzx eax, byte [ebp + 9]
and eax, 0x3f
dec eax
jmp dword [eax*4 + 0x1005fae4]
add eax, 0xffffffe9
cmp eax, 9
ja case.0x1005f735.27
jmp dword [eax*4 + 0x1005fafc]
push 0
push ecx
push esi
push dword [esp + 0x34]
call fcn.1005f060
add esp, 0x10
test eax, eax
js 0x1005fa50
jmp 0x1005f7f0
push 7
jmp 0x1005f73e
push 8
jmp 0x1005f73e
push 9
jmp 0x1005f73e
mov dword [edi + 0x24], 3
mov eax, dword [esi + 0x5b8]
mov dword [edi + 0x74], eax
mov ax, word [esi + 0x5d0]
mov word [edi + 0x70], ax
jmp case.0x1005f735.27
push 0
push ecx
push esi
push dword [esp + 0x34]
mov byte [edi + 0x2c], 0
call fcn.1005f060
add esp, 0x10
test eax, eax
js 0x1005fa50
mov dword [edi + 0x48], 2
jmp 0x1005f7f0
mov dword [edi + 0x24], 2
mov dword [edi + 0x48], 1
mov byte [edi + 0x60], 1
mov eax, dword [esi + 0x5a0]
mov ecx, dword [esi + 0x5a4]
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], ecx
jmp case.0x1005f735.27
push 0
push ecx
push esi
push dword [esp + 0x34]
mov byte [edi + 0x2c], 0
call fcn.1005f060
add esp, 0x10
test eax, eax
js 0x1005fa50
mov dword [edi + 0x48], 3
mov ebp, dword [esp + 0x14]
cmp dword [edi + 0x24], 0
je 0x1005f839
mov eax, dword [esi + 0xc]
cmp eax, 4
je 0x1005f80b
cmp eax, 5
jne 0x1005f8bf
cmp byte [esi + 0x5a8], 8
jne 0x1005f8bf
mov eax, dword [esp + 0x28]
push dword [edi + 0x6c]
push dword [edi + 0x68]
movzx eax, byte [eax + 0x34]
cdq
push edx
push eax
call fcn.10069620
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], edx
jmp 0x1005f8bf
movzx eax, byte [ebp]
and eax, 0x3f
sub eax, 0x1b
je 0x1005f84a
sub eax, 1
jne 0x1005f8bf
mov eax, dword [esp + 0x28]
mov dword [edi + 0x24], 4
movzx eax, byte [eax + 0x19]
mov ax, word [ebp + eax*2 + 2]
shl ax, 3
mov word [edi + 0x34], ax
movzx eax, bh
mov dword [esp + 0x2c], eax
lea eax, [eax + eax*2]
lea eax, [eax + 0xb7]
lea ecx, [esi + eax*8]
mov al, byte [ebp + 9]
and al, 0x3f
cmp al, 5
jne 0x1005f88c
mov al, byte [ecx]
and al, 0xf
movzx eax, al
cdq
jmp 0x1005f891
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [edi + 0x80], eax
inc bh
mov eax, dword [esp + 0x2c]
mov dword [edi + 0x84], edx
mov byte [esp + 0x2c], bh
lea eax, [eax + eax*2]
lea ecx, [esi + eax*8]
mov al, byte [ecx + 0x5b0]
mov byte [edi + 0x78], al
mov al, byte [ecx + 0x5b1]
mov byte [edi + 0x79], al
cmp dword [edi + 0x24], 2
jne 0x1005f9e3
mov cl, byte [ebp + 0xc]
lea edx, [esi + 0x430]
test cl, 2
jne 0x1005f990
mov eax, dword [edx]
and eax, 0x10000000
or eax, 0
je 0x1005f8f3
mov dword [edi + 0x4c], 0xc7
jmp 0x1005f9e3
test cl, 2
jne 0x1005f990
mov eax, dword [edx]
and eax, 0x20000000
or eax, 0
jne 0x1005f9d5
mov eax, dword [edx]
and eax, 0x40000000
or eax, 0
je 0x1005f92b
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xc9
jmp 0x1005f9e3
test cl, 2
jne 0x1005f990
mov eax, dword [edx]
and eax, 0x80000000
or eax, 0
je 0x1005f94f
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xc6
jmp 0x1005f9e3
mov ecx, dword [esi + 0x434]
lea edx, [esi + 0x430]
and ecx, 1
xor eax, eax
or eax, ecx
je 0x1005f974
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xca
jmp 0x1005f9e3
mov ecx, dword [edx + 4]
xor eax, eax
and ecx, 2
or eax, ecx
je 0x1005f990
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xcb
jmp 0x1005f9e3
movzx eax, bl
imul eax, eax, 0x68
cmp dword [eax + esi + 0x4c], 0
jne 0x1005f9e3
movzx eax, bl
imul eax, eax, 0x68
mov eax, dword [eax + esi + 0x50]
cmp eax, 0x39
je 0x1005f9d5
cmp eax, 0x3a
je 0x1005f9d5
cmp eax, 0x29
je 0x1005f9d5
cmp eax, 0x2a
je 0x1005f9d5
cmp eax, 0x19
je 0x1005f9d5
cmp eax, 0x1a
je 0x1005f9d5
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xc9
jmp 0x1005f9e3
movzx eax, bl
imul eax, eax, 0x68
mov dword [eax + esi + 0x4c], 0xc8
movzx eax, bl
imul eax, eax, 0x68
push ebp
add eax, 0x20
add eax, esi
push eax
push esi
push dword [esp + 0x34]
call fcn.10062230
mov ebp, dword [esp + 0x24]
inc bl
add ebp, 0xd
mov byte [esp + 0x23], bl
add esp, 0x10
mov dword [esp + 0x14], ebp
cmp bl, byte [esi + 0x18]
jb 0x1005f367
cmp dword [esi + 0x4b0], 2
jne 0x1005fa4b
movzx eax, byte [esi + 0x2c]
sub eax, 2
je 0x1005fa3f
sub eax, 1
jne 0x1005fa4b
pop edi
mov byte [esi + 0x2c], 9
mov eax, 0x100000
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [esi + 0x24], 2
setne al
add al, 8
mov byte [esi + 0x2c], al
mov eax, 0x100000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret