Function at 0x140002d70
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x210
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov rax, qword [0x140055010]
xor rax, rsp
mov qword [rbp + 0xc8], rax
lea rdx, [0x140056070]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140002dd7
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r15d, r15d
mov qword [0x14005602c], r15
mov qword [0x140056038], 1
mov qword [0x140056054], r15
mov dword [0x14005605c], r15d
mov eax, dword [0x1400560a8]
mov dword [0x140056020], eax
mov eax, dword [0x140056080]
mov dword [0x140056024], eax
mov dword [0x140056028], 0x15
mov dword [0x140056034], r15d
mov dword [0x140056050], 0x50
mov dword [0x14005604c], 1
mov r9, qword [0x140056180]
mov qword [0x140056040], r9
mov dword [0x140056048], 1
mov rcx, qword [0x140056070]
mov rax, qword [rcx]
lea rdx, [0x140056190]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140056020]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [r15 + 1]
call qword [rax + 0x80]
mov rbx, qword [0x140056118]
test rbx, rbx
je 0x140002e97
inc dword [rbx + 0xec]
mov rdx, qword [0x140056110]
mov ecx, 0x5570
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140002ecd
xor edx, edx
mov rcx, rax
call fcn.14000d740
jmp 0x140002ed0
mov rax, r15
mov qword [0x140056118], rax
call fcn.140013f20
mov r14, qword [0x140056118]
test rbx, rbx
cmovne r14, rbx
mov qword [0x140056118], r14
mov rbx, qword [0x140056180]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000305d
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14000305d
mov rax, qword [0x140056118]
test rax, rax
je 0x140002f30
inc dword [rax + 0xec]
mov rdx, qword [0x140056110]
mov ecx, 0x48
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140002f68
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
mov qword [rdi + 0x40], rax
jmp 0x140002f6b
mov rdi, r15
mov qword [r14 + 0x90], rdi
lea rax, str.imgui_impl_win32
mov qword [r14 + 0x80], rax
or dword [r14 + 0xc], 6
mov qword [rdi], rbx
mov byte [rdi + 0x2d], 1
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x20], rax
mov rax, qword [rsp + 0x58]
mov qword [rdi + 0x18], rax
mov dword [rdi + 0x28], 9
mov rax, qword [0x140056118]
mov rcx, qword [rax + 0x4088]
mov rax, qword [rcx]
mov qword [rax + 0x28], rbx
lea rax, str.xinput1_4.dll
mov qword [rbp + 0xa0], rax
lea rax, str.xinput1_3.dll
mov qword [rbp + 0xa8], rax
lea rax, str.xinput9_1_0.dll
mov qword [rbp + 0xb0], rax
lea rax, str.xinput1_2.dll
mov qword [rbp + 0xb8], rax
lea rax, str.xinput1_1.dll
mov qword [rbp + 0xc0], rax
mov rbx, r15
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 + 0xa0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
jne 0x140003031
inc rbx
cmp rbx, 5
jl 0x140003010
jmp 0x14000305d
mov qword [rdi + 0x30], rsi
lea rdx, str.XInputGetCapabilities
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x38], rax
lea rdx, str.XInputGetState
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x40], rax
mov rdi, qword [0x140056190]
mov rbx, qword [0x140056118]
test rbx, rbx
je 0x140003076
inc dword [rbx + 0xec]
mov rdx, qword [0x140056110]
mov ecx, 0x28
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1400030b1
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov dword [rax + 0x20], 0x1388
mov dword [rax + 0x24], 0x2710
jmp 0x1400030b4
mov rax, r15
mov qword [rbx + 0x98], rax
lea rcx, str.imgui_impl_dx9
mov qword [rbx + 0x88], rcx
or dword [rbx + 0xc], 8
mov qword [rax], rdi
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 8]
movdqa xmm0, xmmword [0x14004dc90]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x8d91a3bd
mov dword [rsp + 0x74], 0x9cc98a84
mov word [rsp + 0x78], 0x8c9d
xor eax, eax
mov byte [rsp + 0x7a], al
mov rdi, qword [r14 + 0x50]
mov edx, r15d
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x2f]
xor byte [rsp + rcx + 0x60], al
inc edx
cmp edx, 0x1a
jb 0x140003110
mov byte [rsp + 0x7a], 0
mov qword [rsp + 0x50], r15
lea r8, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000eff0
mov rbx, rax
test rax, rax
je 0x1400032f2
xorps xmm3, xmm3
xor eax, eax
movups xmmword [rbp - 0x80], xmm3
movups xmmword [rbp - 0x70], xmm3
movups xmmword [rbp - 0x30], xmm3
mov qword [rbp], rax
mov byte [rbp - 0x74], 1
mov dword [rbp - 0x68], 3
mov dword [rbp - 0x64], 1
movss xmm0, dword [0x14004d6fc]
movss xmm1, dword [0x14004d574]
mov eax, 0xffff
mov word [rbp - 0x2c], ax
movaps xmm5, xmmword [rbp - 0x80]
movaps xmmword [rbp + 0x10], xmm5
movaps xmm6, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x20], xmm6
movaps xmmword [rbp + 0x30], xmm3
xorps xmm7, xmm7
movaps xmmword [rbp + 0x40], xmm7
xorps xmm2, xmm2
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm0
shufps xmm2, xmm2, 0xe1
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp + 0x50], xmm2
movaps xmm4, xmmword [rbp - 0x30]
movss xmm4, xmm1
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp + 0x60], xmm4
xorps xmm1, xmm1
movaps xmmword [rbp + 0x70], xmm1
xorps xmm8, xmm8
movaps xmmword [rbp + 0x80], xmm8
movsd xmm9, qword [rbp]
movsd qword [rbp + 0x90], xmm9
movdqa xmm0, xmm4
psrldq xmm0, 6
movd eax, xmm0
test al, al
jne 0x14000329c
lea rcx, [rsp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140003210
lea r9, [rsp + 0x60]
add r9, rax
lea rax, [rsp + 0x60]
cmp r9, rax
jbe 0x14000324c
nop dword [rax + rax]
lea rcx, [r9 - 1]
movzx eax, byte [rcx]
cmp al, 0x2f
je 0x14000324c
cmp al, 0x5c
je 0x14000324c
mov r9, rcx
lea rax, [rsp + 0x60]
cmp rcx, rax
ja 0x140003230
movsd xmm0, qword [0x14004d5b0]
movsd qword [rsp + 0x20], xmm0
lea r8, str._s___.0fpx
mov edx, 0x28
lea rcx, [rbp + 0x66]
call fcn.14000eca0
movsd xmm9, qword [rbp + 0x90]
movaps xmm8, xmmword [rbp + 0x80]
movaps xmm1, xmmword [rbp + 0x70]
movaps xmm4, xmmword [rbp + 0x60]
movaps xmm2, xmmword [rbp + 0x50]
movaps xmm7, xmmword [rbp + 0x40]
movaps xmm3, xmmword [rbp + 0x30]
movaps xmm6, xmmword [rbp + 0x20]
movaps xmm5, xmmword [rbp + 0x10]
movaps xmmword [rbp - 0x80], xmm5
movaps xmmword [rbp - 0x70], xmm6
movaps xmmword [rbp - 0x60], xmm3
movaps xmmword [rbp - 0x50], xmm7
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm1
movaps xmmword [rbp - 0x10], xmm8
movsd qword [rbp], xmm9
mov qword [rbp - 0x80], rbx
mov eax, dword [rsp + 0x50]
mov dword [rbp - 0x78], eax
movss xmm0, dword [0x14004d644]
movss dword [rbp - 0x6c], xmm0
lea rax, [0x14004d104]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x80]
mov rcx, rdi
call fcn.14002f5e0
mov rcx, qword [0x140056070]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0xc8]
xor rcx, rsp
call fcn.140044720
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop rbp
ret