Function at 0x14001b7c0
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 0x14001b82f
xor eax, eax
jmp 0x14001bbf8
mov r8d, 0x40
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.14001d250
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.14001d250
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.14001d250
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001b8d1
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x180], eax
jmp 0x14001b90e
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 0x14001b94f
mov eax, dword [rsp + 0x198]
inc eax
mov dword [rsp + 0x198], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x198], eax
jae 0x14001bbc8
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 0x14001b9d5
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 0x14001ba62
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001ba2b
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ba18
mov eax, dword [rsp + 0x1a4]
or eax, 0x40
mov dword [rsp + 0x1a4], eax
jmp 0x14001ba29
mov eax, dword [rsp + 0x1a4]
or eax, 0x20
mov dword [rsp + 0x1a4], eax
jmp 0x14001ba60
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ba4f
mov eax, dword [rsp + 0x1a4]
bts eax, 7
mov dword [rsp + 0x1a4], eax
jmp 0x14001ba60
mov eax, dword [rsp + 0x1a4]
or eax, 0x10
mov dword [rsp + 0x1a4], eax
jmp 0x14001badc
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001baa8
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ba95
mov eax, dword [rsp + 0x1a4]
or eax, 4
mov dword [rsp + 0x1a4], eax
jmp 0x14001baa6
mov eax, dword [rsp + 0x1a4]
or eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x14001badc
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001bacb
mov eax, dword [rsp + 0x1a4]
or eax, 8
mov dword [rsp + 0x1a4], eax
jmp 0x14001badc
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 0x14001bb19
jmp 0x14001bbdd
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 0x14001bb5f
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 0x14001bbac
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 0x14001b93f
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14001bbf8
cmp qword [rsp + 0x188], 0
je 0x14001bbf6
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x1b8
ret