Function at 0x1400222f0
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 0x14002237c
xor eax, eax
jmp 0x14002264b
mov r8d, 0x40
mov rdx, qword [rsp + 0x1d0]
lea rcx, [rsp + 0x20]
call fcn.140023930
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.140023930
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 0x140022407
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x14002264b
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.140023930
mov r8d, dword [rsp + 0x1ac]
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x68]
call fcn.140023930
xor edx, edx
mov eax, dword [rsp + 0xc4]
div dword [rsp + 0xa8]
mov eax, edx
test eax, eax
jne 0x1400224a0
mov eax, dword [rsp + 0xc4]
mov dword [rsp + 0x188], eax
jmp 0x1400224dd
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 0x140022511
mov eax, dword [rsp + 0x1a8]
inc eax
mov dword [rsp + 0x1a8], eax
movzx eax, word [rsp + 0x76]
cmp dword [rsp + 0x1a8], eax
jae 0x140022635
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.140023930
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 0x1400225cc
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 0x140022619
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 0x140022501
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, qword [rsp + 0x180]
add rsp, 0x1c8
ret