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

Disassembly:
sub rsp, 0x88
lea rdx, [0x140049e88]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x14002daa9
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140049f3c]
lea rdx, [0x140049f28]
mov rcx, qword [0x140049e88]
mov r8d, 1
mov r9, qword [0x140049e80]
mov qword [rsp + 0x38], rdx
lea rdx, [0x140049ee0]
mov dword [0x140049ee0], eax
mov eax, dword [0x140049f38]
mov dword [0x140049ee4], eax
mov qword [0x140049ef8], 1
mov dword [0x140049f08], 1
mov qword [0x140049f00], r9
mov dword [0x140049ee8], 0x15
mov dword [0x140049f0c], 1
mov dword [0x140049f10], 0x50
mov qword [rsp + 0x90], rbx
xor ebx, ebx
cmp byte [0x140049f23], bl
mov eax, ebx
mov qword [0x140049eec], rbx
setne al
mov qword [0x140049f14], rbx
mov dword [0x140049f1c], eax
mov dword [0x140049ef4], ebx
mov rax, qword [rcx]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdx
xor edx, edx
mov dword [rsp + 0x20], 0x40
call qword [rax + 0xa0]
test eax, eax
jns 0x14002db8b
mov rcx, qword [0x140049e88]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov ecx, 4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x80], rdi
call fcn.140004f70
mov rdi, qword [0x140049e80]
lea rcx, [0x140049f90]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14002dc91
lea rcx, [0x140049f88]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14002dc91
mov rax, qword [0x140049e10]
lea rcx, str.imgui_impl_win32
mov qword [0x140049f80], rdi
or dword [rax + 0xc], 6
mov qword [rax + 0xd8], rcx
mov qword [rax + 0x108], rdi
mov dword [rax + 0x3c], 9
mov dword [rax + 0x40], 0x25
mov dword [rax + 0x44], 0x27
mov dword [rax + 0x48], 0x26
mov dword [rax + 0x4c], 0x28
mov dword [rax + 0x50], 0x21
mov dword [rax + 0x54], 0x22
mov dword [rax + 0x58], 0x24
mov dword [rax + 0x5c], 0x23
mov dword [rax + 0x60], 0x2d
mov dword [rax + 0x64], 0x2e
mov dword [rax + 0x68], 8
mov dword [rax + 0x6c], 0x20
mov dword [rax + 0x70], 0xd
mov dword [rax + 0x74], 0x1b
mov dword [rax + 0x78], 0x41
mov dword [rax + 0x7c], 0x43
mov dword [rax + 0x80], 0x56
mov dword [rax + 0x84], 0x58
mov dword [rax + 0x88], 0x59
mov dword [rax + 0x8c], 0x5a
jmp 0x14002dc98
mov rax, qword [0x140049e10]
cmp byte [0x1400490c0], bl
mov rcx, qword [0x140049f28]
mov rdi, qword [rsp + 0x80]
je 0x14002dcb5
mov byte [0x1400490c0], bl
mov qword [0x140049f70], rcx
lea rdx, str.imgui_impl_dx9
xor ecx, ecx
mov qword [rax + 0xe0], rdx
call fcn.14001a610
movups xmm0, xmmword [str.s_vnd__RXOJfSSJL]
mov r9, qword [rax + 0xa0]
mov dword [rax + 0x155c], 0x40800000
mov dword [rax + 0x158c], 0x404ccccd
mov dword [rax + 0x1550], 0x3f800000
mov qword [rax + 0x20], rbx
cmp dword [0x140049090], 2
mov eax, dword [0x140041e88]
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x68], eax
movsd xmm0, qword [0x140041e80]
movzx eax, byte [0x140041e8c]
movsd qword [rsp + 0x60], xmm0
mov byte [rsp + 0x6c], al
jl 0x14002de69
movdqa xmm0, xmmword [0x140042830]
lea rcx, [rsp + 0x54]
movdqa xmm4, xmmword [0x1400427b0]
movdqa xmm3, xmmword [0x140042a90]
movdqa xmm5, xmmword [str.5555]
movdqa xmmword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x140042820]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm4
add ebx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movd dword [rcx - 0xc], xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp ebx, 0x18
jl 0x14002dd80
movaps xmm6, xmmword [rsp + 0x70]
cmp ebx, 0x1d
jge 0x14002dead
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, bl
inc ebx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x1d
jl 0x14002de80
movss xmm2, dword [0x140042694]
lea rdx, [rsp + 0x50]
mov rcx, r9
call fcn.14001e350
mov rcx, qword [0x140049e88]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x90]
xor eax, eax
add rsp, 0x88
ret