Function at 0x1400227a0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400d7020]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, qword [0x1400db6b0]
mov rax, qword [0x1400db6b8]
sub rax, rbx
cmp rax, 8
jb 0x140022b0b
mov rbx, qword [rbx]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x1f4
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1400db500], eax
mov edx, eax
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x3c]
lea r8, [0x1400d7d48]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rbx + 8]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 7]
lea r8, [0x1400db220]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [0x1400db500]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 7]
lea r8, [0x1400db220]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [0x1400db500]
lea r8d, [rcx + 0x64]
lea edx, [rcx + 0x31]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [0x1400db500]
lea rdx, [0x1400c2aa4]
lea rcx, [rsp + 0x70]
call fcn.140021c20
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], dil
jne 0x1400228d0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001d660
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140022630
mov rcx, qword [rax]
movzx eax, byte [rcx]
mov byte [rsp + 0x68], al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002294c
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022939
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022b32
call fcn.140079a70
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140022989
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022984
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022b38
call fcn.140079a70
mov edx, dword [0x1400db500]
add edx, 0xc
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x68]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x70]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400229c5
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14001d660
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140022630
mov rax, qword [rax]
movzx eax, byte [rax + 1]
mov byte [rsp + 0x69], al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140022a45
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022a32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022b3e
call fcn.140079a70
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140022a82
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022a7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022b2c
call fcn.140079a70
mov edx, dword [0x1400db500]
add edx, 0xb
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x69]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x1400db510]
dec eax
cmp eax, 1
ja 0x140022ae0
mov byte [rsp + 0x6a], 0x50
mov edx, dword [0x1400db500]
add edx, 0x13
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x6a]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [rsp + 0x6b], 1
mov edx, dword [0x1400db500]
add edx, 0x5e
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x6b]
mov rcx, qword [0x1400db228]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140079a50
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14008c06c
nop
call fcn.14008c06c
nop
call fcn.14008c06c
nop
call fcn.14008c06c
int3