Function at 0x140041700
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1400a6080]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
xor esi, esi
mov qword [rbp + 0x17], rsi
mov r12, qword [0x1400a6c70]
test r12, r12
jne 0x14004176e
lea ecx, [rsi + 0x10]
call fcn.140084644
mov r12, rax
mov qword [rbp + 0x1f], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov qword [0x1400a6c70], rax
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
movups xmmword [rbp - 0x11], xmm0
mov r15, rsi
mov edi, esi
xor r13b, r13b
test r13b, r13b
jne 0x1400418a1
mov r9d, Ordinal_50
lea r8, [rbp - 0x31]
mov rdx, r15
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [rbp - 0x11], 0x10000
je 0x14004188a
mov rcx, qword [rbp - 0x19]
call fcn.1400848c0
mov r14, rax
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x19]
mov r8, rax
mov rdx, qword [rbp - 0x31]
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x19]
test rbx, rbx
je 0x140041880
xor r11d, r11d
mov r9, qword [rbp + 0xf]
nop dword [rax]
lea r8, str.____
mov dl, 0x3f
lea r10, str.___xxxxxxxxx____________________xxxxxxxxxxxx
mov rax, r10
mov rcx, r11
sub rcx, r10
lea r10, [rcx + r14]
nop dword [rax]
cmp dl, 0x78
jne 0x14004181f
movzx ecx, byte [r8]
cmp byte [r10 + rax], cl
jne 0x14004186d
inc r8
inc rax
movzx edx, byte [rax]
test dl, dl
jne 0x140041810
mov rcx, qword [rbp - 0x31]
add rcx, r11
mov qword [rbp + 0x1f], rcx
cmp r9, qword [rbp + 0x17]
je 0x14004184e
mov qword [r9], rcx
mov r9, qword [rbp + 0xf]
add r9, 8
mov qword [rbp + 0xf], r9
jmp 0x140041862
lea r8, [rbp + 0x1f]
mov rdx, r9
lea rcx, [rbp + 7]
call fcn.140041fc0
mov r9, qword [rbp + 0xf]
inc edi
cmp edi, 0x14
jge 0x14004187d
mov rbx, qword [rbp - 0x19]
inc esi
movsxd r11, esi
cmp r11, rbx
jb 0x1400417f0
jmp 0x140041880
mov r13b, 1
mov rcx, r14
call fcn.140084558
xor esi, esi
add r15, qword [rbp - 0x19]
movabs rax, 0x7fffffffffff
cmp r15, rax
jb 0x140041782
mov r14d, esi
mov rax, qword [rbp + 0xf]
mov r8, qword [rbp + 7]
sub rax, r8
sar rax, 3
test rax, rax
je 0x1400419e0
mov rbx, rsi
nop
mov dword [rbp + 0x1f], 0x3db851ec
mov dword [rbp + 0x23], 0x3cf5c28f
mov rdi, qword [rbx + r8]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x1400418fa
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov qword [0x1400a6c70], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x38]
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rax, qword [rbp + 7]
mov rdi, qword [rbx + rax]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x140041949
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov qword [0x1400a6c70], rax
mov qword [rsp + 0x20], rsi
mov r9d, 8
lea r8, [rbp + 0x1f]
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, dword [rbp - 1]
mov rax, qword [rbp + 7]
mov rsi, qword [rbx + rax]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x14004199b
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 0
mov qword [0x1400a6c70], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8d, 8
mov rdx, rsi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
inc r14d
add rbx, 8
mov rcx, qword [rbp + 0xf]
mov r8, qword [rbp + 7]
sub rcx, r8
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
mov esi, 0
jb 0x1400418c0
test r8, r8
je 0x140041a20
mov rdx, qword [rbp + 0x17]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x140041a18
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041a18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140084558
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140084530
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret