Function at 0x14009f190
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 [0x1403c85c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rbx, qword [0x140407328]
mov rax, qword [0x140407330]
sub rax, rbx
cmp rax, 8
jb 0x14009f561
mov rbx, qword [rbx]
mov dword [rsp + 0x20], 0x40
xor edx, edx
mov r9d, 0x1000
mov r8d, 0x1f4
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [0x1403d5430], eax
lea rdx, str.HOOK_ADDRESS__
lea rcx, [0x1403d3710]
call fcn.140088a00
mov edx, dword [0x1403d5430]
mov rcx, rax
call fcn.1400a89a0
mov rcx, rax
call fcn.140088cb0
mov edx, dword [0x1403d5430]
xor edi, edi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x3c]
lea r8, [0x1403c9a78]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [rbx + 8]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 7]
lea r8, [0x1403d5420]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov edx, dword [0x1403d5430]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 7]
lea r8, [0x1403d5420]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [0x1403d5430]
lea r8d, [rcx + 0x64]
lea edx, [rcx + 0x31]
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 4]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r8d, dword [0x1403d5430]
lea rdx, [0x140392e30]
lea rcx, [rsp + 0x70]
call fcn.14008f590
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 0x14009f2f0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14005ecd0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14009f020
mov rcx, qword [rax]
movzx eax, byte [rcx]
mov byte [rsp + 0x69], al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009f36c
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f588
call fcn.14029a2f0
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14009f3a9
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f3a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f58e
call fcn.14029a2f0
mov edx, dword [0x1403d5430]
add edx, 0xc
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x69]
mov rcx, qword [0x1403d5380]
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 0x14009f3e5
mov r8, rbx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14005ecd0
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.14009f020
mov rax, qword [rax]
movzx eax, byte [rax + 1]
mov byte [rsp + 0x6a], al
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14009f465
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f452
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f594
call fcn.14029a2f0
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14009f4a2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f49d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f582
call fcn.14029a2f0
cmp dword [0x1403d560c], 2
jne 0x14009f4d6
mov byte [rsp + 0x68], 0x40
mov edx, dword [0x1403d5430]
add edx, 0x13
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x68]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edx, dword [0x1403d5430]
add edx, 0xb
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x6a]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [0x1403d560c]
dec eax
test eax, 0xfffffffd
jne 0x14009f536
mov byte [rsp + 0x68], 0x50
mov edx, dword [0x1403d5430]
add edx, 0x13
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x68]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov byte [rsp + 0x6b], 1
mov edx, dword [0x1403d5430]
add edx, 0x5e
mov qword [rsp + 0x20], rdi
mov r9d, 1
lea r8, [rsp + 0x6b]
mov rcx, qword [0x1403d5380]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14029a090
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.1402a9edc
nop
call fcn.1402a9edc
nop
call fcn.1402a9edc
nop
call fcn.1402a9edc
int3