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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rdx, [0x1401433b8]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x1400384dc
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor esi, esi
mov qword [0x1401433cc], rsi
mov qword [0x1401433d8], 1
mov qword [0x1401433f4], rsi
mov dword [0x1401433fc], esi
mov eax, dword [0x14014343c]
mov dword [0x1401433c0], eax
mov eax, dword [0x140143404]
mov dword [0x1401433c4], eax
mov dword [0x1401433c8], 0x15
mov dword [0x1401433d4], esi
mov dword [0x1401433f0], 0x50
mov dword [0x1401433ec], 1
mov r9, qword [0x1401434a8]
mov qword [0x1401433e0], r9
mov dword [0x1401433e8], 1
mov rcx, qword [0x1401433b8]
mov rax, qword [rcx]
lea rdx, [0x1401434b0]
mov qword [rsp + 0x30], rdx
lea rdx, [0x1401433c0]
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0x20
xor edx, edx
lea r8d, [rsi + 1]
call qword [rax + 0x80]
mov rax, qword [0x1401432a0]
test rax, rax
je 0x140038599
inc dword [rax + 0x3c8]
mov ecx, 0x3bf0
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
mov qword [rbp + 0x17], rcx
mov qword [rbp + 0x1f], rax
test rax, rax
je 0x1400385c6
mov rcx, rax
call fcn.140001230
mov rdi, rax
jmp 0x1400385c9
mov rdi, rsi
mov rax, qword [0x1401432a0]
test rax, rax
cmove rax, rdi
mov qword [0x1401432a0], rax
mov dword [rbp - 0x15], esi
mov qword [rbp + 7], rsi
lea rcx, str.Window
mov qword [rbp - 0x21], rcx
xor r8d, r8d
xor edx, edx
call fcn.1400027e0
mov dword [rbp - 0x19], eax
lea rax, [0x140012890]
mov qword [rbp - 0x11], rax
lea rax, [0x140012910]
mov qword [rbp - 9], rax
lea rax, [0x1400129f0]
mov qword [rbp - 1], rax
lea rbx, [rdi + 0x2db0]
mov eax, dword [rbx]
mov ecx, dword [rbx + 4]
test eax, eax
jne 0x14003866a
mov eax, esi
test ecx, ecx
jne 0x140038641
lea edx, [rcx + 8]
mov rcx, rbx
call fcn.1400138f0
mov eax, dword [rbx]
cdqe
lea rcx, [rax + rax*2]
add rcx, rcx
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rax + rcx*8], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmm0, xmmword [rbp - 1]
movups xmmword [rax + rcx*8 + 0x20], xmm0
jmp 0x1400386d0
cmp eax, ecx
jne 0x14003869a
lea r8d, [rax + 1]
test ecx, ecx
je 0x140038681
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140038686
mov eax, 8
cmp eax, r8d
cmovg r8d, eax
mov edx, r8d
mov rcx, rbx
call fcn.1400138f0
mov eax, dword [rbx]
test eax, eax
jle 0x1400386b5
mov rdx, qword [rbx + 8]
cdqe
lea r8, [rax + rax*2]
shl r8, 4
lea rcx, [rdx + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov rax, qword [rbx + 8]
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rax], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [rbp - 1]
movups xmmword [rax + 0x20], xmm0
inc dword [rbx]
mov byte [rdi], 1
mov rbx, qword [0x1401432a0]
mov qword [rbx + 0x20], rsi
mov qword [rbx + 0x28], rsi
mov rdi, qword [0x1401434a8]
lea rcx, [0x1401434a0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1400387dd
lea rcx, [0x140143498]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1400387dd
mov qword [0x140143490], rdi
mov rdx, qword [0x1401432a0]
or dword [rdx + 0xc], 6
lea rax, str.imgui_impl_win32
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 0x1400387e4
mov rdx, qword [0x1401432a0]
mov rax, qword [0x1401434b0]
lea rcx, str.imgui_impl_dx9
mov qword [rdx + 0xe0], rcx
mov qword [0x140143480], rax
xor ecx, ecx
call fcn.14001b060
movaps xmm0, xmmword [0x140054560]
movups xmmword [rdx + 0x1610], xmm0
movaps xmm1, xmmword [0x1400544d0]
movups xmmword [rdx + 0x1640], xmm1
movaps xmm0, xmmword [0x140054660]
movups xmmword [rdx + 0x1660], xmm0
movaps xmm1, xmmword [0x1400545b0]
movups xmmword [rdx + 0x1670], xmm1
movaps xmm0, xmmword [0x140054600]
movups xmmword [rdx + 0x1680], xmm0
movaps xmm1, xmmword [0x140054510]
movups xmmword [rdx + 0x1710], xmm1
movaps xmm0, xmmword [0x1400546b0]
movups xmmword [rdx + 0x1720], xmm0
movaps xmm1, xmm0
movups xmmword [rdx + 0x1730], xmm0
movaps xmm0, xmmword [0x1400545c0]
movups xmmword [rdx + 0x1740], xmm0
movaps xmm1, xmmword [0x1400545d0]
movups xmmword [rdx + 0x1750], xmm1
movaps xmm0, xmm1
movups xmmword [rdx + 0x1760], xmm1
movaps xmm1, xmmword [0x140054510]
movups xmmword [rdx + 0x17a0], xmm1
movdqa xmm0, xmmword [0x1400547a0]
movdqu xmmword [rbp + 0x27], xmm0
mov dword [rbp + 0x37], 0x8f97a5bf
mov dword [rbp + 0x3b], 0x9ec78486
mov word [rbp + 0x3f], 0x8a9f
xor eax, eax
mov byte [rbp + 0x41], al
lea rdi, [0x140053540]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x1400541c0]
mov r8d, 0xe5510
lea rdx, [0x14005d0a0]
mov rcx, qword [rbx + 0xa0]
call fcn.14001f7a0
mov edx, esi
movsxd rcx, edx
lea eax, [rdx - 0x2d]
xor byte [rbp + rcx + 0x27], al
inc edx
cmp edx, 0x1a
jb 0x140038901
mov byte [rbp + 0x41], 0
lea rax, [0x140053550]
mov qword [rsp + 0x20], rax
movss xmm2, dword [0x1400541b4]
lea rdx, [rbp + 0x27]
mov rcx, qword [rbx + 0xa0]
call fcn.14001f450
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
movss xmm3, dword [0x1400541c8]
mov r8d, 0xe5510
lea rdx, [0x14005d0a0]
mov rcx, qword [rbx + 0xa0]
call fcn.14001f7a0
mov qword [0x140143448], rax
mov rax, qword [0x1401432a0]
mov dword [rax + 0x1ae4], 0x41f00000
mov qword [rax + 0x1ae8], 0x41f00000
mov dword [rax + 0x1af0], esi
mov dword [rax + 0x1ac8], 1
mov rcx, qword [0x1401433b8]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400435e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret