Function at 0x180022880
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rcx
mov eax, 0x1428
call fcn.1800c0d70
sub rsp, rax
mov rax, qword [0x18047d0c0]
xor rax, rsp
mov qword [rsp + 0x1410], rax
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x40]
call fcn.18001c4c0
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.18002e000
mov rcx, rax
call fcn.1800191a0
mov qword [rsp + 0x38], rax
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x80]
call fcn.18002d350
mov r8w, 0xffff
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.18002d0a0
mov r8d, 0xffffffff
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.18002a180
mov r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.18002d060
mov rax, qword [rsp + 0x1430]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1430]
add rax, qword [rcx + 0x10]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1430]
add rax, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov r8d, 4
mov edx, 0x108
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022982
xor al, al
jmp 0x180022d3b
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x16], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 4], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x10], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0xc], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 6], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x14], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 8], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x28], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x2c], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x58], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x5e], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x3c], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.180037940
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x30], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.180037940
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x78], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x68]
call fcn.180037940
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x70], rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x80], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x44], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x46], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
movzx eax, ax
and rax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x1a], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
movzx eax, ax
and rax, 0xff
mov rcx, qword [rsp + 0x20]
mov byte [rcx + 0x1b], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x40], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x42], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x48], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x4a], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x84], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x38], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x1c], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x54], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x50], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x20], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x24], eax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x50]
call fcn.180037910
mov rcx, qword [rsp + 0x20]
mov word [rcx + 0x5c], ax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180037780
mov rcx, qword [rsp + 0x20]
mov dword [rcx + 0x4c], eax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x1430]
add rax, qword [rcx + 0x10]
lea r9, [rsp + 0x60]
mov r8d, 2
mov edx, 0x108
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x180022d39
xor al, al
jmp 0x180022d3b
mov al, 1
mov rcx, qword [rsp + 0x1410]
xor rcx, rsp
call fcn.1800c00c0
add rsp, 0x1428
ret