Function at 0x14006bb70
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1401b66f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x40], rdx
xor r15d, r15d
mov eax, dword [str.___UR8]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140197454]
mov word [rsp + 0x44], ax
mov byte [rsp + 0x40], WSAGetLastError
xor byte [rsp + 0x41], 0x34
xor byte [rsp + 0x42], 0x35
xor byte [rsp + 0x43], 0x36
xor al, 0x37
mov byte [rsp + 0x44], al
xor byte [rsp + 0x45], 0x38
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rsp + 0x40]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], r15b
jne 0x14006bc12
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x68]
call fcn.14001fd20
nop
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x50]
call fcn.14001efa0
mov qword [rbp + 0x60], r15
lea rdx, [rbp + 0x10]
call fcn.140014400
nop
mov rdx, rax
lea rcx, [rbp + 0x68]
call fcn.14001efa0
mov qword [rbp + 0x78], r15
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xc0]
call fcn.14001b170
mov qword [rbp + 0xd0], r15
movsd xmm0, qword [str.G_XSDLXWK_]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x140197038]
mov word [rsp + 0x38], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_60], 0
je 0x14006bcd9
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSACleanup
xor byte [rsp + 0x31], 0x34
xor byte [rsp + 0x32], 0x35
xor byte [rsp + 0x33], 0x36
xor byte [rsp + 0x34], 0x37
xor byte [rsp + 0x35], 0x38
xor byte [rsp + 0x36], 0x39
xor byte [rsp + 0x37], 0x3a
xor byte [rsp + 0x38], 0x3b
xor byte [rsp + 0x39], 0x3c
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14006bcf2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.14001fd20
nop
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x90]
call fcn.14001efa0
mov qword [rbp + 0xa0], r15
lea rdx, [rbp + 0x120]
lea rcx, [0x1401b6728]
call fcn.1400116d0
nop
mov rdx, rax
lea rcx, [rbp + 0xa8]
call fcn.14001efa0
mov qword [rbp + 0xb8], r15
lea rax, [rbp + 0x90]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xd8]
call fcn.14001b170
mov qword [rbp + 0xe8], r15
movsd xmm0, qword [str._QG_VTWOVXLL_]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140197488]
mov dword [rsp + 0x38], eax
movzx eax, word [0x14019748c]
mov word [rsp + 0x3c], ax
mov r12d, 5
lea r13d, [r12 + 0x1a]
mov r14d, dword [reloc.WS2_32.dll_accept]
cmp byte [0x14019748d], 0
je 0x14006bf25
mov r8d, r15d
cmp r14d, 2
jl 0x14006bed8
movdqa xmm4, xmmword [0x140198df0]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d20]
movd xmm0, dword [str._QG_VTWOVXLL_]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140198d20]
movd xmm0, dword [rsp + 0x34]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14006bef0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006bf40
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.14001fd20
nop
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14001efa0
mov qword [rbp - 0x30], r15
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x28], 0
xor eax, eax
mov qword [rbp - 0x20], rax
lea rdx, [0x1401b6900]
lea rcx, [rbp - 0x28]
call fcn.14002c010
nop
mov qword [rbp - 0x18], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0xf0]
call fcn.14001b170
mov qword [rbp + 0x100], r15
movsd xmm0, qword [str.GGSVJ__YIG_]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140196ba8]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x140196bac]
mov byte [rsp + 0x3c], al
mov r8d, r15d
cmp r14d, 2
jl 0x14006c103
movdqa xmm4, xmmword [0x140198df0]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
mov eax, dword [0x140198d20]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.GGSVJ__YIG_]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x33
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14006c110
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rsp + 0x30]
mov r8, rsi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14006c160
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14001fd20
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14001efa0
mov qword [rbp - 0x60], r15
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x58], 0
xor eax, eax
mov qword [rbp - 0x50], rax
movzx ebx, byte [rbx]
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.14001dc80
mov byte [rbp - 0x58], 4
mov byte [rsp + 0x40], bl
mov rax, qword [rsp + 0x40]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x108]
call fcn.14001b170
mov qword [rbp + 0x118], r15
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
call fcn.14001b170
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x14]
lea rcx, [rbp + 0xc0]
call fcn.14012edcc
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x70]
call fcn.14012edcc
nop
lea rcx, [rbp - 0x10]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp - 0x40]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x30]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x90]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x120]
call fcn.14000c460
nop
lea rcx, [rsp + 0x48]
call fcn.14000c460
nop
lea r9, [fcn.140019480]
mov edx, Ordinal_26
lea r8d, [rdx - 0x16]
lea rcx, [rbp + 0x50]
call fcn.14012edcc
nop
lea rcx, [rbp + 0x10]
call fcn.14000c460
nop
lea rcx, [rsp + 0x68]
call fcn.14000c460
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
movdqa xmm1, xmmword [0x140198ad0]
movdqu xmmword [rbp + 0x160], xmm1
mov byte [rbp + 0x150], 0
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x140]
call fcn.14001abe0
mov rbx, rax
mov eax, dword [str.cfb7]
mov dword [rsp + 0x40], eax
movzx ecx, byte [0x1401972f4]
mov byte [rsp + 0x40], 0x50
xor byte [rsp + 0x41], 0x34
xor byte [rsp + 0x42], 0x35
xor byte [rsp + 0x43], 0x36
xor cl, 0x37
mov byte [rsp + 0x44], cl
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea rax, [rsp + 0x40]
mov r8, rsi
inc r8
cmp byte [rax + r8], 0
jne 0x14006c353
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x48]
call fcn.14001fd20
nop
movsd xmm0, qword [0x140197418]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140197420]
mov dword [rsp + 0x38], eax
cmp byte [0x140197423], 0
je 0x14006c4f0
mov ecx, r15d
cmp r14d, 2
jl 0x14006c4ae
movdqa xmm4, xmmword [0x140198df0]
movd xmm6, r12d
movd xmm5, r13d
movdqa xmm2, xmmword [0x140198b10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
mov eax, dword [0x140198d20]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140197418]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140198b20]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140198b60]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140198ce0]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
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
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xc
jl 0x14006c4c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rsp + 0x30]
inc rsi
cmp byte [rax + rsi], 0
jne 0x14006c506
mov r8, rsi
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x68]
call fcn.14001fd20
nop
lea rax, [rbp + 0x150]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x68]
lea rcx, [0x1401b6728]
call fcn.140012ee0
movzx ebx, al
lea rcx, [rsp + 0x68]
call fcn.14000c460
nop
lea rcx, [rsp + 0x48]
call fcn.14000c460
nop
lea rcx, [rbp + 0x10]
call fcn.14000c460
test bl, bl
je 0x14006c5de
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x10]
call fcn.14001c0b0
mov rbx, rax
mov qword [rbp + 0x88], r15
lea r8, [rbp + 0x50]
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x10]
call fcn.14001e6c0
nop
mov r9, rbx
mov r8, rax
mov rdx, rdi
lea rcx, [0x1401b6728]
call fcn.1400145a0
nop
lea rcx, [rbp + 0x150]
call fcn.14000c460
nop
movzx edx, byte [rbp + 0x140]
lea rcx, [rbp + 0x148]
call fcn.14001dc80
nop
jmp 0x14006c643
mov word [rdi], 0
xorps xmm0, xmm0
movups xmmword [rdi + 8], xmm0
mov qword [rdi + 0x18], r15
mov qword [rdi + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rdi + 8], 0
movups xmmword [rdi + 0x28], xmm0
mov qword [rdi + 0x38], r15
mov qword [rdi + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x28], 0
movups xmmword [rdi + 0x48], xmm0
mov qword [rdi + 0x58], r15
mov qword [rdi + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rdi + 0x48], 0
lea rcx, [rbp + 0x150]
call fcn.14000c460
nop
movzx edx, byte [rbp + 0x140]
lea rcx, [rbp + 0x148]
call fcn.14001dc80
nop
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14012e5c0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret