Function at 0x140101a90
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
lea rax, [0x1400c3bd0]
mov dword [rbp - 0x40], 0x50
xor edi, edi
mov qword [rbp - 0x38], rax
xor ecx, ecx
mov qword [rbp - 0x30], rdi
mov dword [rbp - 0x3c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp + 8], rdi
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x40]
lea rax, [0x14037d9d0]
movdqu xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
mov qword [rbp], rax
movdqu xmmword [rbp - 0x10], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movups xmm3, xmmword [str.eGWMS_ESpotify]
mov r9d, eax
pextrw ecx, xmm3, 7
movups xmmword [rsp + 0x60], xmm3
test cx, cx
je 0x140101c5a
cmp dword [reloc.WS2_32.dll_accept], 2
mov ecx, edi
jl 0x140101c1e
movdqa xmm2, xmmword [0x140379a20]
movdqa xmm4, xmmword [0x140380750]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movq xmm1, xmm3
movdqa xmm3, xmmword [0x14037ba80]
paddw xmm2, xmmword [str.66666666]
movdqa xmm0, xmm3
xorps xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movq qword [rsp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [str.::::HKRC_NGO]
psubd xmm3, xmm0
pshufhw xmm0, xmm3, 0xd8
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [str.66666666]
xorps xmm2, xmm0
movq qword [rsp + 0x68], xmm2
jmp 0x140101c5a
lea r8, [rsp + 0x60]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 2]
mul ecx
shr edx, 5
movzx eax, dx
imul edx, eax, 0x3a
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 8
jl 0x140101c30
mov rax, qword [rbp - 0x28]
lea r8, [rsp + 0x60]
mov rdx, qword [rbp]
xor ecx, ecx
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r9d
mov r9d, 0x80000000
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_CreateWindowExW]
movdqa xmm0, xmmword [0x1403802b0]
lea rdx, [rbp + 0x10]
mov rcx, rax
mov qword [0x1408a67a0], rax
movdqu xmmword [rbp + 0x10], xmm0
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov rax, qword [0x1408a67a0]
lea rbx, [0x1408a7138]
mov qword [rsp + 0x58], rbx
lea rsi, [0x1408a67b0]
mov qword [rbp - 0x60], rax
lea r14, [0x1408a67c0]
lea rax, [rbp + 0x58]
mov qword [rbp - 0x7c], rdi
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 1
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x60]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x68], 2
mov qword [rbp - 0x50], 2
mov qword [rsp + 0x70], rdi
mov dword [rbp - 0x80], 0x1c
mov dword [rsp + 0x78], 0x3c
mov dword [rsp + 0x7c], 1
mov dword [rbp - 0x6c], 0x20
mov qword [rbp - 0x74], 1
mov qword [rbp - 0x58], 1
mov dword [rbp + 0x60], 0xb000
mov dword [rbp + 0x64], 0xa000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
cmp eax, 0x887a0004
jne 0x140101dd1
mov qword [rsp + 0x58], rbx
lea rax, [rbp + 0x58]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x60]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
jne 0x140101e83
mov rcx, qword [0x1408a67c0]
lea r9, [rbp + 0x68]
lea r8, [0x14037d918]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1408a67b0]
lea r9, [0x1408a67c8]
mov rdx, qword [rbp + 0x68]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1408a67a0]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1408a67a0]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, qword [0x1408a67a0]
xor edx, edx
call qword [sym.imp.USER32.dll_SetMenu]
mov eax, dword [0x1408a7224]
xor r9d, r9d
mov rcx, qword [0x1408a67a0]
xor r8d, r8d
mov dword [rsp + 0x30], edi
xor edx, edx
mov dword [rsp + 0x28], eax
mov eax, dword [0x1408a7220]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
add rsp, 0x120
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x1408a7140]
test rcx, rcx
je 0x140101e9c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1408a7140], rdi
mov rcx, qword [0x1408a67c0]
test rcx, rcx
je 0x140101eb5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1408a67c0], rdi
mov rcx, qword [0x1408a7138]
test rcx, rcx
je 0x140101ece
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1408a7138], rdi
mov rcx, qword [0x1408a67b0]
test rcx, rcx
je 0x140101ee7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1408a67b0], rdi
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov al, 1
add rsp, 0x120
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret