Function at 0x14001c380
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 0x14001c40c
xor eax, eax
jmp 0x14001c6db
mov r8d, 0x40
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.14001d9c0
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.14001d9c0
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 0x14001c497
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14001c6db
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.14001d9c0
mov r8d, dword [rsp + 0x1ac]
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.14001d9c0
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x14001c530
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x188], eax
jmp 0x14001c56d
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 0x14001c5a1
mov eax, dword [rsp + 0x1a8]
inc eax
mov dword [rsp + 0x1a8], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x1a8], eax
jae 0x14001c6c5
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.14001d9c0
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 0x14001c65c
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 0x14001c6a9
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 0x14001c591
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x180]
add rsp, 0x1c8
ret