Function at 0x14006d810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
movaps xmmword [rsp + 0x350], xmm6
mov rax, qword [0x140554040]
xor rax, rsp
mov qword [rbp + 0x248], rax
mov rdi, rdx
xor r13d, r13d
mov qword [rbp - 0x58], r13
call fcn.1400728f0
mov ebx, eax
test eax, eax
je 0x14006e468
movsd xmm0, qword [str.ZAR_T]
movsd qword [rsp + 0x70], xmm0
movzx eax, word [0x140531ee0]
mov word [rsp + 0x78], ax
cmp byte [0x140531ee1], r13b
je 0x14006d8b6
mov byte [rsp + 0x70], WSAGetLastError
xor byte [rsp + 0x71], 0x35
xor byte [rsp + 0x72], 0x36
xor byte [rsp + 0x73], 0x37
xor byte [rsp + 0x74], 0x38
xor byte [rsp + 0x75], 0x39
xor byte [rsp + 0x76], 0x3a
xor byte [rsp + 0x77], 0x3b
xor byte [rsp + 0x78], 0x3c
xor byte [rsp + 0x79], 0x3d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14006d8d4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001d60
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14002c500
movsd xmm0, qword [0x140531ec8]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140531ed0]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x140531ed4]
mov byte [rsp + 0x7c], al
mov r8d, r13d
mov esi, dword [0x140554008]
cmp esi, 2
jl 0x14006da36
movdqa xmm4, xmmword [0x140534410]
movdqa xmm2, xmmword [0x140534190]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1405341d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1405342d0]
movd xmm0, dword [0x140531ec8]
xorps xmm2, xmm0
movd dword [rsp + 0x70], xmm2
movdqa xmm3, xmmword [0x1405341b0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1405341d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1405342d0]
movd xmm0, dword [rsp + 0x74]
xorps xmm2, xmm0
movd dword [rsp + 0x74], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x70]
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
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xd
jl 0x14006da50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14006daa1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001d60
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14002c500
cmp qword [rbp - 0x80], r13
je 0x14006e468
cmp qword [rbp - 0x48], r13
je 0x14006e468
movsd xmm0, qword [str.xQDWX]
movsd qword [rsp + 0x70], xmm0
movzx ecx, word [0x140531ef0]
mov word [rsp + 0x78], cx
movzx eax, byte [0x140531ef2]
mov byte [rsp + 0x70], 0x4c
xor byte [rsp + 0x71], 0x35
xor byte [rsp + 0x72], 0x36
xor byte [rsp + 0x73], 0x37
xor byte [rsp + 0x74], 0x38
xor byte [rsp + 0x75], 0x39
xor byte [rsp + 0x76], 0x3a
xor byte [rsp + 0x77], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x78], cl
xor byte [rsp + 0x79], 0x3d
xor al, 0x3e
mov byte [rsp + 0x7a], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14006db57
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001d60
lea r9, [rbp - 0x38]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14002c600
movsd xmm0, qword [str.zAeRLLRI_]
movsd qword [rsp + 0x70], xmm0
movzx ecx, word [0x140531f00]
mov word [rsp + 0x78], cx
movzx eax, byte [0x140531f02]
mov byte [rsp + 0x70], 0x4e
xor byte [rsp + 0x71], 0x35
xor byte [rsp + 0x72], 0x36
xor byte [rsp + 0x73], 0x37
xor byte [rsp + 0x74], 0x38
xor byte [rsp + 0x75], 0x39
xor byte [rsp + 0x76], 0x3a
xor byte [rsp + 0x77], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x78], cl
xor byte [rsp + 0x79], 0x3d
xor al, 0x3e
mov byte [rsp + 0x7a], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x14006dc00
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140001d60
lea r9, [rbp - 0x40]
lea r8, [rsp + 0x40]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14002c600
movups xmm0, xmmword [0x140531f30]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [str.__4__:J]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140531f44]
mov word [rsp + 0x54], ax
movzx eax, byte [0x140531f46]
mov byte [rsp + 0x56], al
mov ecx, r13d
cmp esi, 2
jl 0x14006ddaa
movdqa xmm5, xmmword [0x140534190]
movdqa xmm4, xmmword [0x140534410]
movdqa xmm6, xmmword [0x1405341d0]
movdqa xmm0, xmmword [0x1405342d0]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x14006dca0
cmp ecx, 0x17
jge 0x14006ddee
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x14006ddc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], r13
mov qword [rbp + 0x228], r13
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14006de12
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x210]
call fcn.140001d60
lea r9, [rbp + 0x238]
lea r8, [rbp + 0x210]
mov rdx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14002c600
movsd xmm0, qword [str.yPEDY_ySE]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x140531f10]
mov dword [rsp + 0x78], eax
cmp byte [0x140531f13], r13b
je 0x14006dfc3
mov r8d, r13d
cmp esi, 2
jl 0x14006df81
movdqa xmm4, xmmword [0x140534410]
movdqa xmm2, xmmword [0x140534190]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1405341d0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
mov eax, dword [0x1405342d0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.yPEDY_ySE]
xorps xmm2, xmm0
movd dword [rsp + 0x70], xmm2
movdqa xmm3, xmmword [0x1405341b0]
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1405341d0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x74]
xorps xmm2, xmm1
movd dword [rsp + 0x74], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax]
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xc
jl 0x14006df90
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], r13
mov qword [rbp + 0x228], r13
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r13b
jne 0x14006dfe7
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x210]
call fcn.140001d60
lea r9, [rbp + 0x240]
lea r8, [rbp + 0x210]
mov rdx, qword [rbp - 0x48]
mov rcx, rbx
call fcn.14002c600
cmp qword [rbp - 0x38], r13
je 0x14006e468
cmp qword [rbp - 0x40], r13
je 0x14006e468
movups xmm0, xmmword [str.zAw_TVYZHXhV257___b_3KxQDp_MjIS__53]
movups xmmword [rbp - 0x78], xmm0
movsd xmm0, qword [0x140531f28]
movsd qword [rbp - 0x68], xmm0
cmp byte [0x140531f2f], r13b
je 0x14006e1d3
cmp esi, 2
jl 0x14006e197
movdqa xmm5, xmmword [0x140534190]
mov edx, r13d
movdqa xmm4, xmmword [0x140534410]
movdqa xmm6, xmmword [0x1405341d0]
movdqa xmm0, xmmword [0x1405342d0]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x74]
mov r8d, dword [rsp + 0x70]
nop
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
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, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140534260]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x18
jl 0x14006e090
jmp 0x14006e1d3
lea r9, [rbp - 0x78]
mov r8d, r13d
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x18
jl 0x14006e1a0
lea rcx, [rbp - 0x78]
call fcn.14002be50
test ax, ax
jne 0x14006e1e6
mov rax, r13
jmp 0x14006e1ee
movzx ecx, ax
call fcn.14002b6a0
mov qword [rbp - 0x50], r13
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
mov qword [rbp + 0x230], rdx
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0x3000
lea r9, [rbp + 0x230]
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [r8 - 1]
call qword [case.0x14001f545.0]
mov rdx, qword [rdi]
mov r8, qword [rdi + 8]
sub r8, rdx
mov rcx, qword [rbp - 0x50]
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi]
cmp rax, qword [rdi + 8]
je 0x14006e248
mov qword [rdi + 8], rax
mov rdi, qword [rbp - 0x50]
mov eax, 0x5a4d
cmp word [rdi], ax
jne 0x14006e468
movsxd rax, dword [rdi + 0x3c]
add rax, rdi
je 0x14006e468
mov esi, dword [rax + 0x50]
mov qword [rbp - 0x78], rbx
lea rax, [rbp - 0x58]
mov qword [rbp - 0x70], rax
mov dword [rbp - 0x68], esi
mov dword [rbp - 0x64], 4
lea rdx, [rbp - 0x78]
mov ecx, 3
call fcn.14002c0b0
mov qword [rbp + 0x210], rbx
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0x218], rax
mov dword [rbp + 0x220], esi
mov qword [rbp + 0x228], rdi
lea rdx, [rbp + 0x210]
mov ecx, 1
call fcn.14002c0b0
lea rax, [rbp + 0x210]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x210], xmm0
mov qword [rbp + 0x220], r13
mov qword [rbp + 0x228], r13
mov r8d, reloc.WS2_32.dll_inet_addr
lea rdx, [0x140531ea8]
lea rcx, [rbp + 0x210]
call fcn.140001d60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r13
mov r8d, recv
lea rdx, str.kernel32.dll
lea rcx, [rsp + 0x40]
call fcn.140001d60
nop
mov dword [rsp + 0x20], 0x8000
xor r9d, r9d
mov r8, rdi
lea rdx, [rbp + 0x210]
lea rcx, [rsp + 0x40]
call fcn.14006e4a0
test eax, eax
je 0x14006e468
mov rdi, qword [rbp - 0x58]
mov r14, qword [rbp - 0x40]
mov r15, qword [rbp - 0x38]
mov r12, qword [rbp - 0x80]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r13
mov qword [rbp - 0x60], r13
xor r8d, r8d
lea rdx, [0x1405230e8]
lea rcx, [rbp - 0x78]
call fcn.140001d60
lea rax, [rbp - 0x78]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
mov r8, qword [rbp - 0x68]
add r8, rdx
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0x210]
call fcn.14002c780
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x28]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 7
cmova rdx, qword [rbp + 0x210]
lea rcx, [rbp - 0x28]
lea rax, [rbp - 0x28]
sub rdx, rax
nop dword [rax + rax]
movzx eax, word [rcx + rdx]
mov word [rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14006e3f0
mov qword [rbp - 0x30], rbx
mov qword [rbp + 0x1e0], r12
mov qword [rbp + 0x1e8], r15
mov dword [rbp + 0x1f8], esi
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x200], rdi
lea rdx, [rbp - 0x30]
mov ecx, reloc.WS2_32.dll_ntohl
call fcn.14002c0b0
nop
lea rcx, [rbp + 0x210]
call fcn.14002c710
nop
lea rcx, [rbp - 0x78]
call fcn.140001cd0
mov qword [rsp + 0x70], rbx
mov rax, qword [rbp - 0x58]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
mov ecx, 4
call fcn.14002c0b0
mov rcx, qword [rbp + 0x248]
xor rcx, rsp
call fcn.1400e9c90
mov rbx, qword [rsp + 0x3b0]
movaps xmm6, xmmword [rsp + 0x350]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret