Function at 0x140008fd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400ed140]
xor rax, rsp
mov qword [rbp + 0x68], rax
xor edx, edx
mov r8d, 0x468
mov rbx, rcx
call sub.VCRUNTIME140.dll_memset
lea rax, [0x14000a410]
mov dword [rbp], 0x50
xor r15d, r15d
mov qword [rbp + 8], rax
xor ecx, ecx
mov qword [rbp + 0x18], r15
mov dword [rbp + 4], 3
mov qword [rbp + 0x10], r15
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov qword [rbp + 0x18], rax
mov edx, 0x7f00
call qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, qword [rbp + 0x18]
mov edx, 0x7f00
mov qword [rbp + 0x20], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
xor ecx, ecx
mov qword [rbp + 0x28], rax
call qword [sym.imp.GDI32.dll_CreateSolidBrush]
cmp word [0x1400e69fa], r15w
movups xmm3, xmmword [str.rG_zYW_YO]
mov qword [rbp + 0x30], rax
movsd xmm0, qword [0x1400e69f0]
mov eax, dword [0x1400e69f8]
movups xmmword [rsp + 0x70], xmm3
mov qword [rbp + 0x38], r15
movsd qword [rbp - 0x80], xmm0
mov dword [rbp - 0x78], eax
je 0x1400091f5
cmp dword [0x1400ed150], 2
mov r8d, r15d
jl 0x1400091ad
movdqa xmm2, xmmword [0x1400e6ca0]
mov eax, 4
movdqa xmm4, xmmword [0x1400e6dd0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x170], xmm6
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e6ce0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x1400e6cc0]
paddw xmm2, xmmword [0x1400e6d00]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x70], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x170]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400e6ce0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x78]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x1400e6d00]
xorps xmm2, xmm0
movq qword [rsp + 0x78], xmm2
movsxd rax, r8d
lea r9, [rsp + 0x70]
lea r9, [r9 + rax*2]
nop dword [rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x34
xor word [r9 - 2], ax
cmp r8d, 0xe
jl 0x1400091c0
mov rcx, qword [rbp + 0x18]
lea rax, [rsp + 0x70]
mov edx, 0x7f00
mov qword [rbp + 0x40], rax
call qword [sym.imp.USER32.dll_LoadIconW]
lea rcx, [rbp]
mov qword [rbp + 0x48], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp + 0x18]
mov r9d, 0x90000000
mov rdx, qword [rbp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x58], r15
mov r8, rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x438
mov dword [rsp + 0x30], 0x780
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_CreateWindowExW]
movdqa xmm0, xmmword [0x1400e6c50]
lea rdx, [rbp + 0x58]
mov rcx, rax
mov qword [rbx + 0x20], rax
movdqu xmmword [rbp + 0x58], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rcx, qword [rbx + 0x20]
mov r9d, 2
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [rbx + 0x20]
mov r9d, 1
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [rbx + 0x20]
mov edx, 0xffffffec
mov r8d, 0x800a0
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov rcx, qword [rbx + 0x20]
mov edx, 5
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [rbx + 0x20]
lea rdx, [rbp + 0x50]
mov dword [rbp + 0x50], r15d
call qword [sym.imp.USER32.dll_GetWindowDisplayAffinity]
test eax, eax
jne 0x140009332
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov r9d, 0x400
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1300
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rbp - 0x70]
mov r9d, 0x40000
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [rbp + 0x50]
mov rcx, qword [rbx + 0x20]
or edx, 0x11
mov dword [rbp + 0x50], edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
test eax, eax
jne 0x14000938d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov r9d, 0x400
mov qword [rsp + 0x20], rdx
mov r8d, eax
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rdx, qword [rbp - 0x70]
mov r9d, 0x40000
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [rbx + 0x20]
lea rsi, [rbx + 8]
mov qword [rsp + 0x58], rsi
lea rdi, [rbx + 0x18]
mov qword [rbp - 0x20], rax
xor r9d, r9d
lea rax, [rbp - 0x60]
mov qword [rbp - 0x3c], r15
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rdi
lea edx, [r9 + 1]
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x28], 2
mov qword [rbp - 0x10], 2
mov qword [rbp - 0x50], r15
mov dword [rbp - 0x40], 0x1c
mov dword [rbp - 0x48], 0x3c
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x2c], 0x20
mov qword [rbp - 0x34], 1
mov qword [rbp - 0x18], 1
mov dword [rbp - 0x68], 0xb000
mov dword [rbp - 0x64], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14000948e
mov qword [rsp + 0x58], rsi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rbx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rdi
xor r8d, r8d
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov dword [rsp + 0x30], 7
lea rax, [rbp - 0x68]
mov dword [rsp + 0x28], 2
lea edx, [r9 + 5]
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
jne 0x140009696
mov rcx, qword [rdi]
lea r9, [rbp - 0x70]
lea r8, [0x1400e6ac8]
mov qword [rsp + 0x1a8], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
lea r14, [rbx + 0x10]
test eax, eax
js 0x1400094d9
mov rcx, qword [rbx]
mov r9, r14
mov rdx, qword [rbp - 0x70]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
xorps xmm0, xmm0
mov qword [rsp + 0x30], 2
movups xmmword [0x1400f6368], xmm0
mov qword [rsp + 0x28], 0x14
mov edx, 0x37c0
movups xmmword [0x1400f6378], xmm0
mov rax, qword [r14]
lea rcx, str.1.89.8
mov qword [0x1400f6378], rax
mov r9d, 8
mov rax, qword [rdi]
mov r8d, 0x440
mov qword [0x1400f6380], rax
mov rax, qword [rbx]
mov qword [0x1400f6368], rax
mov rax, qword [rsi]
mov qword [0x1400f6370], rax
mov qword [rsp + 0x20], 0x10
call fcn.140044890
xor ecx, ecx
call fcn.140033f00
mov rcx, qword [rbx + 0x20]
call fcn.140005480
mov r14, qword [rsi]
mov rsi, qword [rbx]
call fcn.140034050
mov ecx, 0x78
mov rdi, rax
call fcn.140044b40
mov qword [rsp + 0x68], rax
mov rbx, rax
test rax, rax
je 0x1400095b3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x30], xmm0
movups xmmword [rbx + 0x40], xmm0
movups xmmword [rbx + 0x50], xmm0
movups xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x70], 0x1388
mov dword [rbx + 0x74], 0x2710
jmp 0x1400095b6
mov rbx, r15
or dword [rdi + 4], 8
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x80], rax
lea r8, [rbp - 0x68]
mov qword [rdi + 0x90], rbx
lea rdx, [0x1400e5da8]
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x70], r15
call qword [rax]
test eax, eax
jne 0x140009633
mov rcx, qword [rbp - 0x68]
lea r8, [rbp - 0x60]
lea rdx, [0x1400e5db8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140009633
mov rcx, qword [rbp - 0x60]
lea r8, [rbp - 0x70]
lea rdx, [0x1400e5dc8]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x140009633
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp - 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x68]
mov r14, qword [rsp + 0x1a8]
test rcx, rcx
je 0x14000964a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140009659
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + 8]
call fcn.1400b0b30
call fcn.140034050
mov qword [rax + 0x18], r15
call fcn.140034050
or dword [rax], 2
call fcn.140034050
or dword [rax], 1
call fcn.140034050
or dword [rax], 0x20
mov al, 1
jmp 0x1400096ea
lea rcx, str.____Failed_Create_DeviceD3D._r_n
call fcn.140006e70
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400096b5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x10], r15
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400096c6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi], r15
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400096d7
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], r15
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400096e8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx], r15
xor al, al
mov rcx, qword [rbp + 0x68]
xor rcx, rsp
call fcn.1400c27c0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret