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

Disassembly:
sub rsp, 0x98
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rsp + 0x70], rax
lea rdx, [0x1400522a0]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140033d88
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x1400522d4]
lea rdx, [0x140052498]
mov rcx, qword [0x1400522a0]
mov r8d, 1
mov r9, qword [0x140052490]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140052220]
mov dword [0x140052220], eax
mov eax, dword [0x1400522b0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [rsp + 0xa0], rbx
xor ebx, ebx
mov qword [0x14005222c], rbx
mov qword [0x140052238], 1
mov qword [0x140052254], rbx
mov dword [0x14005225c], ebx
mov dword [0x140052224], eax
mov dword [0x140052228], 0x15
mov dword [0x140052234], ebx
mov dword [0x140052250], 0x50
mov dword [0x14005224c], 1
mov qword [0x140052240], r9
mov dword [0x140052248], 1
mov rax, qword [rcx]
mov qword [rsp + 0x90], rdi
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
call fcn.140004fd0
mov rdi, qword [0x140052490]
lea rcx, [0x1400523d8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140033f43
lea rcx, [0x1400523d0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140033f43
mov rcx, qword [0x140052200]
lea rax, str.imgui_impl_win32
mov qword [0x1400523c8], rdi
or dword [rcx + 0xc], 6
mov qword [rcx + 0xd8], rax
mov qword [rcx + 0x108], rdi
mov dword [rcx + 0x3c], 9
mov dword [rcx + 0x40], 0x25
mov dword [rcx + 0x44], 0x27
mov dword [rcx + 0x48], 0x26
mov dword [rcx + 0x4c], 0x28
mov dword [rcx + 0x50], 0x21
mov dword [rcx + 0x54], 0x22
mov dword [rcx + 0x58], 0x24
mov dword [rcx + 0x5c], 0x23
mov dword [rcx + 0x60], 0x2d
mov dword [rcx + 0x64], 0x2e
mov dword [rcx + 0x68], 8
mov dword [rcx + 0x6c], 0x20
mov dword [rcx + 0x70], 0xd
mov dword [rcx + 0x74], 0x1b
mov dword [rcx + 0x78], 0x41
mov dword [rcx + 0x7c], 0x43
mov dword [rcx + 0x80], 0x56
mov dword [rcx + 0x84], 0x58
mov dword [rcx + 0x88], 0x59
mov dword [rcx + 0x8c], 0x5a
jmp 0x140033f4a
mov rcx, qword [0x140052200]
cmp byte [0x14004a38b], bl
lea rdx, str.imgui_impl_dx9
mov rax, qword [0x140052498]
movups xmm0, xmmword [str.q_thb_YVMH_QQ42]
mov rdi, qword [rsp + 0x90]
mov qword [0x1400523b8], rax
mov eax, dword [0x14004a388]
movups xmmword [rsp + 0x50], xmm0
mov qword [rcx + 0xe0], rdx
movsd xmm0, qword [0x14004a380]
movsd qword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], eax
je 0x14003412f
cmp dword [0x140051090], 2
jl 0x1400340e6
movdqa xmm0, xmmword [str.2222222222222222u__Hxopwmoz3]
lea rdx, [rsp + 0x54]
movdqa xmm4, xmmword [0x14004a630]
movdqa xmm3, xmmword [0x14004aff0]
movdqa xmm5, xmmword [str.3333]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x14004a650]
nop dword [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movd dword [rdx - 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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, r8d
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ebx, 0x18
jl 0x140033ff0
movaps xmm6, xmmword [rsp + 0x80]
cmp ebx, 0x1c
jge 0x14003412f
movsxd rax, ebx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, bl
inc ebx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0x1c
jl 0x140034100
movss xmm2, dword [0x14004a514]
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx + 0xa0]
call fcn.14001ece0
mov rcx, qword [0x1400522a0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140042150
add rsp, 0x98
ret