Function at 0x14001ebd0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x1c8
mov dword [rsp + 0x1b0], 0
mov dword [rsp + 0x1ac], 0
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x1a8], 0
mov dword [rsp + 0x18c], 0
mov qword [rsp + 0x1a0], 0
mov dword [rsp + 0x190], 0
mov dword [rsp + 0x188], 0
mov edx, 0xfa0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0
jne 0x14001ec5c
xor eax, eax
jmp 0x14001ef2b
mov r8d, 0x40
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.140020210
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov r8d, 0x108
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140020210
mov eax, dword [rsp + 0xc0]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x180], rax
cmp qword [rsp + 0x180], 0
jne 0x14001ece7
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14001ef2b
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x1ac], eax
movsxd rax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x1d0]
lea rax, [rcx + rax + 0x108]
mov qword [rsp + 0x1a0], rax
movzx eax, word [rsp + 0x76]
imul rax, rax, 0x28
mov r8d, eax
mov rdx, qword [rsp + 0x1a0]
mov rcx, qword [rsp + 0x198]
call fcn.140020210
mov r8d, dword [rsp + 0x1ac]
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.140020210
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001ed80
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x188], eax
jmp 0x14001edbd
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
inc eax
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
imul eax, dword [rsp + 0xa8]
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x1a8], 0
jmp 0x14001edf1
mov eax, dword [rsp + 0x1a8]
inc eax
mov dword [rsp + 0x1a8], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x1a8], eax
jae 0x14001ef15
mov dword [rsp + 0x188], 0
mov eax, dword [rsp + 0x1a8]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0x18c], eax
mov eax, dword [rsp + 0x1a8]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax + 0x14]
mov rcx, qword [rsp + 0x1d0]
add rcx, rax
mov rax, rcx
mov r8d, dword [rsp + 0x18c]
mov rdx, rax
mov rcx, qword [rsp + 0x68]
call fcn.140020210
mov eax, dword [rsp + 0x1a8]
imul rax, rax, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax + 8]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001eeac
mov eax, dword [rsp + 0x1a8]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax + 8]
mov dword [rsp + 0x188], eax
jmp 0x14001eef9
mov eax, dword [rsp + 0x1a8]
imul rax, rax, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x198]
mov eax, dword [rcx + rax + 8]
div dword [rsp + 0xa8]
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
inc eax
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
imul eax, dword [rsp + 0xa8]
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x188]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
jmp 0x14001ede1
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x180]
add rsp, 0x1c8
ret