Function at 0x180061a90
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 [0x18015fa70]
test rax, rax
je 0x180061ae6
mov rbx, qword [rax + 0x98]
test rbx, rbx
jne 0x180061b0a
jmp 0x180061ae9
mov rbx, r13
mov r8d, 0x17c
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug_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 [0x18015fa70]
cmp qword [rbx + 0x18], r13
jne 0x180061b2b
test rax, rax
je 0x180061b2b
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x180061b2b
cmp qword [rcx], r13
je 0x180061b2b
call fcn.18002f8d0
call fcn.180030a40
call fcn.180007350
cmp byte [0x18015ff4a], r13b
je 0x180061e98
mov rbx, qword [0x18015fa70]
test rbx, rbx
jne 0x180061b6f
mov r8d, 0x10b0
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.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 [0x18015fa70]
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, [0x18006aa90]
lea rsi, [0x180000000]
mov rax, qword [0x18019b880]
test rax, rax
je 0x180061bea
mov rdx, r13
cmp rax, r14
je 0x180061bd9
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x19b880]
test rax, rax
jne 0x180061bc1
jmp 0x180061bea
mov r8, qword [rsi + rdx*8 + 0x19b560]
test r8, r8
jne 0x180061ccf
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 0x180061c11
mov r8, r13
jmp 0x180061cae
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 0x180061c20
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 [0x18019bba0]
mov qword [rsi + rax*8 + 0x19b880], r14
mov qword [rsi + rax*8 + 0x19b560], r8
inc rax
mov qword [0x18019bba0], 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, [0x18006aac0]
mov rax, qword [0x18019bbb0]
test rax, rax
je 0x180061d69
mov rdx, r13
cmp rax, r14
je 0x180061d58
inc ecx
mov edx, ecx
mov rax, qword [rsi + rcx*8 + 0x19bbb0]
test rax, rax
jne 0x180061d40
jmp 0x180061d69
mov r8, qword [rsi + rdx*8 + 0x19b240]
test r8, r8
jne 0x180061e4f
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 0x180061d90
mov r8, r13
jmp 0x180061e2e
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 0x180061da0
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 [0x18019bed0]
mov qword [rsi + rax*8 + 0x19bbb0], r14
mov qword [rsi + rax*8 + 0x19b240], r8
inc rax
mov qword [0x18019bed0], 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 0x180061e91
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 0x180061e98
mov byte [rbx + 0xe50], 0
mov rax, qword [0x18015fa70]
test rax, rax
jne 0x180061ec5
mov r8d, 0x10b0
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.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 [0x18015fa70]
cvttss2si edx, dword [rax + 0xd4]
lea rcx, [rbp - 0x59]
call fcn.180041870
mov rdx, rax
mov dword [rbp - 0x79], 0x52222029
mov dword [rbp - 0x75], 0x1005449
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx + 0x6f]
xor byte [rbp + rcx - 0x79], al
inc rcx
cmp rcx, 6
jb 0x180061ef0
mov byte [rbp - 0x72], 0
lea rax, [rbp - 0x79]
mov rbx, 0xffffffffffffffff
mov r9, rbx
inc r9
cmp byte [rax + r9], 0
jne 0x180061f12
lea r8, [rbp - 0x79]
mov rcx, rdx
call fcn.18006fb20
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 0x180061f90
inc rdx
mov rcx, qword [rbp - 0x59]
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.1800d155c
mov qword [rbp - 0x49], r13
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x59], 0
mov rdi, qword [0x18015fa70]
cmp dword [rdi + 0x4ad8], 0
jg 0x180061fca
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.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.1800069d0
mov r15, rax
lea rsi, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae rsi, qword [rbp - 0x19]
movaps xmm0, xmmword [0x1800f5b20]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003b40
mov r12d, eax
mov dword [rbp - 0x69], 0x41200000
mov dword [rbp - 0x65], 0x41200000
mov r14, qword [0x18015fff0]
xorps xmm7, xmm7
test eax, 0xff000000
je 0x1800620c2
mov rdi, rbx
inc rdi
cmp byte [rsi + rdi], 0
jne 0x180062033
add rdi, rsi
cmp rsi, rdi
je 0x1800620c2
test r14, r14
jne 0x180062051
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 0x18006207c
mov r8d, 0x65c
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug_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 [0x1800f4e44]
mov rdx, r15
mov rcx, r14
call fcn.18002ddd0
lea rdx, [0x18015e970]
lea rcx, [rbp - 0x39]
call fcn.180066700
nop
lea rax, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rax, qword [rbp - 0x39]
mov rdi, qword [0x18015fa70]
test rax, rax
jne 0x1800620f2
movaps xmm6, xmm7
jmp 0x180062149
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
movss xmm0, dword [0x1800f4f90]
movss dword [rsp + 0x20], xmm0
movss xmm3, dword [0x1800f4f7c]
movss xmm2, dword [rdi + 0x3d40]
lea rdx, [rbp - 0x69]
mov rcx, qword [rdi + 0x3d38]
call fcn.18002dbb0
movss xmm0, dword [rbp - 0x69]
addss xmm0, dword [0x1800f4d88]
cvttss2si eax, xmm0
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mov rdi, qword [0x18015fa70]
cmp dword [rdi + 0x4ad8], 0
jg 0x18006216c
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.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.1800069d0
mov r14, rax
lea rdi, [rbp - 0x39]
cmp qword [rbp - 0x21], 0x10
cmovae rdi, qword [rbp - 0x39]
movaps xmm0, xmmword [0x1800f5b20]
movups xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call fcn.180003b40
mov r15d, eax
mov eax, dword [0x18015ff28]
cdq
sub eax, edx
sar eax, 1
sub eax, 0x14
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [0x18015ffe8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm6, dword [0x1800f4d5c]
subss xmm0, xmm6
movss dword [rbp - 0x69], xmm0
movss dword [rbp - 0x65], xmm1
mov rsi, qword [0x18015fff0]
test r15d, 0xff000000
je 0x180062293
inc rbx
cmp byte [rdi + rbx], 0
jne 0x180062200
add rbx, rdi
cmp rdi, rbx
je 0x180062293
test rsi, rsi
jne 0x180062222
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 0x18006224d
mov r8d, 0x65c
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug_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 [0x1800f4e48]
mov rdx, r14
mov rcx, rsi
call fcn.18002ddd0
cmp byte [0x18015fa7a], 0
je 0x1800622a1
call fcn.18005e780
call fcn.1800096d0
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 7]
call qword [rax + 0x1c8]
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
xor r8d, r8d
lea edx, [r8 + 0x1b]
call qword [rax + 0x1c8]
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 0xae
call qword [rax + 0x1c8]
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
mov dword [rsp + 0x30], r13d
movss xmm0, dword [0x1800f4d90]
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 [0x180160050]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x18006238c
call fcn.180009b90
mov rbx, qword [0x18015fa70]
cmp dword [rbx + 0x4ad8], 0
jg 0x180062362
mov r8d, 0x782
lea rdx, str.C:UsersmetaphorDesktopmetaowningwarzoneiiidrugdrug.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.18002f2c0
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x180160050]
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 0x180062404
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x180062404
call fcn.18002fb60
mov rcx, qword [0x180160050]
mov rax, qword [rcx]
lea rdx, [0x180160010]
call qword [rax + 0x80]
mov rax, qword [0x18015fa70]
test rax, rax
je 0x180062404
mov rax, qword [rax + 0x98]
test rax, rax
je 0x180062404
cmp qword [rax], 0
je 0x180062404
call fcn.18002f8d0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0x10
jb 0x180062442
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006243d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006243d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d155c
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 0x180062490
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006248b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006248b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800d155c
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1800d12a0
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