Function at 0x6b882ee9
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
cmp dword [ebp + 8], 0
je 0x6b882f02
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x6b882f0c
mov eax, 0
jmp 0x6b883129
mov dword [ebp - 0x78], 1
mov dword [ebp - 0x74], 8
mov dword [ebp - 0x70], 2
mov dword [ebp - 0x6c], 4
mov dword [ebp - 0x68], 0x10
mov dword [ebp - 0x64], pe_nt_image_headers32
mov dword [ebp - 0x60], 0x20
mov dword [ebp - 0x5c], 0x40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 0x2c]
add eax, edx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, word [eax + 6]
movzx eax, ax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xf8
mov dword [ebp - 0x44], eax
mov dword [ebp - 0xc], 0
jmp 0x6b883118
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x44]
add eax, edx
mov eax, dword [eax + 8]
mov edx, 0
or eax, dword [ebp - 0x38]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x44]
add eax, edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x6b883113
mov edx, dword [ebp - 0xc]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
mov edx, eax
mov eax, dword [ebp - 0x44]
add eax, edx
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
and eax, 0x2000000
test eax, eax
je 0x6b883066
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x50]
mov ecx, edx
mov dword [esp + 8], 0x4000
mov edx, dword [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [esp], ecx
call eax
sub esp, 0xc
jmp 0x6b883114
mov eax, dword [ebp - 0x58]
and eax, 0x20000000
test eax, eax
je 0x6b883079
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 0x58]
and eax, 0x40000000
test eax, eax
je 0x6b88308c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x58]
test eax, eax
jns 0x6b88309a
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x58]
and eax, 0x4000000
test eax, eax
je 0x6b8830ad
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x14]
lea edx, [eax + eax]
mov eax, dword [ebp - 0x18]
add eax, edx
lea edx, [eax + eax]
mov eax, dword [ebp - 0x1c]
add eax, edx
mov eax, dword [ebp + eax*4 - 0x78]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x20], 0
je 0x6b8830d4
or dword [ebp - 0x10], 0x200
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x50]
mov ecx, edx
lea edx, [ebp - 0x7c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x54]
mov dword [esp + 4], edx
mov dword [esp], ecx
call eax
sub esp, 0x10
test eax, eax
sete al
test al, al
je 0x6b883114
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 5
mov eax, 0
jmp 0x6b883129
nop
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jl 0x6b882fa6
mov eax, 1
leave
ret