Function at 0x180061fe0
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 0x1800615e6
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x18006160a
jmp 0x1800615e9
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 0x18006162b
test rax, rax
je 0x18006162b
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x18006162b
cmp qword [rcx], r13
je 0x18006162b
call fcn.18002f870
call fcn.1800309e0
call fcn.1800072f0
cmp byte [0x180151f4b], r13b
je 0x180061998
mov rbx, qword [0x180151a70]
test rbx, rbx
jne 0x18006166f
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, [0x18006a4c0]
lea rsi, [0x180000000]
mov rax, qword [0x1801703c0]
test rax, rax
je 0x1800616ea
mov rdx, r13
cmp rax, r14
je 0x1800616d9
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x1703c0]
test rax, rax
jne 0x1800616c1
jmp 0x1800616ea
mov r8, qword [rsi + rdx*8 + 0x1700a0]
test r8, r8
jne 0x1800617cf
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 0x180061711
mov r8, r13
jmp 0x1800617ae
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 0x180061720
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 [0x1801706e0]
mov qword [rsi + rax*8 + 0x1703c0], r14
mov qword [rsi + rax*8 + 0x1700a0], r8
inc rax
mov qword [0x1801706e0], 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, [0x18006a4f0]
mov rax, qword [0x1801706f0]
test rax, rax
je 0x180061869
mov rdx, r13
cmp rax, r14
je 0x180061858
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x1706f0]
test rax, rax
jne 0x180061840
jmp 0x180061869
mov r8, qword [rsi + rdx*8 + 0x16fd80]
test r8, r8
jne 0x18006194f
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 0x180061890
mov r8, r13
jmp 0x18006192e
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 0x1800618a0
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 [0x180170a10]
mov qword [rsi + rax*8 + 0x1706f0], r14
mov qword [rsi + rax*8 + 0x16fd80], r8
inc rax
mov qword [0x180170a10], 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 0x180061991
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 0x180061998
mov byte [rbx + 0xe50], 0
mov rax, qword [0x180151a70]
test rax, rax
jne 0x1800619c5
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], 0x17656572
mov dword [rbp - 0x75], 0x1001902
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx + 0x34]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 6
jb 0x1800619f0
mov byte [rbp - 0x72], 0
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x180061a12
lea r8, [rbp - 0x79]
mov rcx, rdx
call fcn.18006f460
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 0x180061a90
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061a8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180061a8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0fac
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 0x180061aca
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 [0x1800f5d70]
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 [0x180151ff0]
xorps xmm7, xmm7
test eax, 0xff000000
je 0x180061bc2
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180061b33
add rdi, rsi
cmp rsi, rdi
je 0x180061bc2
test r14, r14
jne 0x180061b51
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 0x180061b7c
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.180066110
nop
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rax, qword [rbp - 0x39]
mov rdi, qword [0x180151a70]
test rax, rax
jne 0x180061bf2
movaps xmm6, xmm7
jmp 0x180061c49
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 0x180061c6c
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 [0x1800f5d70]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003ae0
mov r15d, eax
mov eax, dword [0x180151f28]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x180151fe8]
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 [0x180151ff0]
test r15d, 0xff000000
je 0x180061d93
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180061d00
add rbx, rdi
cmp rdi, rbx
je 0x180061d93
test rsi, rsi
jne 0x180061d22
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 0x180061d4d
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 0x180061da1
call fcn.18005e490
call fcn.180009670
mov rcx, qword [0x180152050]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x180152050]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x180152050]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x180152050]
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 [0x180152050]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x180061e8c
call fcn.180009b30
mov rbx, qword [0x180151a70]
cmp dword [rbx + 0x4ad8], 0
jg 0x180061e62
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 [0x180152050]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180152050]
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 0x180061f04
mov rcx, qword [0x180152050]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x180061f04
call fcn.18002fb00
mov rcx, qword [0x180152050]
mov rax, qword [rcx]
lea rdx, [0x180152010]
call qword [rax + 0x80]
mov rax, qword [0x180151a70]
test rax, rax
je 0x180061f04
mov rax, qword [rax + 0x98]
test rax, rax
je 0x180061f04
cmp qword [rax], 0
je 0x180061f04
call fcn.18002f870
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180061f42
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061f3d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180061f3d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0fac
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 0x180061f90
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180061f8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180061f8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d0fac
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d0cf0
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, [0x18016fc80]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
movups xmmword [0x18016fc80], xmm0
movups xmmword [0x18016fc90], xmm0
movups xmmword [0x18016fca0], xmm0
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x18006203c
lea rcx, [0x18016fc80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x18016fc80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
add rsp, 0x38
jmp 0x180061590