Function at 0x180046640
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rbp - 0x30], rax
mov rax, qword [0x1800a4868]
test rax, rax
jne 0x1800468fa
cmp byte [0x180088529], 0
movsd xmm0, qword [str.XCUV]
movzx eax, word [0x180088528]
movsd qword [rbp - 0x60], xmm0
mov word [rbp - 0x58], ax
je 0x1800466b3
xor byte [rbp - 0x5f], 0x37
xor byte [rbp - 0x5e], 0x38
xor byte [rbp - 0x5d], 0x39
xor byte [rbp - 0x5c], 0x3a
xor byte [rbp - 0x5b], 0x3b
xor byte [rbp - 0x5a], 0x3c
xor byte [rbp - 0x59], 0x3d
xor byte [rbp - 0x58], 0x3e
xor byte [rbp - 0x57], 0x3f
mov byte [rbp - 0x60], 0x6e
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r9, rax
test rax, rax
je 0x1800468f6
movzx eax, word [0x180088570]
xor ecx, ecx
cmp dword [0x18009e0a0], 2
movups xmm3, xmmword [str.dCTxQINJo2_4____H]
mov word [rbp - 0x40], ax
movzx eax, byte [0x180088572]
mov byte [rbp - 0x3e], al
movups xmmword [rbp - 0x50], xmm3
jl 0x1800468a8
movdqa xmm5, xmmword [0x180088740]
movdqa xmm2, xmmword [0x1800886c0]
movdqa xmm4, xmmword [0x180088730]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x1800886e0]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [str.7777]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x60], xmm7
movdqa xmm7, xmmword [0x180088750]
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rbp - 0x50], xmm2
movdqa xmm2, xmmword [0x1800886d0]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rbp - 0x4c]
andps xmm2, xmm4
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rbp - 0x4c], xmm2
movdqa xmm2, xmmword [0x1800886f0]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rbp - 0x48]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rbp - 0x48], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
mov ecx, reloc.WS2_32.dll_recv
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x70]
psubd xmm2, xmm0
movd xmm0, dword [rbp - 0x44]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x60]
xorps xmm2, xmm0
movd dword [rbp - 0x44], xmm2
mov eax, ecx
lea r8, [rbp - 0x50]
add r8, rax
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x1800468b1
lea rdx, [rbp - 0x50]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1800a4868], rax
test rax, rax
jne 0x1800468fa
xor al, al
jmp 0x180046913
lea r9, [rbp - 0x38]
mov byte [rbp - 0x38], 0
xor r8d, r8d
mov dl, 1
mov ecx, 0xa
call rax
shr eax, 0x1f
xor al, 1
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.180056f00
add rsp, 0x80
pop rbp
ret