Function at 0x14001e780
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 0x14001e7ef
xor eax, eax
jmp 0x14001ebb8
mov r8d, 0x40
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.140020210
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.140020210
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.140020210
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001e891
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x180], eax
jmp 0x14001e8ce
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 0x14001e90f
mov eax, dword [rsp + 0x198]
inc eax
mov dword [rsp + 0x198], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x198], eax
jae 0x14001eb88
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 0x14001e995
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 0x14001ea22
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001e9eb
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001e9d8
mov eax, dword [rsp + 0x1a4]
or eax, 0x40
mov dword [rsp + 0x1a4], eax
jmp 0x14001e9e9
mov eax, dword [rsp + 0x1a4]
or eax, 0x20
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea20
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ea0f
mov eax, dword [rsp + 0x1a4]
bts eax, 7
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea20
mov eax, dword [rsp + 0x1a4]
or eax, 0x10
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea9c
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001ea68
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ea55
mov eax, dword [rsp + 0x1a4]
or eax, 4
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea66
mov eax, dword [rsp + 0x1a4]
or eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea9c
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001ea8b
mov eax, dword [rsp + 0x1a4]
or eax, 8
mov dword [rsp + 0x1a4], eax
jmp 0x14001ea9c
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 0x14001ead9
jmp 0x14001eb9d
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 0x14001eb1f
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 0x14001eb6c
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 0x14001e8ff
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x14001ebb8
cmp qword [rsp + 0x188], 0
je 0x14001ebb6
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x1b8
ret