Function at 0x18006eb20
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
sub rsp, 0x2b8
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax - 8], r12
mov qword [rax - 0x10], r13
mov qword [rax - 0x18], r14
mov qword [rax - 0x20], r15
mov r15d, r8d
mov r14, rcx
add r15d, 0xfffffff0
lea rcx, [rax - 0x1d8]
mov r13, r9
mov esi, r15d
mov ebx, r15d
mov r12, rdx
and esi, 0xf
shr ebx, 4
call fcn.180083c10
lea rbp, [r12 + 0x10]
lea rcx, [rsp + 0xe0]
mov r8d, r15d
mov rdx, rbp
call fcn.1800860b0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1800861a0
lea rcx, [rsp + 0x50]
mov r8d, setsockopt
mov rdx, r12
call fcn.180077c40
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xd0]
mov r8d, setsockopt
call fcn.180077c40
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
mov r8d, setsockopt
call fcn.180077c40
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xa0]
mov r8d, setsockopt
call fcn.180077c40
xor edx, edx
lea r9, [rsp + 0x90]
lea r8d, [rdx + 1]
mov rcx, r14
mov dword [rsp + 0x20], 0x20
call r13
test eax, eax
jne 0x18006eff5
lea r8d, [rax + 0x10]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xc0]
call fcn.180077c40
lea r9, [rsp + 0x90]
lea rcx, [rsp + 0x140]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.180096180
test eax, eax
js 0x18006ec8d
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov dl, 2
call fcn.1800962f0
test eax, eax
js 0x18006ec8d
test ebx, ebx
je 0x18006ec97
mov r9d, ebx
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x78]
mov r8, rbp
shl r9d, 7
mov qword [rsp + 0x20], rbp
call fcn.180096340
test eax, eax
jns 0x18006ec97
mov eax, 0x2bb
jmp 0x18006eff5
test esi, esi
mov qword [rsp + 0x2d8], rdi
je 0x18006ed48
lea eax, [rbx - 1]
lea rcx, [rsp + 0x30]
mov r8d, setsockopt
shl eax, 4
lea rdi, [rax + r12 + 0x10]
mov rdx, rdi
call fcn.180077c40
test esi, esi
je 0x18006ecf1
lea rcx, [rsp + 0x30]
lea rdx, [rdi + 0x10]
mov r8d, esi
nop
nop
nop
movzx eax, byte [rdx]
inc rcx
inc rdx
xor byte [rcx - 1], al
dec r8
jne 0x18006ece0
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x78]
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x20], rax
call fcn.180096340
test eax, eax
jns 0x18006ed26
mov eax, 0x2bb
jmp 0x18006efed
lea rcx, [rdi + 0x10]
mov r8d, esi
mov rdx, rdi
call fcn.180077c40
lea rdx, [rsp + 0x30]
mov r8d, setsockopt
mov rcx, rdi
call fcn.180077c40
lea rcx, [rsp + 0xe0]
call fcn.180083c10
lea rcx, [rsp + 0xe0]
mov r8d, r15d
mov rdx, rbp
call fcn.1800860b0
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x60]
call fcn.1800861a0
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x90]
mov r8d, setsockopt
call fcn.180077c40
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xa0]
mov r8d, setsockopt
call fcn.180077c40
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
mov r8d, setsockopt
call fcn.180077c40
xor edx, edx
lea r9, [rsp + 0x90]
lea r8d, [rdx + 2]
mov rcx, r14
mov dword [rsp + 0x20], gethostbyname
call r13
test eax, eax
mov r13d, eax
je 0x18006efd5
lea r9, [rsp + 0xc0]
lea rcx, [rsp + 0x140]
mov r8d, pe_nt_image_headers64
mov dl, 1
call fcn.180096180
test eax, eax
js 0x18006ed1c
lea rcx, [rsp + 0x78]
xor r8d, r8d
mov dl, 2
call fcn.1800962f0
test eax, eax
js 0x18006ed1c
cmp ebx, 1
jbe 0x18006ee4a
lea eax, [rbx - 2]
lea rcx, [rsp + 0x40]
mov r8d, setsockopt
shl eax, 4
lea rdx, [rax + r12 + 0x10]
call fcn.180077c40
jmp 0x18006ee5a
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x10]
call fcn.180077c30
test ebx, ebx
je 0x18006ee87
mov r9d, ebx
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x78]
mov r8, rbp
shl r9d, 7
mov qword [rsp + 0x20], rbp
call fcn.180096a00
test eax, eax
js 0x18006ed1c
test esi, esi
je 0x18006efbd
lea eax, [rbx - 1]
lea r8, [rsp + 0x40]
lea r9, [rsp + 0x41]
shl eax, 4
lea r10, [rsp + 0x42]
lea r11, [rsp + 0x43]
lea rdi, [rax + r12 + 0x10]
mov ebx, 4
sub r8, rdi
sub r9, rdi
sub r10, rdi
sub r11, rdi
mov rcx, rdi
mov rdx, rbx
nop
nop
nop
movzx eax, byte [r8 + rcx]
xor byte [rcx], al
movzx eax, byte [r9 + rcx]
xor byte [rcx + 1], al
movzx eax, byte [r10 + rcx]
xor byte [rcx + 2], al
movzx eax, byte [r11 + rcx]
xor byte [rcx + 3], al
add rcx, rbx
dec rdx
jne 0x18006eed0
test esi, esi
je 0x18006ef0f
mov rcx, rdi
mov edx, esi
movzx eax, byte [rcx + 0x10]
inc rcx
xor byte [rcx - 1], al
dec rdx
jne 0x18006ef00
lea rdx, [rdi + 0x10]
lea rcx, [rsp + 0x30]
mov r8d, esi
call fcn.180077c40
mov r11d, r15d
mov r8d, setsockopt
and r11d, 0xf
sub r8d, esi
lea rdx, [r11 + rdi]
lea rcx, [rsp + r11 + 0x30]
call fcn.180077c40
lea r11, [rsp + 0x30]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x78]
mov r9d, pe_nt_image_headers64
mov qword [rsp + 0x20], r11
call fcn.180096a00
test eax, eax
js 0x18006ed1c
xor edx, edx
nop
movzx eax, byte [rsp + rdx + 0x40]
add rdx, 4
xor byte [rsp + rdx + 0x2c], al
movzx eax, byte [rsp + rdx + 0x3d]
xor byte [rsp + rdx + 0x2d], al
movzx eax, byte [rsp + rdx + 0x3e]
xor byte [rsp + rdx + 0x2e], al
movzx eax, byte [rsp + rdx + 0x3f]
xor byte [rsp + rdx + 0x2f], al
dec rbx
jne 0x18006ef70
lea rcx, [rdi + 0x10]
mov r8d, esi
mov rdx, rdi
call fcn.180077c40
lea r8d, [rbx + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180077c40
lea rdx, [rsp + 0x50]
mov r8d, setsockopt
mov rcx, r12
call fcn.180077c40
mov eax, r13d
jmp 0x18006efed
lea rdx, [rsp + 0x90]
mov r8d, setsockopt
mov rcx, r12
call fcn.180077c40
xor eax, eax
mov rdi, qword [rsp + 0x2d8]
mov r15, qword [rsp + 0x298]
mov r14, qword [rsp + 0x2a0]
mov r13, qword [rsp + 0x2a8]
mov r12, qword [rsp + 0x2b0]
mov rsi, qword [rsp + 0x2d0]
mov rbp, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x2c0]
add rsp, 0x2b8
ret