Function at 0x303574c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, edx
push esi
push ecx
push 0x3017d24
call dword [0x3113310]
push 0x30184c4
call dword [0x3113310]
add esp, 0x10
mov eax, 0x3017d44
cmp dword [0x31131c4], 1
je 0x3035785
mov eax, 0x3017d58
push dword [esi + 0x18]
push dword [esi + 0x14]
push dword [esi + 0x10]
push dword [esi + 0xc]
push eax
push dword [esi + 8]
push 0x3017d68
call dword [0x3113310]
push dword [esi + 0x24]
movzx eax, word [esi + 0x22]
push eax
movzx eax, word [esi + 0x20]
push eax
push dword [esi + 0x1c]
push 0x3017de0
call dword [0x3113310]
mov ebx, dword [esi + 0x24]
xor edx, edx
add esp, 0x30
mov dword [ebp - 4], edx
cmp dword [0x31131c4], 3
mov edi, edx
jne 0x30358cd
mov esi, edx
test ebx, ebx
je 0x3035b38
mov eax, ebx
and eax, 1
je 0x30358bf
mov ecx, esi
shl eax, cl
mov ecx, 0x400
cmp eax, ecx
ja 0x3035856
je 0x303584f
sub eax, edx
je 0x3035848
sub eax, 0x20
je 0x303583e
sub eax, 0x20
je 0x3035835
sub eax, 0x40
je 0x303582e
sub eax, 0x80
je 0x3035821
sub eax, 0x100
jne 0x3035880
mov eax, 0x3017e84
jmp 0x303583a
mov eax, 0x3017e64
push 2
pop edi
jmp 0x30358af
mov eax, 0x3017e94
jmp 0x303583a
mov eax, 0x3017e64
push 6
jmp 0x3035828
mov eax, 0x3017e50
xor edi, edi
inc edi
jmp 0x30358af
mov eax, 0x3017e48
jmp 0x30358af
mov eax, 0x3017ea4
jmp 0x303583a
cmp eax, 0x800
je 0x30358aa
cmp eax, 0x8000000
je 0x30358a3
cmp eax, 0x10000000
je 0x303589c
cmp eax, 0x20000000
je 0x3035895
cmp eax, 0x40000000
je 0x303588e
cmp eax, 0x80000000
je 0x3035887
mov eax, 0x3017930
jmp 0x30358af
mov eax, 0x3017e58
jmp 0x3035843
mov eax, 0x3017eb0
jmp 0x30358af
mov eax, 0x3017ec0
jmp 0x3035843
mov eax, 0x3017e78
jmp 0x30358af
mov eax, 0x3017e6c
jmp 0x30358af
mov eax, 0x3017eb8
push eax
push 0x3017ed8
call dword [0x3113310]
pop ecx
pop ecx
xor edx, edx
inc esi
shr ebx, 1
jne 0x30357df
jmp 0x3035ad7
and ebx, 0xff8fffff
je 0x3035a5b
mov eax, ebx
and eax, 1
je 0x3035a4f
mov ecx, edx
shl eax, cl
cmp eax, 0x10000
ja 0x30359b1
je 0x30359a7
mov ecx, 0x200
cmp eax, ecx
ja 0x303595f
je 0x3035955
sub eax, 8
je 0x303594b
sub eax, 0x18
je 0x3035941
sub eax, 0x20
je 0x3035937
sub eax, 0x40
je 0x303592d
sub eax, 0x80
jne 0x3035a23
mov eax, 0x3017f34
jmp 0x3035a3e
mov eax, 0x3017f20
jmp 0x3035a3e
mov eax, 0x3017f00
jmp 0x3035a3e
mov eax, 0x3017ef0
jmp 0x3035a3e
mov eax, 0x3017ee8
jmp 0x3035a3e
mov eax, 0x3017f3c
jmp 0x3035a3e
cmp eax, 0x800
je 0x303599d
cmp eax, 0x1000
je 0x3035993
cmp eax, 0x4000
je 0x3035989
cmp eax, 0x8000
jne 0x3035a23
mov eax, 0x3017f84
jmp 0x3035a3e
mov eax, 0x3017fc4
jmp 0x3035a3e
mov eax, 0x3017f4c
jmp 0x3035a3e
mov eax, 0x3017f44
jmp 0x3035a3e
mov eax, 0x3017f90
jmp 0x3035a3e
cmp eax, 0x8000000
ja 0x3035a07
je 0x3035a00
cmp eax, 0x20000
je 0x30359f9
cmp eax, 0x40000
je 0x30359f2
cmp eax, 0x80000
je 0x30359eb
cmp eax, 0x2000000
je 0x30359e4
cmp eax, 0x4000000
jne 0x3035a23
mov eax, 0x3017f64
jmp 0x3035a3e
mov eax, 0x3017f58
jmp 0x3035a3e
mov eax, 0x3017fbc
jmp 0x3035a3e
mov eax, 0x3017fb4
jmp 0x3035a3e
mov eax, 0x3017fa0
jmp 0x3035a3e
mov eax, 0x3017f70
jmp 0x3035a3e
cmp eax, 0x10000000
je 0x3035a39
cmp eax, 0x20000000
je 0x3035a34
cmp eax, 0x40000000
je 0x3035a2f
cmp eax, 0x80000000
je 0x3035a2a
mov eax, 0x3017930
jmp 0x3035a3e
or edi, 4
jmp 0x3035a4f
or edi, 2
jmp 0x3035a4f
or edi, 1
jmp 0x3035a4f
mov eax, 0x3017f7c
push eax
push 0x3017ed8
call dword [0x3113310]
mov edx, dword [ebp - 4]
pop ecx
pop ecx
inc edx
shr ebx, 1
mov dword [ebp - 4], edx
jne 0x30358d9
mov eax, dword [esi + 0x24]
mov ecx, 0x700000
and eax, ecx
cmp eax, 0x100000
je 0x3035ac4
cmp eax, 0x200000
je 0x3035abd
cmp eax, 0x300000
je 0x3035ab6
cmp eax, 0x400000
je 0x3035aaf
cmp eax, 0x500000
je 0x3035aa8
cmp eax, 0x600000
je 0x3035aa1
cmp eax, ecx
je 0x3035a9a
mov eax, 0x3017fd0
jmp 0x3035ac9
mov eax, 0x3018048
jmp 0x3035ac9
mov eax, 0x3018038
jmp 0x3035ac9
mov eax, 0x3018028
jmp 0x3035ac9
mov eax, 0x3018018
jmp 0x3035ac9
mov eax, 0x3018008
jmp 0x3035ac9
mov eax, 0x3017ff8
jmp 0x3035ac9
mov eax, 0x3017fe8
push eax
push 0x3017ed8
call dword [0x3113310]
pop ecx
pop ecx
test di, di
je 0x3035b38
movzx eax, di
dec eax
je 0x3035b25
dec eax
je 0x3035b1e
dec eax
je 0x3035b17
dec eax
je 0x3035b10
dec eax
je 0x3035b09
dec eax
je 0x3035b02
dec eax
je 0x3035afb
mov eax, 0x30180c0
jmp 0x3035b2a
mov eax, 0x30180ac
jmp 0x3035b2a
mov eax, 0x30180a0
jmp 0x3035b2a
mov eax, 0x3018090
jmp 0x3035b2a
mov eax, 0x3018084
jmp 0x3035b2a
mov eax, 0x3018074
jmp 0x3035b2a
mov eax, 0x3018068
jmp 0x3035b2a
mov eax, 0x3018058
push eax
push 0x3017ed8
call dword [0x3113310]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret