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

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x1400510b0]
mov ecx, 0x20
call qword [sym.imp.d3d9.dll_Direct3DCreate9Ex]
test eax, eax
jns 0x140035e85
mov ecx, 3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, dword [0x140051108]
lea rdx, [0x140051220]
mov rcx, qword [0x1400510b0]
mov r9, qword [0x140051218]
mov qword [rsp + 0x30], rdx
lea rdx, [0x140051030]
mov qword [rsp + 0x80], rbx
xor ebx, ebx
mov dword [0x140051030], eax
mov eax, dword [0x1400510d0]
mov qword [rsp + 0x28], rdx
xor edx, edx
mov qword [0x14005103c], rbx
lea r8d, [rbx + 1]
mov qword [0x140051048], 1
mov qword [0x140051064], rbx
mov dword [0x14005106c], ebx
mov dword [0x140051034], eax
mov dword [0x140051038], 0x15
mov dword [0x140051044], ebx
mov dword [0x140051060], 0x50
mov dword [0x14005105c], 1
mov qword [0x140051050], r9
mov dword [0x140051058], 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.140004e40
mov rsi, qword [0x140051000]
lea rcx, [0x1400511d0]
mov rdi, qword [0x140051218]
mov qword [rsi + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14003604e
lea rcx, [0x1400511c8]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14003604e
mov rdx, qword [0x140051000]
lea rax, str.imgui_impl_win32
mov qword [0x1400511c0], 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 0x140036055
mov rdx, qword [0x140051000]
mov rax, qword [0x140051220]
lea rcx, str.imgui_impl_dx9
mov qword [rdx + 0xe0], rcx
mov qword [0x1400511b0], rax
call fcn.14001b5c0
mov dword [rdx + 0x1554], 0x41700000
mov dword [rdx + 0x1558], 0x41700000
mov dword [rdx + 0x155c], 0x40a00000
mov dword [rdx + 0x1584], 0x40a00000
mov dword [rdx + 0x1588], 0x40a00000
mov dword [rdx + 0x158c], 0x40800000
mov dword [rdx + 0x1594], 0x41400000
mov dword [rdx + 0x1598], 0x41000000
mov dword [rdx + 0x159c], 0x41000000
mov dword [rdx + 0x15a0], 0x40c00000
mov dword [rdx + 0x15ac], 0x41c80000
mov dword [rdx + 0x15b4], 0x41700000
mov dword [rdx + 0x15b8], 0x41100000
mov dword [rdx + 0x15bc], 0x40a00000
mov dword [rdx + 0x15c0], 0x40400000
mov dword [rdx + 0x15f0], 0x3f4ccccd
mov dword [rdx + 0x15f4], 0x3f4ccccd
mov dword [rdx + 0x15f8], 0x3f547ae1
mov dword [rdx + 0x15fc], 0x3f800000
mov dword [rdx + 0x1600], 0x3e75c28f
mov dword [rdx + 0x1604], 0x3e6b851f
mov dword [rdx + 0x1608], 0x3e947ae1
mov dword [rdx + 0x160c], 0x3f800000
mov dword [rdx + 0x1610], 0x3d75c28f
mov dword [rdx + 0x1614], 0x3d4ccccd
mov dword [rdx + 0x1618], 0x3d8f5c29
mov dword [rdx + 0x161c], 0x3f800000
mov dword [rdx + 0x1620], 0x3d8f5c29
mov dword [rdx + 0x1624], 0x3d8f5c29
mov dword [rdx + 0x1628], 0x3db851ec
mov dword [rdx + 0x162c], 0x3f800000
mov dword [rdx + 0x1630], 0x3d8f5c29
mov dword [rdx + 0x1634], 0x3d8f5c29
mov dword [rdx + 0x1638], 0x3db851ec
mov dword [rdx + 0x163c], 0x3f800000
mov dword [rdx + 0x1640], 0x3f4ccccd
mov dword [rdx + 0x1644], 0x3f4ccccd
mov dword [rdx + 0x1648], 0x3f547ae1
mov dword [rdx + 0x164c], 0x3f6147ae
mov dword [rdx + 0x1650], 0x3f6b851f
mov dword [rdx + 0x1654], 0x3f68f5c3
mov qword [rdx + 0x1658], 0x3f6147ae
mov dword [rdx + 0x1660], 0x3dcccccd
mov dword [rdx + 0x1664], 0x3db851ec
mov dword [rdx + 0x1668], 0x3df5c28f
mov dword [rdx + 0x166c], 0x3f800000
mov dword [rdx + 0x1670], 0x3e75c28f
mov dword [rdx + 0x1674], 0x3e6b851f
mov dword [rdx + 0x1678], 0x3e947ae1
mov dword [rdx + 0x167c], 0x3f800000
mov dword [rdx + 0x1680], 0x3f0f5c29
mov dword [rdx + 0x1684], 0x3f0f5c29
mov dword [rdx + 0x1688], 0x3f147ae1
mov dword [rdx + 0x168c], 0x3f800000
mov dword [rdx + 0x16c0], 0x3dcccccd
mov dword [rdx + 0x16c4], 0x3db851ec
mov dword [rdx + 0x16c8], 0x3df5c28f
mov dword [rdx + 0x16cc], 0x3f800000
mov dword [rdx + 0x16d0], 0x3dcccccd
mov dword [rdx + 0x16d4], 0x3db851ec
mov dword [rdx + 0x16d8], 0x3df5c28f
mov dword [rdx + 0x16dc], 0x3f800000
mov dword [rdx + 0x16e0], 0x3f4ccccd
mov dword [rdx + 0x16e4], 0x3f4ccccd
mov dword [rdx + 0x16e8], 0x3f547ae1
mov dword [rdx + 0x16ec], 0x3e9eb852
mov dword [rdx + 0x16f0], 0x3f0f5c29
mov dword [rdx + 0x16f4], 0x3f0f5c29
mov dword [rdx + 0x16f8], 0x3f147ae1
mov dword [rdx + 0x16fc], 0x3f800000
mov dword [rdx + 0x1700], 0x3d75c28f
mov dword [rdx + 0x1704], 0x3d4ccccd
mov dword [rdx + 0x1708], 0x3d8f5c29
mov dword [rdx + 0x170c], 0x3f800000
mov dword [rdx + 0x1720], 0x3f4ccccd
mov dword [rdx + 0x1724], 0x3f4ccccd
mov dword [rdx + 0x1728], 0x3f547ae1
mov dword [rdx + 0x172c], 0x3e9eb852
mov dword [rdx + 0x1730], 0x3d75c28f
mov dword [rdx + 0x1734], 0x3d4ccccd
mov dword [rdx + 0x1738], 0x3d8f5c29
mov dword [rdx + 0x173c], 0x3f800000
mov dword [rdx + 0x1740], 0x3dcccccd
mov dword [rdx + 0x1744], 0x3db851ec
mov dword [rdx + 0x1748], 0x3df5c28f
mov dword [rdx + 0x174c], 0x3f800000
mov dword [rdx + 0x1750], 0x3e75c28f
mov dword [rdx + 0x1754], 0x3e6b851f
mov dword [rdx + 0x1758], 0x3e947ae1
mov dword [rdx + 0x175c], 0x3f800000
mov dword [rdx + 0x1760], 0x3f0f5c29
mov dword [rdx + 0x1764], 0x3f0f5c29
mov dword [rdx + 0x1768], 0x3f147ae1
mov dword [rdx + 0x176c], 0x3f800000
mov dword [rdx + 0x1770], 0x3dcccccd
mov dword [rdx + 0x1774], 0x3db851ec
mov dword [rdx + 0x1778], 0x3df5c28f
mov dword [rdx + 0x177c], 0x3f800000
mov dword [rdx + 0x1780], 0x3f0f5c29
mov dword [rdx + 0x1784], 0x3f0f5c29
mov dword [rdx + 0x1788], 0x3f147ae1
mov dword [rdx + 0x178c], 0x3f800000
mov dword [rdx + 0x1790], 0x3d75c28f
mov dword [rdx + 0x1794], 0x3d4ccccd
mov dword [rdx + 0x1798], 0x3d8f5c29
mov dword [rdx + 0x179c], 0x3f800000
mov dword [rdx + 0x17a0], 0x3f0f5c29
mov dword [rdx + 0x17a4], 0x3f0f5c29
mov dword [rdx + 0x17a8], 0x3f147ae1
mov dword [rdx + 0x17ac], 0x3f800000
mov dword [rdx + 0x17b0], 0x3e75c28f
mov dword [rdx + 0x17b4], 0x3e6b851f
mov dword [rdx + 0x17b8], 0x3e947ae1
mov dword [rdx + 0x17bc], 0x3f800000
mov dword [rdx + 0x17c0], 0x3f0f5c29
mov dword [rdx + 0x17c4], 0x3f0f5c29
mov dword [rdx + 0x17c8], 0x3f147ae1
mov qword [rdx + 0x17cc], 0x3f800000
mov qword [rdx + 0x17d4], rbx
mov dword [rdx + 0x17dc], ebx
mov dword [rdx + 0x17e0], 0x3f0f5c29
mov dword [rdx + 0x17e4], 0x3f0f5c29
mov dword [rdx + 0x17e8], 0x3f147ae1
mov dword [rdx + 0x17ec], 0x3f800000
mov dword [rdx + 0x17f0], 0x3d75c28f
mov dword [rdx + 0x17f4], 0x3d4ccccd
mov dword [rdx + 0x17f8], 0x3d8f5c29
mov dword [rdx + 0x17fc], 0x3f800000
mov dword [rdx + 0x1850], 0x3ecccccd
mov dword [rdx + 0x1854], 0x3ec7ae14
mov dword [rdx + 0x1858], 0x3ec28f5c
mov dword [rdx + 0x185c], 0x3f2147ae
mov dword [rdx + 0x1860], 0x3e800000
mov qword [rdx + 0x1864], 0x3f800000
mov dword [rdx + 0x186c], 0x3f800000
mov dword [rdx + 0x1870], 0x3ecccccd
mov dword [rdx + 0x1874], 0x3ec7ae14
mov dword [rdx + 0x1878], 0x3ec28f5c
mov dword [rdx + 0x187c], 0x3f2147ae
mov dword [rdx + 0x1880], 0x3e800000
mov qword [rdx + 0x1884], 0x3f800000
mov dword [rdx + 0x188c], 0x3f800000
mov dword [rdx + 0x1890], 0x3e800000
mov qword [rdx + 0x1894], 0x3f800000
mov dword [rdx + 0x189c], 0x3edc28f6
mov dword [rdx + 0x18e0], 0x3f800000
mov dword [rdx + 0x18e4], 0x3f7ae148
mov dword [rdx + 0x18e8], 0x3f733333
mov dword [rdx + 0x18ec], 0x3f3ae148
movdqa xmm0, xmmword [0x140048820]
mov rdi, qword [rsp + 0x70]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x9c889ab7
mov dword [rsp + 0x54], 0x939f918b
mov dword [rsp + 0x58], 0x8281da91
mov word [rsp + 0x5c], 0x91
mov rcx, qword [rsi + 0xa0]
mov rsi, qword [rsp + 0x88]
nop word [rax + rax]
movsxd rdx, ebx
lea eax, [rbx - 0x25]
inc ebx
xor byte [rsp + rdx + 0x40], al
cmp ebx, 0x1d
jb 0x140036690
movss xmm2, dword [0x1400485cc]
lea rax, [0x140047644]
mov rbx, qword [rsp + 0x80]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x5d], 0
call fcn.14001f710
mov qword [0x1400510c8], rax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140041610
add rsp, 0x78
ret