Function at 0x140040f40
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, 0xb0
mov rax, qword [0x1400a6080]
xor rax, rsp
mov qword [rbp + 0x27], rax
xorps xmm0, xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
xor ebx, ebx
mov qword [rbp + 7], rbx
mov r12, qword [0x1400a6c70]
test r12, r12
jne 0x140040fae
lea ecx, [rbx + 0x10]
call fcn.140084644
mov r12, rax
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], ebx
mov qword [0x1400a6c70], rax
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
mov r15, rbx
mov edi, ebx
xor r13b, r13b
test r13b, r13b
jne 0x1400410e1
mov r9d, Ordinal_50
lea r8, [rbp - 0x41]
mov rdx, r15
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp dword [rbp - 0x21], 0x10000
je 0x1400410ca
mov rcx, qword [rbp - 0x29]
call fcn.1400848c0
mov r14, rax
mov qword [rsp + 0x20], rbx
mov r9, qword [rbp - 0x29]
mov r8, rax
mov rdx, qword [rbp - 0x41]
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, ebx
mov rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x1400410c0
xor r11d, r11d
mov r9, qword [rbp - 1]
nop dword [rax + rax]
lea r8, [0x140099dd0]
mov dl, 0x78
lea r10, str.xxxxxxxxxxxxxxxx________________xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
mov rax, r10
mov rcx, r11
sub rcx, r10
lea r10, [rcx + r14]
nop dword [rax]
cmp dl, 0x78
jne 0x14004105f
movzx ecx, byte [r8]
cmp byte [r10 + rax], cl
jne 0x1400410ad
inc r8
inc rax
movzx edx, byte [rax]
test dl, dl
jne 0x140041050
mov rcx, qword [rbp - 0x41]
add rcx, r11
mov qword [rbp - 0x11], rcx
cmp r9, qword [rbp + 7]
je 0x14004108e
mov qword [r9], rcx
mov r9, qword [rbp - 1]
add r9, 8
mov qword [rbp - 1], r9
jmp 0x1400410a2
lea r8, [rbp - 0x11]
mov rdx, r9
lea rcx, [rbp - 9]
call fcn.140041fc0
mov r9, qword [rbp - 1]
inc edi
cmp edi, 0x64
jge 0x1400410bd
mov rbx, qword [rbp - 0x29]
inc esi
movsxd r11, esi
cmp r11, rbx
jb 0x140041030
jmp 0x1400410c0
mov r13b, 1
mov rcx, r14
call fcn.140084558
xor ebx, ebx
add r15, qword [rbp - 0x29]
movabs rax, 0x7fffffffffff
cmp r15, rax
jb 0x140040fc2
mov rbx, qword [rbp - 9]
mov r14, qword [rbp - 1]
cmp rbx, r14
je 0x1400412a1
xor r15d, r15d
nop word [rax + rax]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
mov qword [rbp + 0x1f], r15
mov ecx, 8
call fcn.140084644
mov qword [rbp + 0xf], rax
lea rcx, [rax + 8]
mov qword [rbp + 0x1f], rcx
xor edx, edx
mov qword [rax], rdx
mov qword [rbp + 0x17], rcx
mov rdi, qword [rbx]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x140041157
lea ecx, [rdx + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r15d
mov qword [0x1400a6c70], rax
lea rcx, [rbp - 0x11]
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 rsi, qword [rbp + 0xf]
mov rdi, qword [rbx]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x1400411a6
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r15d
mov qword [0x1400a6c70], rax
mov qword [rsp + 0x20], r15
mov r9d, 8
mov r8, rsi
lea rdx, [rdi + 0x60]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rsi, qword [rbp + 0xf]
mov rdi, qword [rbx]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x1400411f1
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r15d
mov qword [0x1400a6c70], rax
mov qword [rsp + 0x20], r15
mov r9d, 8
mov r8, rsi
lea rdx, [rdi + 0x5c]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, dword [rbp - 0x11]
mov rsi, qword [rbx]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x14004123b
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], r15d
mov qword [0x1400a6c70], rax
lea rcx, [rbp - 0x11]
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]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140041290
mov rdx, qword [rbp + 0x1f]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004128b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400412d9
call fcn.140084558
add rbx, 8
cmp rbx, r14
jne 0x140041100
mov rbx, qword [rbp - 9]
test rbx, rbx
je 0x1400412e8
mov rdx, qword [rbp + 7]
sub rdx, rbx
and rdx, 0xfffffffffffffff8
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400412e0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400412e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rbx
call fcn.140084558
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140084530
lea r11, [rsp + 0xb0]
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