Function at 0x14000d850
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1400cb180]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov qword [rbp - 0x10], 0x50
xor r15d, r15d
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbp - 8], rax
mov qword [rbp], r15
mov qword [rbp + 8], r15
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x10], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x20], xmm0
lea rbx, str.Discord
mov qword [rbp + 0x30], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rbp + 0x38], rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_RegisterClassExA]
cvttss2si ecx, dword [0x1400d272c]
cvttss2si r8d, dword [0x1400d2728]
mov qword [rsp + 0x58], r15
mov rax, qword [rbp + 8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x80000000
lea r8, [0x1400b1b68]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400d26b0], rax
test rax, rax
je 0x14000e004
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongW]
movdqa xmm0, xmmword [0x1400b36b0]
movdqu xmmword [rbp + 0x40], xmm0
lea rdx, [rbp + 0x40]
mov rcx, qword [0x1400d26b0]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1400d26b0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rdx, 0xffffffffffffffff
mov rcx, qword [0x1400d26b0]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1400d26b0]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov rcx, qword [0x1400d26b0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rbp - 0x4c], r15
mov qword [rbp - 0x38], 2
mov qword [rbp - 0x20], 2
mov qword [rbp - 0x60], r15
mov dword [rbp - 0x50], 0x1c
mov dword [rbp - 0x58], 0x3c
mov dword [rbp - 0x54], 1
mov dword [rbp - 0x3c], 0x20
mov rax, qword [0x1400d26b0]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x44], 1
mov qword [rbp - 0x28], 1
mov dword [rbp + 0x58], 0xb000
mov dword [rbp + 0x5c], 0xa000
lea rax, [0x1400d26c0]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x50], rax
lea rax, [0x1400d26b8]
mov qword [rsp + 0x48], rax
lea rax, [0x1400d26a8]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
js 0x14000e004
mov rcx, qword [0x1400d26a8]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, [0x1400b1738]
xor edx, edx
call qword [rax + 0x48]
test eax, eax
js 0x14000e004
mov rcx, qword [0x1400d26b8]
mov rax, qword [rcx]
lea r9, [0x1400d2698]
xor r8d, r8d
mov rdx, qword [rbp - 0x68]
call qword [rax + 0x48]
mov ebx, eax
mov rcx, qword [rbp - 0x68]
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
test ebx, ebx
js 0x14000e004
mov rbx, qword [0x1400d26c8]
test rbx, rbx
je 0x14000db13
inc dword [rbx + 0xec]
mov ecx, 0x5e70
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rbp + 0x40], rax
lea rcx, [rsp + 0x60]
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x78], rax
test rax, rax
je 0x14000db40
xor edx, edx
mov rcx, rax
call fcn.140014da0
jmp 0x14000db43
mov rax, r15
mov qword [0x1400d26c8], rax
call fcn.140018a50
test rbx, rbx
je 0x14000db5d
mov qword [0x1400d26c8], rbx
jmp 0x14000db64
mov rbx, qword [0x1400d26c8]
or dword [rbx + 8], 3
movups xmm0, xmmword [0x1400b1760]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1400b1770]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1400b1778]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1400b177c]
mov word [rbp - 0x7c], ax
mov edi, dword [0x1400cb1d8]
movdqa xmm6, xmmword [0x1400b3800]
cmp byte [0x1400b177d], 0
je 0x14000dd0d
mov ecx, r15d
cmp edi, 2
jl 0x14000dcd4
movdqa xmm4, xmmword [0x1400b3740]
movdqa xmm3, xmmword [0x1400b3850]
movdqa xmm5, xmmword [0x1400b37d0]
movdqa xmm0, xmmword [0x1400b3870]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rsp + 0x6c]
mov r8d, dword [rbp + 0x40]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14000dbf0
cmp ecx, 0x1e
jge 0x14000dd0d
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x14000dce0
movss xmm2, dword [0x1400b35d8]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x38]
call fcn.14003a0b0
movups xmm0, xmmword [0x1400b1760]
movups xmmword [rsp + 0x68], xmm0
movsd xmm0, qword [0x1400b1770]
movsd qword [rsp + 0x78], xmm0
mov eax, dword [0x1400b1778]
mov dword [rbp - 0x80], eax
movzx eax, word [0x1400b177c]
mov word [rbp - 0x7c], ax
cmp byte [0x1400b177d], 0
je 0x14000debd
mov ecx, r15d
cmp edi, 2
jl 0x14000de84
movdqa xmm4, xmmword [0x1400b3740]
movdqa xmm3, xmmword [0x1400b3850]
movdqa xmm5, xmmword [0x1400b37d0]
movdqa xmm0, xmmword [0x1400b3870]
movdqa xmmword [rbp + 0x40], xmm0
lea rdx, [rsp + 0x6c]
mov r8d, dword [rbp + 0x40]
nop dword [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x18
jl 0x14000dda0
cmp ecx, 0x1e
jge 0x14000debd
movsxd rax, ecx
lea r8, [rsp + 0x68]
add r8, rax
nop
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x37
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x1e
jl 0x14000de90
movss xmm2, dword [0x1400b35e8]
lea rdx, [rsp + 0x68]
mov rcx, qword [rbx + 0x38]
call fcn.14003a0b0
mov qword [0x1400d2a38], rax
mov rcx, qword [0x1400d26b0]
call fcn.140013e40
test al, al
je 0x14000e004
mov r14, qword [0x1400d26c0]
mov rsi, qword [0x1400d26b8]
mov rdi, qword [0x1400d26c8]
test rdi, rdi
je 0x14000df0e
inc dword [rdi + 0xec]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14000df4f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14000df52
mov rbx, r15
mov qword [rdi + 0x98], rbx
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x88], rax
or dword [rdi + 0xc], 8
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov qword [rbp + 0x40], r15
mov rax, qword [rsi]
lea r8, [rbp - 0x78]
lea rdx, [0x1400b20b8]
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14000dfcf
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea r8, [rbp - 0x70]
lea rdx, [0x1400b20c8]
call qword [rax + 0x30]
test eax, eax
jne 0x14000dfcf
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
lea rdx, [0x1400b20d8]
call qword [rax + 0x30]
test eax, eax
jne 0x14000dfcf
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rbp + 0x40]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000dfde
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000dfed
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
mov al, 1
jmp 0x14000e006
xor al, al
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14009cee0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret