Function at 0x1400132c0
Capabilities:
Inspect section memory permissions

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1b8
mov dword [rsp + 0x198], 0
mov dword [rsp + 0x184], 0
mov qword [rsp + 0x190], 0
mov dword [rsp + 0x180], 0
mov qword [rsp + 0x188], 0
mov edx, 0xfa0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x188], rax
cmp qword [rsp + 0x188], 0
jne 0x14001332f
xor eax, eax
jmp 0x1400136f8
mov r8d, 0x40
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.140015180
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1c0]
add rcx, rax
mov rax, rcx
mov r8d, 0x108
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140015180
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1c0]
lea rax, [rcx + rax + 0x108]
mov qword [rsp + 0x190], rax
movzx eax, word [rsp + 0x76]
imul rax, rax, 0x28
mov r8d, eax
mov rdx, qword [rsp + 0x190]
mov rcx, qword [rsp + 0x188]
call fcn.140015180
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x1400133d1
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x180], eax
jmp 0x14001340e
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x180]
inc eax
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x180]
imul eax, dword [rsp + 0xa8]
mov dword [rsp + 0x180], eax
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x198], 0
jmp 0x14001344f
mov eax, dword [rsp + 0x198]
inc eax
mov dword [rsp + 0x198], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x198], eax
jae 0x1400136c8
mov dword [rsp + 0x180], 0
mov eax, dword [rsp + 0x198]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x198]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax + 0x24]
mov dword [rsp + 0x19c], eax
mov dword [rsp + 0x1a4], 0
mov eax, dword [rsp + 0x19c]
and eax, 0x4000000
test eax, eax
je 0x1400134d5
mov eax, dword [rsp + 0x1a4]
bts eax, 9
mov dword [rsp + 0x1a4], eax
mov eax, dword [rsp + 0x19c]
and eax, 0x20000000
test eax, eax
je 0x140013562
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001352b
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x140013518
mov eax, dword [rsp + 0x1a4]
or eax, 0x40
mov dword [rsp + 0x1a4], eax
jmp 0x140013529
mov eax, dword [rsp + 0x1a4]
or eax, 0x20
mov dword [rsp + 0x1a4], eax
jmp 0x140013560
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001354f
mov eax, dword [rsp + 0x1a4]
bts eax, 7
mov dword [rsp + 0x1a4], eax
jmp 0x140013560
mov eax, dword [rsp + 0x1a4]
or eax, 0x10
mov dword [rsp + 0x1a4], eax
jmp 0x1400135dc
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x1400135a8
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x140013595
mov eax, dword [rsp + 0x1a4]
or eax, 4
mov dword [rsp + 0x1a4], eax
jmp 0x1400135a6
mov eax, dword [rsp + 0x1a4]
or eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x1400135dc
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x1400135cb
mov eax, dword [rsp + 0x1a4]
or eax, 8
mov dword [rsp + 0x1a4], eax
jmp 0x1400135dc
mov eax, dword [rsp + 0x1a4]
or eax, 1
mov dword [rsp + 0x1a4], eax
mov dword [rsp + 0x1a0], 0
mov eax, dword [rsp + 0x184]
lea r9, [rsp + 0x1a0]
mov r8d, dword [rsp + 0x1a4]
mov edx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140013619
jmp 0x1400136dd
mov eax, dword [rsp + 0x198]
imul rax, rax, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax + 8]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001365f
mov eax, dword [rsp + 0x198]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x180], eax
jmp 0x1400136ac
mov eax, dword [rsp + 0x198]
imul rax, rax, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x188]
mov eax, dword [rcx + rax + 8]
div dword [rsp + 0xa8]
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x180]
inc eax
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x180]
imul eax, dword [rsp + 0xa8]
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x180]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x14001343f
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x1400136f8
cmp qword [rsp + 0x188], 0
je 0x1400136f6
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x1b8
ret