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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180107070]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov rax, qword [0x18014fa60]
test rax, rax
je 0x18005ff86
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x18005ffaa
jmp 0x18005ff89
mov rbx, r13
mov r8d, 0x17c
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug_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 [0x18014fa60]
cmp qword [rbx + 0x18], r13
jne 0x18005ffcb
test rax, rax
je 0x18005ffcb
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x18005ffcb
cmp qword [rcx], r13
je 0x18005ffcb
call fcn.18002f860
call fcn.1800309d0
call fcn.1800072e0
cmp byte [0x18014ff3b], r13b
je 0x180060338
mov rbx, qword [0x18014fa60]
test rbx, rbx
jne 0x18006000f
mov r8d, 0x10b0
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 rbx, qword [0x18014fa60]
lea rax, [rbp - 0x69]
mov qword [rbp - 0x79], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
lea r15, [rbp + 0x5f]
movabs r12, 0xff00ff00ff00ff00
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r15
mov rdi, qword [r15]
xor rdi, r12
mov qword [rbp - 0x59], rdi
mov qword [r15], r13
mov ecx, r13d
lea r14, [0x180068ab0]
lea rsi, [0x180000000]
mov rax, qword [0x18016e3a0]
test rax, rax
je 0x18006008a
mov rdx, r13
cmp rax, r14
je 0x180060079
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x16e3a0]
test rax, rax
jne 0x180060061
jmp 0x18006008a
mov r8, qword [rsi + rdx*8 + 0x16e080]
test r8, r8
jne 0x18006016f
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 0x1800600b1
mov r8, r13
jmp 0x18006014e
mov rax, r14
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 0x1800600c0
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 [0x18016e6c0]
mov qword [rsi + rax*8 + 0x16e3a0], r14
mov qword [rsi + rax*8 + 0x16e080], r8
inc rax
mov qword [0x18016e6c0], rax
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.USER32.dll_GetCursorPos]
call r8
nop
xor rdi, r12
mov qword [r15], rdi
movd xmm0, dword [rbp - 0x65]
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xe4c], xmm0
movd xmm1, dword [rbp - 0x69]
cvtdq2ps xmm1, xmm1
movss dword [rbx + 0xe48], xmm1
mov dword [rbp - 0x79], 1
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x51], r12
mov qword [rbp - 0x49], r15
mov rdi, qword [r15]
xor rdi, r12
mov qword [rbp - 0x59], rdi
mov qword [r15], r13
mov ecx, r13d
lea r14, [0x180068ae0]
mov rax, qword [0x18016e6d0]
test rax, rax
je 0x180060209
mov rdx, r13
cmp rax, r14
je 0x1800601f8
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x16e6d0]
test rax, rax
jne 0x1800601e0
jmp 0x180060209
mov r8, qword [rsi + rdx*8 + 0x16dd60]
test r8, r8
jne 0x1800602ef
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 0x180060230
mov r8, r13
jmp 0x1800602ce
mov rax, r14
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 0x180060240
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 [0x18016e9f0]
mov qword [rsi + rax*8 + 0x16e6d0], r14
mov qword [rsi + rax*8 + 0x16dd60], r8
inc rax
mov qword [0x18016e9f0], rax
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.USER32.dll_GetAsyncKeyState]
call r8
nop
xor rdi, r12
mov qword [r15], rdi
test ax, ax
je 0x180060331
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 0x180060338
mov byte [rbx + 0xe50], 0
mov rax, qword [0x18014fa60]
test rax, rax
jne 0x180060365
mov r8d, 0x10b0
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 rax, qword [0x18014fa60]
cvttss2si edx, dword [rax + 0xd4]
lea rcx, [rbp - 0x59]
call fcn.180041800
mov rdx, rax
mov dword [rbp - 0x79], 0xcabab8a1
mov dword [rbp - 0x75], 0x100ccd1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x19]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 6
jb 0x180060390
mov byte [rbp - 0x72], 0
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x1800603b2
lea r8, [rbp - 0x79]
mov rcx, rdx
call fcn.18006da50
mov qword [rbp - 0x19], r13
mov qword [rbp - 9], r13
mov qword [rbp - 1], r13
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x180060430
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006042b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006042b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
mov rdi, qword [0x18014fa60]
cmp dword [rdi + 0x4ad8], 0
jg 0x18006046a
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 [rdi + 0x4ae0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180006960
mov r15, rax
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rsi, qword [rbp - 0x19]
movaps xmm0, xmmword [0x1800f3800]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003ad0
mov r12d, eax
mov dword [rbp - 0x69], 0x41200000
mov dword [rbp - 0x65], 0x41200000
mov r14, qword [0x18014ffe0]
xorps xmm7, xmm7
test eax, 0xff000000
je 0x180060562
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x1800604d3
add rdi, rsi
cmp rsi, rdi
je 0x180060562
test r14, r14
jne 0x1800604f1
mov rax, qword [r15 + 0x38]
mov r14, qword [rax + 8]
mov rcx, qword [r14 + 0x40]
mov rax, qword [r15 + 0x98]
cmp qword [rcx + 8], rax
je 0x18006051c
mov r8d, 0x65c
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug_draw.cpp
lea rcx, str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movups xmm0, xmmword [r15 + 0x88]
movups xmmword [rbp - 0x79], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
lea r9, [rbp - 0x69]
movss xmm2, dword [0x1800f2f94]
mov rdx, r15
mov rcx, r14
call fcn.18002dd60
lea rdx, [0x18014e970]
lea rcx, [rbp - 0x39]
call fcn.180064700
nop
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rax, qword [rbp - 0x39]
mov rdi, qword [0x18014fa60]
test rax, rax
jne 0x180060592
movaps xmm6, xmm7
jmp 0x1800605e9
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1800f30e0]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800f30cc]
movss xmm2, dword [rdi + 0x3d40]
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 0x3d38]
call fcn.18002db40
movss xmm0, dword [rbp - 0x69]
addss xmm0, dword [0x1800f2ed8]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rdi, qword [0x18014fa60]
cmp dword [rdi + 0x4ad8], 0
jg 0x18006060c
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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 [rdi + 0x4ae0]
lea r8, str.Foreground
mov edx, 1
mov rcx, qword [rax]
call fcn.180006960
mov r14, rax
lea rdi, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdi, qword [rbp - 0x39]
movaps xmm0, xmmword [0x1800f3800]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003ad0
mov r15d, eax
mov eax, dword [0x18014ff18]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x18014ffd8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, dword [0x1800f2eac]
subss xmm0, xmm6
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
mov rsi, qword [0x18014ffe0]
test r15d, 0xff000000
je 0x180060733
inc rbx
cmp byte [rdi + rbx], 0
jne 0x1800606a0
add rbx, rdi
cmp rdi, rbx
je 0x180060733
test rsi, rsi
jne 0x1800606c2
mov rax, qword [r14 + 0x38]
mov rsi, qword [rax + 8]
mov r9, qword [rsi + 0x40]
mov rax, qword [r14 + 0x98]
cmp qword [r9 + 8], rax
je 0x1800606ed
mov r8d, 0x65c
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug_draw.cpp
lea rcx, str.font__ContainerAtlas__TexID___CmdHeader.TextureId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movups xmm0, xmmword [r14 + 0x88]
movups xmmword [rbp - 0x79], xmm0
mov byte [rsp + 0x48], 0
movss dword [rsp + 0x40], xmm7
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
lea rax, [rbp - 0x79]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x69]
movss xmm2, dword [0x1800f2f98]
mov rdx, r14
mov rcx, rsi
call fcn.18002dd60
cmp byte [0x18014fa6b], 0
je 0x180060741
call fcn.18005c9d0
call fcn.180009660
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r13d
movss xmm0, dword [0x1800f2ee0]
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], r13d
mov r9d, 3
xor r8d, r8d
xor edx, edx
call qword [rax + 0x158]
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x18006082c
call fcn.180009b20
mov rbx, qword [0x18014fa60]
cmp dword [rbx + 0x4ad8], 0
jg 0x180060802
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorPicturesCamera_Rollmetaowningwarzoneiiidrugdrug.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, r13
call fcn.18002f250
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x1800608a4
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x1800608a4
call fcn.18002faf0
mov rcx, qword [0x180150040]
mov rax, qword [rcx]
lea rdx, [0x180150000]
call qword [rax + 0x80]
mov rax, qword [0x18014fa60]
test rax, rax
je 0x1800608a4
mov rax, qword [rax + 0x98]
test rax, rax
je 0x1800608a4
cmp qword [rax], 0
je 0x1800608a4
call fcn.18002f860
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x1800608e2
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800608dd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800608dd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov qword [rbp - 0x29], r13
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x39], 0
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x180060930
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006092b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006092b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cf59c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800cf2e0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub rsp, 0x38
mov rdx, qword [0x18014fc68]
lea rcx, [0x18016dc60]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
movups xmmword [0x18016dc60], xmm0
movups xmmword [0x18016dc70], xmm0
movups xmmword [0x18016dc80], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1800609dc
lea rcx, [0x18016dc60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x18016dc60]
call qword [sym.imp.USER32.dll_DispatchMessageA]
add rsp, 0x38
jmp 0x18005ff30