Function at 0x140011de0
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 0x140011e4f
xor eax, eax
jmp 0x140012218
mov r8d, 0x40
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x20]
call fcn.140013ca0
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.140013ca0
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.140013ca0
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x140011ef1
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x180], eax
jmp 0x140011f2e
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 0x140011f6f
mov eax, dword [rsp + 0x198]
inc eax
mov dword [rsp + 0x198], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x198], eax
jae 0x1400121e8
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 0x140011ff5
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 0x140012082
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x14001204b
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x140012038
mov eax, dword [rsp + 0x1a4]
or eax, 0x40
mov dword [rsp + 0x1a4], eax
jmp 0x140012049
mov eax, dword [rsp + 0x1a4]
or eax, 0x20
mov dword [rsp + 0x1a4], eax
jmp 0x140012080
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x14001206f
mov eax, dword [rsp + 0x1a4]
bts eax, 7
mov dword [rsp + 0x1a4], eax
jmp 0x140012080
mov eax, dword [rsp + 0x1a4]
or eax, 0x10
mov dword [rsp + 0x1a4], eax
jmp 0x1400120fc
mov eax, dword [rsp + 0x19c]
and eax, 0x40000000
test eax, eax
je 0x1400120c8
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x1400120b5
mov eax, dword [rsp + 0x1a4]
or eax, 4
mov dword [rsp + 0x1a4], eax
jmp 0x1400120c6
mov eax, dword [rsp + 0x1a4]
or eax, 2
mov dword [rsp + 0x1a4], eax
jmp 0x1400120fc
mov eax, dword [rsp + 0x19c]
and eax, 0x80000000
test eax, eax
je 0x1400120eb
mov eax, dword [rsp + 0x1a4]
or eax, 8
mov dword [rsp + 0x1a4], eax
jmp 0x1400120fc
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 0x140012139
jmp 0x1400121fd
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 0x14001217f
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 0x1400121cc
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 0x140011f5f
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140012218
cmp qword [rsp + 0x188], 0
je 0x140012216
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x1b8
ret