Function at 0x140011680
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
movaps xmmword [rsp + 0x210], xmm6
mov rax, qword [0x1402dac00]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r13, r9
mov rbx, r8
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x80], rdx
mov r12, rcx
mov qword [rbp + 0x70], rcx
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], r9
mov r15d, 1
mov dword [rsp + 0x48], r15d
mov rdx, r9
mov rcx, r8
call fcn.14000ce80
xorps xmm0, xmm0
movups xmmword [r12], xmm0
xor r14d, r14d
mov qword [r12], r14
mov qword [r12 + 8], r14
mov ecx, 0x50
call fcn.1401ebf78
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [r12], rax
mov dword [rsp + 0x48], r15d
mov rcx, r13
cmp qword [r13 + 0x18], 0xf
jbe 0x140011734
mov rcx, qword [r13]
xor r9d, r9d
mov r8d, 6
lea rdx, [rsp + 0x40]
call fcn.1401224c0
test eax, eax
je 0x140011755
mov rcx, qword [rsp + 0x40]
jmp 0x140011eb0
movups xmm0, xmmword [0x140293da0]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x140293db0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x140293dc0]
movups xmmword [rbp - 0x50], xmm0
movzx eax, word [reloc.WS2_32.dll_getsockopt]
mov word [rbp - 0x40], ax
movzx eax, byte [0x140293dd2]
mov byte [rbp - 0x3e], al
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400118b8
movdqa xmm4, xmmword [0x1402abae0]
movdqa xmm3, xmmword [0x1402abb70]
movdqa xmm5, xmmword [str.7777]
movdqa xmm0, xmmword [0x1402abba0]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rbp - 0x6c]
movdqa xmm6, xmmword [0x1402abb50]
mov edx, dword [rsp + 0x50]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x1400117d1
cmp r8d, 0x33
jge 0x1400118ff
movsxd rax, r8d
lea r9, [rbp - 0x70]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x33
jl 0x1400118d0
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r9d, 0x80
mov r8d, 0xffffffff
lea rdx, [rbp - 0x70]
mov rdi, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdi
mov rcx, rdi
call fcn.1400df630
test eax, eax
je 0x140011943
xor edx, edx
mov rcx, rdi
call fcn.14011f870
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call fcn.14008c660
cmp eax, 0x64
jne 0x140011ea5
mov ebx, 0x202
lea rdi, [0x140298278]
test rsi, rsi
jne 0x140011988
mov rcx, rdi
movzx edx, word [rcx + 0x14]
movzx eax, dx
and ax, bx
cmp ax, bx
jne 0x1400119d1
cmp byte [rcx + 0x16], 1
jne 0x1400119d1
mov rbx, qword [rcx + 8]
jmp 0x1400119e5
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x14001199a
call qword [0x1402dc860]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x1400119b0
cmp r14w, word [rsi + 0xc0]
jb 0x1400119c7
mov rcx, qword [rsi]
mov dword [rcx + 0x50], Ordinal_30
mov edx, Ordinal_26
call fcn.14005c280
mov rcx, rdi
test rcx, rcx
jne 0x14001196d
mov rbx, r14
jmp 0x1400119e5
test dl, 1
je 0x1400119db
mov rbx, r14
jmp 0x1400119e5
mov dl, 1
call fcn.1400856f0
mov rbx, rax
test rsi, rsi
je 0x140011a60
mov edx, dword [rsi + 0x34]
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
jne 0x1400119ff
test edx, edx
jne 0x1400119ff
mov eax, r14d
jmp 0x140011a04
call fcn.140058f40
mov dword [rsi + 0x34], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011a19
call qword [0x1402dc870]
test rsi, rsi
je 0x140011a60
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011a30
call qword [0x1402dc860]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140011a4c
cmp r15w, word [rsi + 0xc0]
jae 0x140011a4c
add rcx, 0x38
jmp 0x140011a63
mov rcx, qword [rsi]
mov dword [rcx + 0x50], Ordinal_30
mov edx, Ordinal_26
call fcn.14005c280
mov rcx, rdi
call fcn.14008b960
mov r15, rax
test rsi, rsi
je 0x140011aea
mov edx, dword [rsi + 0x34]
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
jne 0x140011a85
test edx, edx
jne 0x140011a85
mov eax, r14d
jmp 0x140011a8a
call fcn.140058f40
mov dword [rsi + 0x34], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011a9f
call qword [0x1402dc870]
test rsi, rsi
je 0x140011aea
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011ab6
call qword [0x1402dc860]
mov rcx, qword [rsi + 0xa0]
test rcx, rcx
je 0x140011ad6
mov eax, 1
cmp ax, word [rsi + 0xc0]
jae 0x140011ad6
add rcx, 0x38
jmp 0x140011aed
mov rcx, qword [rsi]
mov dword [rcx + 0x50], Ordinal_30
mov edx, Ordinal_26
call fcn.14005c280
mov rcx, rdi
movzx eax, word [rcx + 0x14]
test al, 2
je 0x140011b00
cmp byte [rcx + 0x16], 1
jne 0x140011b00
mov edi, dword [rcx + 0x10]
jmp 0x140011b24
test al, 0x10
je 0x140011b12
mov edi, dword [rcx + 0x10]
bt ax, 0xa
jae 0x140011b24
add edi, dword [rcx]
jmp 0x140011b24
test al, 1
je 0x140011b1b
mov edi, r14d
jmp 0x140011b24
mov dl, 1
call fcn.140085dc0
mov edi, eax
test rsi, rsi
je 0x140011b58
mov edx, dword [rsi + 0x34]
mov rcx, qword [rsi]
cmp byte [rcx + 0x67], 0
jne 0x140011b3e
test edx, edx
jne 0x140011b3e
mov eax, r14d
jmp 0x140011b43
call fcn.140058f40
mov dword [rsi + 0x34], eax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x18]
test rcx, rcx
je 0x140011b58
call qword [0x1402dc870]
xorps xmm0, xmm0
xor eax, eax
movsxd r14, edi
movdqu xmmword [rbp + 0xb0], xmm0
mov qword [rbp + 0xc0], rax
test edi, edi
je 0x140011bf1
movabs rax, 0x7fffffffffffffff
cmp r14, rax
ja 0x140011f03
cmp r14, 0x1000
jb 0x140011bbb
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140011efd
call fcn.1401ebf78
mov rcx, rax
test rax, rax
je 0x140011ef7
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140011bc3
mov rcx, r14
call fcn.1401ebf78
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
lea rdi, [rax + r14]
mov qword [rbp + 0xc0], rdi
mov r8, r14
mov rdx, r15
mov rcx, rax
call fcn.14023fcb0
mov qword [rbp + 0xb8], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rax
mov r8, qword [rbp - 0x80]
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0xc8]
call fcn.14000e800
nop
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xc8]
lea rcx, [rbp + 0xe0]
call fcn.14003a5e0
nop
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rbx + rax], 0
jne 0x140011c40
xor r14d, r14d
test rax, rax
je 0x140011de9
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], r14b
jne 0x140011c70
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14003c280
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
mov qword [rbp + 8], r14
mov r8d, 7
lea rdx, str.service
lea rcx, [rbp - 0x10]
call fcn.14003c280
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x70]
call fcn.140033ec0
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r14
mov qword [rbp + 0x48], r14
mov r8d, 5
lea rdx, str.token
lea rcx, [rbp + 0x30]
call fcn.14003c280
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], r14
movups xmm0, xmmword [rdi]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], 0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x70]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp + 0x80], xmm0
xorps xmm1, xmm1
movups xmmword [rbp - 0x38], xmm1
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x140011d70
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.14003c280
nop
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x90]
mov rcx, r12
call fcn.14003afc0
mov rcx, qword [rax]
add rcx, 0x40
lea rdx, [rbp + 0x80]
call fcn.14002f770
nop
lea rcx, [rbp - 0x38]
call fcn.140036800
nop
lea r9, [0x14000f360]
mov edx, 0x40
mov r8d, 2
lea rcx, [rbp - 0x10]
call fcn.1401ebfb4
nop
lea rcx, [rbp - 0x70]
call fcn.140036800
nop
lea rcx, [rsp + 0x60]
call fcn.140036800
nop
lea rcx, [rbp + 0xe0]
call fcn.140036800
nop
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x140011e48
mov rdx, qword [rbp + 0xd8]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e31
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011f09
call fcn.1401ebf60
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r14
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x140011e84
mov rdx, qword [rbp + 0xc0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011e7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011ef7
call fcn.1401ebf60
mov rcx, rsi
call fcn.14008c660
cmp eax, 0x64
jne 0x140011e9c
mov r15d, 1
jmp 0x140011959
mov rbx, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x40]
mov rcx, rsi
call fcn.14008b690
mov rcx, rdi
xor edx, edx
call fcn.14011f870
nop
mov rcx, rbx
call fcn.140036800
nop
mov rcx, r13
call fcn.140036800
mov rax, r12
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1401ebf40
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1402016f8
nop
call fcn.140001ef0
int3
call fcn.140036350
nop
call fcn.1402016f8
int3