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

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14004b040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x14004bf28]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140038885
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x14004c048]
lea rdx, [0x14004bf30]
mov rcx, qword [0x14004bf28]
mov r9, qword [0x14004c018]
mov qword [rsp + 0x30], rdx
lea rdx, [0x14004c060]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
mov dword [0x14004c060], eax
mov eax, dword [0x14004bf6c]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14004c06c], rbx
lea r8d, [rbx + 1]
mov qword [0x14004c078], 1
mov qword [0x14004c094], rbx
mov dword [0x14004c09c], ebx
mov dword [0x14004c064], eax
mov dword [0x14004c068], 0x15
mov dword [0x14004c074], ebx
mov dword [0x14004c090], 0x50
mov dword [0x14004c08c], 1
mov qword [0x14004c080], r9
mov dword [0x14004c088], 1
mov rax, qword [rcx]
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x70], rdi
mov dword [rsp + 0x20], 0x20
call qword [rax + 0x80]
call fcn.140005450
mov rsi, qword [0x14004bf00]
lea rcx, [0x14004c448]
mov rdi, qword [0x14004c018]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x140038a4a
lea rcx, [0x14004c440]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140038a4a
mov rdx, qword [0x14004bf00]
lea rax, str.imgui_impl_win32
mov qword [0x14004c438], rdi
or dword [rdx + 0xc], 6
mov qword [rdx + 0xd8], rax
mov qword [rdx + 0x108], rdi
mov dword [rdx + 0x3c], 9
mov dword [rdx + 0x40], 0x25
mov dword [rdx + 0x44], 0x27
mov dword [rdx + 0x48], 0x26
mov dword [rdx + 0x4c], 0x28
mov dword [rdx + 0x50], 0x21
mov dword [rdx + 0x54], 0x22
mov dword [rdx + 0x58], 0x24
mov dword [rdx + 0x5c], 0x23
mov dword [rdx + 0x60], 0x2d
mov dword [rdx + 0x64], 0x2e
mov dword [rdx + 0x68], 8
mov dword [rdx + 0x6c], 0x20
mov dword [rdx + 0x70], 0xd
mov dword [rdx + 0x74], 0x1b
mov dword [rdx + 0x78], 0x41
mov dword [rdx + 0x7c], 0x43
mov dword [rdx + 0x80], 0x56
mov dword [rdx + 0x84], 0x58
mov dword [rdx + 0x88], 0x59
mov dword [rdx + 0x8c], 0x5a
jmp 0x140038a51
mov rdx, qword [0x14004bf00]
mov rax, qword [0x14004bf30]
lea rcx, str.imgui_impl_dx9
mov qword [rdx + 0xe0], rcx
mov qword [0x14004c428], rax
call fcn.14001b3c0
movaps xmm0, xmmword [0x1400444e0]
movaps xmm1, xmmword [0x140044500]
mov rdi, qword [rsp + 0x70]
mov dword [rdx + 0x1564], 0x43af0000
mov dword [rdx + 0x1568], 0x43700000
mov qword [rdx + 0x155c], rbx
mov dword [rdx + 0x1574], ebx
mov dword [rdx + 0x158c], ebx
mov dword [rdx + 0x15b8], ebx
mov dword [rdx + 0x15c0], ebx
mov dword [rdx + 0x157c], ebx
movups xmmword [rdx + 0x1610], xmm0
movaps xmm0, xmmword [0x1400444f0]
movups xmmword [rdx + 0x1640], xmm1
movaps xmm1, xmmword [0x140044510]
movups xmmword [rdx + 0x1660], xmm0
movaps xmm0, xmmword [0x140044580]
movups xmmword [rdx + 0x1670], xmm1
movaps xmm1, xmmword [0x140044530]
movups xmmword [rdx + 0x1680], xmm0
movaps xmm0, xmmword [0x140044520]
movups xmmword [rdx + 0x1710], xmm1
movups xmmword [rdx + 0x1720], xmm0
movups xmmword [rdx + 0x1730], xmm0
movaps xmm1, xmm0
movaps xmm0, xmmword [0x140044530]
movaps xmm1, xmmword [0x140044540]
movups xmmword [rdx + 0x1740], xmm0
movaps xmm0, xmmword [0x140044550]
movups xmmword [rdx + 0x1750], xmm1
movaps xmm1, xmmword [0x140044560]
movups xmmword [rdx + 0x1760], xmm0
movaps xmm0, xmmword [0x1400444e0]
movups xmmword [rdx + 0x17a0], xmm1
movups xmmword [rdx + 0x1690], xmm0
movups xmmword [rdx + 0x16a0], xmm0
movups xmmword [rdx + 0x16b0], xmm0
mov dword [rdx + 0x156c], 0x3f000000
movaps xmm1, xmm0
mov dword [rsp + 0x50], 0x988a8fb9
movdqa xmm0, xmmword [0x1400445d0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x54], 0xc29f8988
mov dword [rsp + 0x58], 0x899a99
mov rcx, qword [rsi + 0xa0]
mov rsi, qword [rsp + 0x88]
nop dword [rax]
nop word [rax + rax]
movsxd rdx, ebx
lea eax, [rbx - 0x2b]
inc ebx
xor byte [rsp + rdx + 0x40], al
cmp ebx, 0x1b
jb 0x140038bc0
movss xmm2, dword [0x140044344]
lea rax, [0x1400437ac]
mov rbx, qword [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x5b], 0
call fcn.14001f420
mov rcx, qword [0x14004bf28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14003c6e0
add rsp, 0x78
ret