Function at 0x140041a50
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 esi, esi
mov qword [rbp + 7], rsi
mov r12, qword [0x1400a6c70]
test r12, r12
jne 0x140041abe
lea ecx, [rsi + 0x10]
call fcn.140084644
mov r12, rax
mov qword [rbp - 0x11], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov qword [0x1400a6c70], rax
movups xmmword [rbp - 0x41], xmm0
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm0
mov r15, rsi
mov edi, esi
xor r13b, r13b
test r13b, r13b
jne 0x140041bf1
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 0x140041bda
mov rcx, qword [rbp - 0x29]
call fcn.1400848c0
mov r14, rax
mov qword [rsp + 0x20], rsi
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 rbx, qword [rbp - 0x29]
test rbx, rbx
je 0x140041bd0
xor r11d, r11d
mov r9, qword [rbp - 1]
nop dword [rax]
lea r8, [0x140099d68]
mov dl, 0x78
lea r10, str.xxxxxxxxxxxxxxxxxxxx
mov rax, r10
mov rcx, r11
sub rcx, r10
lea r10, [rcx + r14]
nop dword [rax]
cmp dl, 0x78
jne 0x140041b6f
movzx ecx, byte [r8]
cmp byte [r10 + rax], cl
jne 0x140041bbd
inc r8
inc rax
movzx edx, byte [rax]
test dl, dl
jne 0x140041b60
mov rcx, qword [rbp - 0x41]
add rcx, r11
mov qword [rbp - 0x11], rcx
cmp r9, qword [rbp + 7]
je 0x140041b9e
mov qword [r9], rcx
mov r9, qword [rbp - 1]
add r9, 8
mov qword [rbp - 1], r9
jmp 0x140041bb2
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 0x140041bcd
mov rbx, qword [rbp - 0x29]
inc esi
movsxd r11, esi
cmp r11, rbx
jb 0x140041b40
jmp 0x140041bd0
mov r13b, 1
mov rcx, r14
call fcn.140084558
xor esi, esi
add r15, qword [rbp - 0x29]
movabs rax, 0x7fffffffffff
cmp r15, rax
jb 0x140041ad2
mov r14d, esi
mov rax, qword [rbp - 1]
mov r8, qword [rbp - 9]
sub rax, r8
sar rax, 3
test rax, rax
je 0x140041d49
mov rbx, rsi
nop
mov dword [rbp + 0xf], 0x8ccccd00
mov dword [rbp + 0x13], 0xf5c28f3f
mov dword [rbp + 0x17], 0xcccccd3c
mov dword [rbp + 0x1b], 0x73d
mov dword [rbp + 0x1f], 0xffb1e000
mov byte [rbp + 0x23], 0xff
mov rdi, qword [rbx + r8]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x140041c63
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
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 rax, qword [rbp - 9]
mov rdi, qword [rbx + rax]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x140041cb2
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], esi
mov qword [0x1400a6c70], rax
mov qword [rsp + 0x20], rsi
mov r9d, reloc.WS2_32.dll_setsockopt
lea r8, [rbp + 0xf]
mov rdx, rdi
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, dword [rbp - 0x11]
mov rax, qword [rbp - 9]
mov rsi, qword [rbx + rax]
mov rax, qword [0x1400a6c70]
test rax, rax
jne 0x140041d04
lea ecx, [rax + 0x10]
call fcn.140084644
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 0
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]
inc r14d
add rbx, 8
mov rcx, qword [rbp - 1]
mov r8, qword [rbp - 9]
sub rcx, r8
sar rcx, 3
movsxd rax, r14d
cmp rax, rcx
mov esi, 0
jb 0x140041c10
test r8, r8
je 0x140041d89
mov rdx, qword [rbp + 7]
sub rdx, r8
and rdx, 0xfffffffffffffff8
mov rax, r8
cmp rdx, 0x1000
jb 0x140041d81
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140041d81
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 + 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