Function at 0x3028990
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x300350c
call dword [0x30ef88c]
add esp, 0xc
push 0x300230c
call dword [0x30ef88c]
add esp, 4
cmp dword [0x30ef740], 1
jne 0x30289ce
mov dword [ebp - 0x14], 0x30034f8
jmp 0x30289d5
mov dword [ebp - 0x14], 0x30034e8
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
push 0x3003470
call dword [0x30ef88c]
add esp, 0x1c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x22]
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x20]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x1c]
push edx
push 0x3003408
call dword [0x30ef88c]
add esp, 0x14
mov word [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x10], ecx
cmp dword [0x30ef740], 3
jne 0x3028c24
mov dword [ebp - 8], 0
jmp 0x3028a6c
mov edx, dword [ebp - 0x10]
shr edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x3028c1f
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x3028c1a
mov edx, dword [ebp - 0x10]
and edx, 1
mov ecx, dword [ebp - 8]
shl edx, cl
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x400
ja 0x3028afe
cmp dword [ebp - 0x18], 0x400
je 0x3028bd1
cmp dword [ebp - 0x18], 0x80
ja 0x3028adf
cmp dword [ebp - 0x18], 0x80
je 0x3028bc2
cmp dword [ebp - 0x18], 0
je 0x3028b53
cmp dword [ebp - 0x18], 0x20
je 0x3028b5f
cmp dword [ebp - 0x18], 0x40
je 0x3028b92
jmp 0x3028c01
cmp dword [ebp - 0x18], 0x100
je 0x3028b83
cmp dword [ebp - 0x18], 0x200
je 0x3028bb3
jmp 0x3028c01
cmp dword [ebp - 0x18], 0x20000000
ja 0x3028b38
cmp dword [ebp - 0x18], 0x20000000
je 0x3028bf2
cmp dword [ebp - 0x18], 0x800
je 0x3028be9
cmp dword [ebp - 0x18], 0x8000000
je 0x3028ba1
cmp dword [ebp - 0x18], 0x10000000
je 0x3028baa
jmp 0x3028c01
cmp dword [ebp - 0x18], 0x40000000
je 0x3028be0
cmp dword [ebp - 0x18], 0x80000000
je 0x3028b71
jmp 0x3028c01
mov dword [ebp - 0xc], 0x30033fc
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033f4
mov word [ebp - 4], 1
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033e8
mov word [ebp - 4], 1
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033e0
mov word [ebp - 4], 2
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033e0
mov word [ebp - 4], 6
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033d4
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033c8
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033b8
mov word [ebp - 4], 6
jmp 0x3028c08
mov dword [ebp - 0xc], 0x30033a8
mov word [ebp - 4], 6
jmp 0x3028c08
mov dword [ebp - 0xc], 0x300339c
mov word [ebp - 4], 6
jmp 0x3028c08
mov dword [ebp - 0xc], 0x3003394
jmp 0x3028c08
mov dword [ebp - 0xc], 0x300338c
jmp 0x3028c08
mov dword [ebp - 0xc], 0x3003374
mov word [ebp - 4], 1
jmp 0x3028c08
mov dword [ebp - 0xc], 0x3002f78
mov eax, dword [ebp - 0xc]
push eax
push 0x3003364
call dword [0x30ef88c]
add esp, 8
jmp 0x3028a5b
jmp 0x3028f95
mov ecx, dword [ebp - 0x10]
and ecx, 0xff8fffff
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x3028c4a
mov edx, dword [ebp - 0x10]
shr edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x3028ee4
mov ecx, dword [ebp - 0x10]
and ecx, 1
je 0x3028edf
mov edx, dword [ebp - 0x10]
and edx, 1
mov ecx, dword [ebp - 8]
shl edx, cl
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0x10000
ja 0x3028d0c
cmp dword [ebp - 0x1c], 0x10000
je 0x3028e8f
cmp dword [ebp - 0x1c], 0x200
ja 0x3028cc5
cmp dword [ebp - 0x1c], 0x200
je 0x3028df9
mov eax, dword [ebp - 0x1c]
sub eax, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf8
ja case.0x3028cbe.1
mov ecx, dword [ebp - 0x1c]
movzx edx, byte [ecx + 0x3029034]
jmp dword [edx*4 + 0x302901c]
cmp dword [ebp - 0x1c], 0x4000
ja 0x3028cfa
cmp dword [ebp - 0x1c], 0x4000
je 0x3028eb3
cmp dword [ebp - 0x1c], 0x800
je 0x3028e05
cmp dword [ebp - 0x1c], 0x1000
je 0x3028e11
jmp case.0x3028cbe.1
cmp dword [ebp - 0x1c], 0x8000
je 0x3028e86
jmp case.0x3028cbe.1
cmp dword [ebp - 0x1c], 0x8000000
ja 0x3028d76
cmp dword [ebp - 0x1c], 0x8000000
je 0x3028e35
cmp dword [ebp - 0x1c], 0x80000
ja 0x3028d57
cmp dword [ebp - 0x1c], 0x80000
je 0x3028eaa
cmp dword [ebp - 0x1c], 0x20000
je 0x3028e98
cmp dword [ebp - 0x1c], 0x40000
je 0x3028ea1
jmp case.0x3028cbe.1
cmp dword [ebp - 0x1c], 0x2000000
je 0x3028e1d
cmp dword [ebp - 0x1c], 0x4000000
je 0x3028e29
jmp case.0x3028cbe.1
cmp dword [ebp - 0x1c], 0x40000000
ja 0x3028dab
cmp dword [ebp - 0x1c], 0x40000000
je 0x3028e5e
cmp dword [ebp - 0x1c], 0x10000000
je 0x3028e41
cmp dword [ebp - 0x1c], 0x20000000
je 0x3028e4a
jmp case.0x3028cbe.1
cmp dword [ebp - 0x1c], 0x80000000
je 0x3028e72
jmp case.0x3028cbe.1
mov dword [ebp - 0xc], 0x300335c
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003354
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003340
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x300332c
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003324
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x300331c
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003314
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003308
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032fc
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032f0
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032e4
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032dc
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3001bcb
movzx eax, word [ebp - 4]
or eax, 1
mov word [ebp - 4], ax
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3001bcb
movzx ecx, word [ebp - 4]
or ecx, 2
mov word [ebp - 4], cx
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3001bcb
movzx edx, word [ebp - 4]
or edx, 4
mov word [ebp - 4], dx
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032d0
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032c4
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032b0
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032a8
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x30032a0
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3003294
jmp 0x3028ec3
mov dword [ebp - 0xc], 0x3002f78
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x3028edf
mov edx, dword [ebp - 0xc]
push edx
push 0x3003364
call dword [0x30ef88c]
add esp, 8
jmp 0x3028c39
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x24]
and ecx, 0x700000
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 0x400000
ja 0x3028f22
cmp dword [ebp - 0x20], 0x400000
je 0x3028f61
cmp dword [ebp - 0x20], 0x100000
je 0x3028f46
cmp dword [ebp - 0x20], 0x200000
je 0x3028f4f
cmp dword [ebp - 0x20], 0x300000
je 0x3028f58
jmp 0x3028f3d
cmp dword [ebp - 0x20], 0x500000
je 0x3028f6a
cmp dword [ebp - 0x20], 0x600000
je 0x3028f73
cmp dword [ebp - 0x20], 0x700000
je 0x3028f7c
mov dword [ebp - 0xc], 0x300327c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300326c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300325c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300324c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300323c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300322c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300321c
jmp 0x3028f83
mov dword [ebp - 0xc], 0x300320c
mov edx, dword [ebp - 0xc]
push edx
push 0x3003364
call dword [0x30ef88c]
add esp, 8
movzx eax, word [ebp - 4]
test eax, eax
je 0x3029015
movzx ecx, word [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 6
ja case.default.0x3028fb6
mov eax, dword [ebp - 0x24]
jmp dword [eax*4 + 0x3029130]
mov dword [ebp - 0xc], 0x30031fc
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031f0
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031e0
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031d4
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031c4
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031b8
jmp 0x3029003
mov dword [ebp - 0xc], 0x30031a4
jmp 0x3029003
mov dword [ebp - 0xc], 0x300318c
mov ecx, dword [ebp - 0xc]
push ecx
push 0x3003364
call dword [0x30ef88c]
add esp, 8
mov esp, ebp
pop ebp
ret 8