Function at 0x180061a10
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 [0x180109070]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov rax, qword [0x180151a70]
test rax, rax
je 0x180061016
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x18006103a
jmp 0x180061019
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 [0x180151a70]
cmp qword [rbx + 0x18], r13
jne 0x18006105b
test rax, rax
je 0x18006105b
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x18006105b
cmp qword [rcx], r13
je 0x18006105b
call fcn.18002f870
call fcn.1800309e0
call fcn.1800072f0
cmp byte [0x180151f5b], r13b
je 0x1800613c8
mov rbx, qword [0x180151a70]
test rbx, rbx
jne 0x18006109f
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 [0x180151a70]
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, [0x180069f30]
lea rsi, [0x180000000]
mov rax, qword [0x1801703e0]
test rax, rax
je 0x18006111a
mov rdx, r13
cmp rax, r14
je 0x180061109
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x1703e0]
test rax, rax
jne 0x1800610f1
jmp 0x18006111a
mov r8, qword [rsi + rdx*8 + 0x1700c0]
test r8, r8
jne 0x1800611ff
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 0x180061141
mov r8, r13
jmp 0x1800611de
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 0x180061150
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 [0x180170700]
mov qword [rsi + rax*8 + 0x1703e0], r14
mov qword [rsi + rax*8 + 0x1700c0], r8
inc rax
mov qword [0x180170700], 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, [0x180069f60]
mov rax, qword [0x180170710]
test rax, rax
je 0x180061299
mov rdx, r13
cmp rax, r14
je 0x180061288
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x170710]
test rax, rax
jne 0x180061270
jmp 0x180061299
mov r8, qword [rsi + rdx*8 + 0x16fda0]
test r8, r8
jne 0x18006137f
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 0x1800612c0
mov r8, r13
jmp 0x18006135e
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 0x1800612d0
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 [0x180170a30]
mov qword [rsi + rax*8 + 0x170710], r14
mov qword [rsi + rax*8 + 0x16fda0], r8
inc rax
mov qword [0x180170a30], 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 0x1800613c1
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 0x1800613c8
mov byte [rbx + 0xe50], 0
mov rax, qword [0x180151a70]
test rax, rax
jne 0x1800613f5
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 [0x180151a70]
cvttss2si edx, dword [rax + 0xd4]
lea rcx, [rbp - 0x59]
call fcn.180041810
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 0x180061420
mov byte [rbp - 0x72], 0
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x180061442
lea r8, [rbp - 0x79]
mov rcx, rdx
call fcn.18006eed0
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 0x1800614c0
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800614bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800614bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0a1c
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
mov rdi, qword [0x180151a70]
cmp dword [rdi + 0x4ad8], 0
jg 0x1800614fa
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.180006970
mov r15, rax
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rsi, qword [rbp - 0x19]
movaps xmm0, xmmword [0x1800f5870]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003ae0
mov r12d, eax
mov dword [rbp - 0x69], 0x41200000
mov dword [rbp - 0x65], 0x41200000
mov r14, qword [0x180152000]
xorps xmm7, xmm7
test eax, 0xff000000
je 0x1800615f2
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180061563
add rdi, rsi
cmp rsi, rdi
je 0x1800615f2
test r14, r14
jne 0x180061581
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 0x1800615ac
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 [0x1800f4fa4]
mov rdx, r15
mov rcx, r14
call fcn.18002dd70
lea rdx, [0x180150978]
lea rcx, [rbp - 0x39]
call fcn.180065b80
nop
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rax, qword [rbp - 0x39]
mov rdi, qword [0x180151a70]
test rax, rax
jne 0x180061622
movaps xmm6, xmm7
jmp 0x180061679
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1800f50f0]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800f50dc]
movss xmm2, dword [rdi + 0x3d40]
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 0x3d38]
call fcn.18002db50
movss xmm0, dword [rbp - 0x69]
addss xmm0, dword [0x1800f4ee8]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rdi, qword [0x180151a70]
cmp dword [rdi + 0x4ad8], 0
jg 0x18006169c
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.180006970
mov r14, rax
lea rdi, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdi, qword [rbp - 0x39]
movaps xmm0, xmmword [0x1800f5870]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003ae0
mov r15d, eax
mov eax, dword [0x180151f38]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x180151ff8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, dword [0x1800f4ebc]
subss xmm0, xmm6
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
mov rsi, qword [0x180152000]
test r15d, 0xff000000
je 0x1800617c3
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180061730
add rbx, rdi
cmp rdi, rbx
je 0x1800617c3
test rsi, rsi
jne 0x180061752
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 0x18006177d
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 [0x1800f4fa8]
mov rdx, r14
mov rcx, rsi
call fcn.18002dd70
cmp byte [0x180151a7b], 0
je 0x1800617d1
call fcn.18005dec0
call fcn.180009670
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r13d
movss xmm0, dword [0x1800f4ef0]
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 [0x180152068]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x1800618bc
call fcn.180009b30
mov rbx, qword [0x180151a70]
cmp dword [rbx + 0x4ad8], 0
jg 0x180061892
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.18002f260
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180152068]
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 0x180061934
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x180061934
call fcn.18002fb00
mov rcx, qword [0x180152068]
mov rax, qword [rcx]
lea rdx, [0x180152020]
call qword [rax + 0x80]
mov rax, qword [0x180151a70]
test rax, rax
je 0x180061934
mov rax, qword [rax + 0x98]
test rax, rax
je 0x180061934
cmp qword [rax], 0
je 0x180061934
call fcn.18002f870
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180061972
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006196d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006196d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0a1c
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 0x1800619c0
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800619bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800619bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0a1c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d0760
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 [0x180151c78]
lea rcx, [0x18016fc98]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
movups xmmword [0x18016fc98], xmm0
movups xmmword [0x18016fca8], xmm0
movups xmmword [0x18016fcb8], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180061a6c
lea rcx, [0x18016fc98]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x18016fc98]
call qword [sym.imp.USER32.dll_DispatchMessageA]
add rsp, 0x38
jmp 0x180060fc0