Function at 0x18006d1d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

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 [0x180119070]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor esi, esi
mov rax, qword [0x180129070]
test rax, rax
je 0x18006d21e
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x18006d242
jmp 0x18006d221
mov rbx, rsi
mov r8d, 0x17c
lea rdx, str.D:_nolifeDocumentsonevade_fivemdrugdrug_impl_dx9.cpp
lea rcx, str.bd___nullptr___Did_you_call_DrUg_ImplDX9_Init____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [0x180129070]
cmp qword [rbx + 0x18], rsi
jne 0x18006d263
test rax, rax
je 0x18006d263
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x18006d263
cmp qword [rcx], rsi
je 0x18006d263
call fcn.180031e60
call fcn.180032fd0
call fcn.180007a30
movzx eax, byte [reloc.WS2_32.dll_accept]
movzx edi, al
mov rbx, qword [0x180129070]
test rbx, rbx
jne 0x18006d2ab
mov r8d, 0x10b0
lea rdx, str.D:_nolifeDocumentsonevade_fivemdrugdrug.cpp
lea rcx, str.GDrUg___0___No_current_context._Did_you_call_DrUg::CreateContext___and_DrUg::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, byte [reloc.WS2_32.dll_accept]
mov rbx, qword [0x180129070]
mov byte [rbx + 0x58], dil
test al, al
je 0x18006d5e9
lea rax, [rbp - 9]
mov qword [rbp - 0x39], rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
lea r12, [rbp + 0x5f]
movabs r13, 0xff00ff00ff00ff00
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r12
mov rdi, qword [r12]
xor rdi, r13
mov qword [rbp + 7], rdi
mov qword [r12], rsi
mov ecx, esi
lea r15, [0x1800787c0]
lea r14, [0x180000000]
mov rax, qword [0x180129b30]
test rax, rax
je 0x18006d339
mov rdx, rsi
nop word [rax + rax]
cmp rax, r15
je 0x18006d328
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x129b30]
test rax, rax
jne 0x18006d310
jmp 0x18006d339
mov r8, qword [r14 + rdx*8 + 0x129810]
test r8, r8
jne 0x18006d41f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x18006d360
mov r8, rsi
jmp 0x18006d3fe
mov rax, r15
mov rcx, r8
mov edx, 3
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x18006d370
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x180129e50]
mov qword [r14 + rax*8 + 0x129b30], r15
mov qword [r14 + rax*8 + 0x129810], r8
inc rax
mov qword [0x180129e50], rax
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.USER32.dll_GetCursorPos]
call r8
nop
xor rdi, r13
mov qword [r12], rdi
movd xmm0, dword [rbp - 5]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4c], xmm0
movd xmm1, dword [rbp - 9]
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xe48], xmm1
mov dword [rbp - 0x39], 1
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x17], r12
mov rdi, qword [r12]
xor rdi, r13
mov qword [rbp + 7], rdi
mov qword [r12], rsi
mov ecx, esi
lea r15, [0x180078630]
mov rax, qword [0x180129e60]
test rax, rax
je 0x18006d4bb
mov rdx, rsi
cmp rax, r15
je 0x18006d4aa
inc ecx
mov edx, ecx
mov rax, qword [r14 + rcx*8 + 0x129e60]
test rax, rax
jne 0x18006d492
jmp 0x18006d4bb
mov r8, qword [r14 + rdx*8 + 0x1294f0]
test r8, r8
jne 0x18006d59f
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x18006d4e2
mov r8, rsi
jmp 0x18006d57e
mov rax, r15
mov rcx, r8
mov edx, 3
nop dword [rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x18006d4f0
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x18012a180]
mov qword [r14 + rax*8 + 0x129e60], r15
mov qword [r14 + rax*8 + 0x1294f0], r8
inc rax
mov qword [0x18012a180], rax
lea rdx, [rbp - 0x39]
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
nop
xor rdi, r13
mov qword [r12], rdi
test ax, ax
je 0x18006d5e2
mov byte [rbx + 0xe50], 1
mov byte [rbx + 0x3868], 1
mov eax, dword [rbx + 0xe48]
mov dword [rbx + 0x3818], eax
mov eax, dword [rbx + 0xe4c]
mov dword [rbx + 0x381c], eax
jmp 0x18006d5e9
mov byte [rbx + 0xe50], 0
movaps xmm0, xmmword [0x180104360]
movups xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.180003c50
mov edi, eax
mov dword [rbp - 9], 0x41200000
mov dword [rbp - 5], 0x41200000
mov dword [rbp - 0x39], 0xf3f7e7d9
mov dword [rbp - 0x35], 0x100d9c1
mov rcx, rsi
nop
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 6
jb 0x18006d620
mov byte [rbp - 0x32], 0
mov qword [rbp + 7], rsi
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
mov byte [rbp + 7], 0
lea rax, [rbp - 0x39]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], 0
jne 0x18006d656
lea rdx, [rbp - 0x39]
lea rcx, [rbp + 7]
call fcn.180075850
nop
mov dword [rsp + 0x20], edi
movss xmm3, dword [0x180103c00]
lea r8, [rbp - 9]
lea rdx, [rbp + 7]
mov rcx, qword [0x1801292c0]
call fcn.180052440
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x18006d6cd
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d6c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006d6c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
movaps xmm0, xmmword [0x180104360]
movups xmmword [rbp - 9], xmm0
lea rcx, [rbp - 9]
call fcn.180003c50
mov edi, eax
mov dword [rbp - 9], 0x41200000
movss xmm0, dword [0x180103c10]
movss dword [rbp - 5], xmm0
mov r9, qword [0x180129070]
test r9, r9
jne 0x18006d724
mov r8d, 0x10b0
lea rdx, str.D:_nolifeDocumentsonevade_fivemdrugdrug.cpp
lea rcx, str.GDrUg___0___No_current_context._Did_you_call_DrUg::CreateContext___and_DrUg::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [0x180129070]
cvttss2si edx, dword [r9 + 0xd4]
lea rcx, [rbp - 0x29]
call fcn.18004d0c0
mov rdx, rax
mov dword [rbp - 0x39], 0xbfcdcdda
mov dword [rbp - 0x35], 0x100819a
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x64]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 6
jb 0x18006d750
mov byte [rbp - 0x32], 0
lea rax, [rbp - 0x39]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x18006d770
mov r9, rbx
lea r8, [rbp - 0x39]
mov rcx, rdx
call fcn.18007dfc0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov byte [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
movss xmm3, dword [0x180103bf8]
lea r8, [rbp - 9]
lea rdx, [rbp + 7]
mov rcx, qword [0x1801293d0]
call fcn.180052830
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x18006d80b
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d805
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006d805
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0x10
jb 0x18006d849
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d844
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006d844
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800def0c
movaps xmm0, xmmword [0x1801041e0]
movups xmmword [rbp - 0x39], xmm0
mov eax, dword [0x180129284]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 9], xmm0
mov eax, dword [0x180129280]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 5], xmm0
lea rcx, [rbp - 0x39]
call fcn.180003c50
mov byte [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
movss xmm3, dword [0x180103bfc]
lea r8, [rbp - 9]
lea rdx, [0x180127ee0]
mov rcx, qword [0x1801293d0]
call fcn.180052830
cmp byte [0x180129079], 0
je 0x18006d8c1
call fcn.18005d150
call fcn.180009db0
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
mov dword [rsp + 0x30], esi
movss xmm0, dword [0x180103b68]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], esi
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x18006d9aa
call fcn.18000a270
mov rbx, qword [0x180129070]
cmp dword [rbx + 0x4ad8], 0
jg 0x18006d980
mov r8d, 0x782
lea rdx, str.D:_nolifeDocumentsonevade_fivemdrugdrug.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4ae0]
mov rcx, qword [rax]
add rcx, 0x48
cmp byte [rcx], 0
cmove rcx, rsi
call fcn.180031850
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x18006da21
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x18006da21
call fcn.1800320f0
mov rcx, qword [0x180129420]
mov rax, qword [rcx]
lea rdx, [0x1801293e0]
call qword [rax + 0x80]
mov rax, qword [0x180129070]
test rax, rax
je 0x18006da21
mov rax, qword [rax + 0x98]
test rax, rax
je 0x18006da21
cmp qword [rax], 0
je 0x18006da21
call fcn.180031e60
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800dec50
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