Function at 0x18001af60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 1], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180067008]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r15, rdx
movups xmm0, xmmword [str.QeteQ0__]
movups xmmword [rbp + 0x27], xmm0
movzx eax, word [0x180058f50]
mov word [rbp + 0x37], ax
lea r8, [rbp + 0x36]
mov r9d, 4
nop dword [rax + rax]
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
lea r8, [r8 - 4]
sub r9, 1
jne 0x18001afc0
movzx r9d, byte [rbp + 0x27]
xor r9b, 0x29
mov byte [rbp + 0x27], r9b
movups xmm0, xmmword [str.D_C_]
movups xmmword [rbp + 7], xmm0
movsd xmm1, qword [0x180058f68]
movsd qword [rbp + 0x17], xmm1
mov eax, dword [0x180058f70]
mov dword [rbp + 0x1f], eax
lea rdx, [rbp + 0x20]
mov r8d, recv
nop word [rax + rax]
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub r8, 1
jne 0x18001b030
xor byte [rbp + 7], 0x23
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
xor r14d, r14d
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r14b
test r9b, r9b
jne 0x18001b069
mov r8d, r14d
jmp 0x18001b07a
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18001b071
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x18001b0c3
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b0b7
mov rsi, qword [rsi + 0x10]
jmp 0x18001b0bd
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x18001b0a0
cmp rbx, rdi
je 0x18001b0d9
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b109
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 7], 0
jne 0x18001b114
mov r8, r14
jmp 0x18001b12a
lea rax, [rbp + 7]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001b120
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 7]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x18001b18e
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x18001b189
test cl, 0x1f
je 0x18001b15c
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001b16b
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001b17a
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001b186
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov eax, dword [0x180058f74]
mov dword [rbp + 7], eax
movzx eax, word [0x180058f78]
mov word [rbp + 0xb], ax
movzx eax, byte [0x180058f7a]
mov byte [rbp + 0xd], al
movzx eax, byte [rbp + 0xb]
xor byte [rbp + 0xc], al
movzx ecx, byte [rbp + 0xa]
xor al, cl
mov byte [rbp + 0xb], al
movzx eax, byte [rbp + 9]
xor cl, al
mov byte [rbp + 0xa], cl
movzx ecx, byte [rbp + 8]
xor al, cl
mov byte [rbp + 9], al
movzx r11d, byte [rbp + 7]
xor cl, r11b
mov byte [rbp + 8], cl
xor r11b, 0xbe
mov byte [rbp + 7], r11b
movups xmm0, xmmword [0x180058f80]
movups xmmword [rbp + 0x27], xmm0
movzx eax, byte [0x180058f90]
mov byte [rbp + 0x37], al
lea r9, [rbp + 0x35]
mov r10d, 3
movzx ecx, byte [r9]
xor byte [r9 + 1], cl
movzx eax, byte [r9 - 1]
xor al, cl
mov byte [r9], al
movzx eax, byte [r9 - 2]
xor byte [r9 - 1], al
movzx eax, byte [r9 - 3]
xor byte [r9 - 2], al
movzx eax, byte [r9 - 4]
xor byte [r9 - 3], al
sub r9, 5
sub r10, 1
jne 0x18001b200
xor byte [rbp + 0x27], 0x84
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r10b
test r11b, r11b
jne 0x18001b255
mov r8, r14
jmp 0x18001b26a
lea rax, [rbp + 7]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001b260
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x18001b2b3
nop dword [rax + rax]
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b2a7
mov rsi, qword [rsi + 0x10]
jmp 0x18001b2ad
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x18001b290
cmp rbx, rdi
je 0x18001b2c9
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b2f9
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 0x27], 0
jne 0x18001b304
mov r8, r14
jmp 0x18001b31a
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18001b310
lea rcx, [rbx + 0x40]
lea rdx, [rbp + 0x27]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x18001b37e
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x18001b379
test cl, 0x1f
je 0x18001b34c
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001b35b
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001b36a
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001b376
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
call fcn.18000b3d0
test eax, eax
je 0x18001b571
movups xmm0, xmmword [0x180058f98]
movups xmmword [rbp + 0x27], xmm0
lea rdx, [rbp + 0x34]
mov r8d, 7
movzx ecx, byte [rdx]
xor byte [rdx + 1], cl
movzx eax, byte [rdx - 1]
xor al, cl
mov byte [rdx], al
lea rdx, [rdx - 2]
sub r8, 1
jne 0x18001b3a0
movzx r9d, byte [rbp + 0x27]
xor r9b, 0xd6
mov byte [rbp + 0x27], r9b
movsd xmm0, qword [0x180058fa8]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x180058fb0]
mov dword [rbp + 0xf], eax
movzx eax, word [0x180058fb4]
mov word [rbp + 0x13], ax
lea r8, [rbp + 0x12]
mov r10d, 2
movzx ecx, byte [r8]
xor byte [r8 + 1], cl
movzx eax, byte [r8 - 1]
xor al, cl
mov byte [r8], al
movzx eax, byte [r8 - 2]
xor byte [r8 - 1], al
movzx eax, byte [r8 - 3]
xor byte [r8 - 2], al
movzx eax, byte [r8 - 4]
xor byte [r8 - 3], al
movzx eax, byte [r8 - 5]
xor byte [r8 - 4], al
lea r8, [r8 - 6]
sub r10, 1
jne 0x18001b3f0
xor byte [rbp + 7], 0xae
mov qword [rbp - 9], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x11], r14
mov byte [rbp - 0x21], r10b
test r9b, r9b
jne 0x18001b44e
mov r8, r14
jmp 0x18001b460
lea rax, [rbp + 0x27]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x18001b456
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x21]
call fcn.1800020b0
nop
mov rdi, qword [r15]
mov rsi, qword [rdi + 8]
mov rbx, rdi
cmp byte [rsi + 0x19], 0
jne 0x18001b4a3
nop
lea rdx, [rsi + 0x20]
lea r8, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b497
mov rsi, qword [rsi + 0x10]
jmp 0x18001b49d
mov rbx, rsi
mov rsi, qword [rsi]
cmp byte [rsi + 0x19], 0
je 0x18001b480
cmp rbx, rdi
je 0x18001b4b9
lea r8, [rbx + 0x20]
lea rdx, [rbp - 0x21]
call fcn.18000c790
test al, al
je 0x18001b4e9
lea rax, [rbp - 0x21]
mov qword [rbp - 0x29], rax
lea r8, [rbp - 0x29]
mov rcx, r15
call fcn.1800156a0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, r15
call fcn.180015710
mov rbx, qword [rbp - 0x29]
cmp byte [rbp + 7], 0
je 0x18001b50a
lea rax, [rbp + 7]
or r14, 0xffffffffffffffff
nop word [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x18001b500
lea rcx, [rbx + 0x40]
mov r8, r14
lea rdx, [rbp + 7]
call fcn.1800020b0
nop
mov rax, qword [rbp - 9]
cmp rax, 0x10
jb 0x18001b571
inc rax
mov rcx, qword [rbp - 0x21]
cmp rax, 0x1000
jb 0x18001b56c
test cl, 0x1f
je 0x18001b53f
call fcn.18003835c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18001b54e
call fcn.18003835c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18001b55d
call fcn.18003835c
int3
cmp rcx, 0x27
jbe 0x18001b569
call fcn.18003835c
int3
mov rcx, rax
call fcn.180033ed0
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180033e70
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret