Function at 0x18005f980
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x60
mov dword [0x180166300], edx
mov r14d, ecx
mov byte [reloc.WS2_32.dll_accept], r8b
test ecx, ecx
je 0x18005fb7e
cmp ecx, 0x1e240
jne 0x18005f9ca
mov r8, 0xffffffffffffffff
mov dword [0x180166300], r8d
xor r8d, r8d
lea rcx, [rbp - 0x30]
mov edx, r14d
call fcn.18005aad0
lea rsi, [0x180345278]
xor ebx, ebx
mov rdi, rax
cmp rsi, rax
je 0x18005fa64
mov rdx, qword [0x180345290]
cmp rdx, 0x10
jb 0x18005fa2b
mov rcx, qword [0x180345278]
inc rdx
cmp rdx, 0x1000
jb 0x18005fa26
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005fdd7
mov rcx, r8
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [0x180345288], xmm0
mov byte [0x180345278], bl
movups xmm0, xmmword [rdi]
movups xmmword [0x180345278], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x180345288], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], send
mov byte [rdi], bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18005fa9f
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005fa9a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005fdd7
call fcn.1800afc8c
mov r8d, 1
lea rcx, [rbp - 0x30]
mov edx, r14d
call fcn.18005aad0
mov rdi, rax
lea rax, [0x180345258]
cmp rax, rdi
je 0x18005fb3a
mov rdx, qword [0x180345270]
cmp rdx, 0x10
jb 0x18005fb01
mov rcx, qword [0x180345258]
inc rdx
cmp rdx, 0x1000
jb 0x18005fafc
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18005fdd1
mov rcx, r8
call fcn.1800afc8c
movdqa xmm0, xmmword [0x180151770]
movdqu xmmword [0x180345268], xmm0
mov byte [0x180345258], bl
movups xmm0, xmmword [rdi]
movups xmmword [0x180345258], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [0x180345268], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], send
mov byte [rdi], bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18005fd47
mov rcx, qword [rbp - 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18005fb74
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005fdd1
call fcn.1800afc8c
jmp 0x18005fd47
mov eax, dword [0x1801502e0]
xor ebx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
movsd xmm0, qword [str.g_UT_JI]
mov dword [rbp - 0x38], eax
movzx eax, word [0x1801502e4]
mov word [rbp - 0x34], ax
movzx eax, byte [0x1801502e6]
mov byte [rbp - 0x32], al
movsd qword [rbp - 0x40], xmm0
jl 0x18005fcd0
movdqa xmm2, xmmword [0x180151790]
mov eax, 5
movdqa xmm3, xmmword [0x1801517a0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1801519d0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov ebx, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movaps xmmword [rsp + 0x50], xmm6
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 [0x180151800]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [str.g_UT_JI]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801518c0]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp - 0x40], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movaps xmm6, xmmword [rsp + 0x50]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180151800]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp - 0x3c]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801518a0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1801518c0]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
movsxd rax, ebx
lea r8, [rbp - 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, bl
inc ebx
sub al, cl
add al, 0x34
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x18005fce0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005fd20
lea rsi, [0x180345278]
mov rcx, rsi
lea rdx, [rbp - 0x40]
call fcn.18001ebe0
mov dword [0x180166300], 0x68d790
call fcn.180011370
cmp byte [rax + 0x48], 0
je 0x18005fdb7
cmp qword [0x180345290], 0x10
movsd xmm0, qword [0x180150190]
cmovae rsi, qword [0x180345278]
cmp byte [0x180150199], 0
movzx eax, word [0x180150198]
movsd qword [rbp - 0x40], xmm0
mov word [rbp - 0x38], ax
je 0x18005fdab
xor byte [rbp - 0x3f], 0x35
xor byte [rbp - 0x3e], 0x36
xor byte [rbp - 0x3d], 0x37
xor byte [rbp - 0x3c], 0x38
xor byte [rbp - 0x3b], 0x39
xor byte [rbp - 0x3a], 0x3a
xor byte [rbp - 0x39], 0x3b
xor byte [rbp - 0x38], 0x3c
xor byte [rbp - 0x37], 0x3d
mov byte [rbp - 0x40], 0x5b
mov rdx, rsi
lea rcx, [rbp - 0x40]
call fcn.180063f50
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1800bbb24
int3
call fcn.1800bbb24
int3