Function at 0x180031ef0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x18036d060]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rcx
call fcn.180031860
mov dword [rbp - 0x69], eax
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x65], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x55], xmm1
movsd xmm0, qword [rbx + 0x20]
movsd qword [rbp - 0x45], xmm0
movups xmm1, xmmword [rbx + 0x28]
movups xmmword [rbp - 0x3d], xmm1
movups xmm0, xmmword [rbx + 0x38]
movups xmmword [rbp - 0x2d], xmm0
movsd xmm1, qword [rbx + 0x48]
movsd qword [rbp - 0x1d], xmm1
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rbp - 0x15], xmm0
movups xmm1, xmmword [rbx + 0x60]
movups xmmword [rbp - 5], xmm1
movsd xmm0, qword [rbx + 0x70]
movsd qword [rbp + 0xb], xmm0
xor edi, edi
mov ecx, edi
lea r9d, [rdi + 2]
lea r10, [0x180304e30]
nop dword [rax]
nop word [rax + rax]
mov edx, edi
cmp ecx, 0x50
cmovne edx, ecx
lea ecx, [r9 - 2]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 - 1]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
mov eax, r9d
lea rcx, [rbp - 0x69]
add rcx, rax
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rcx], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 1]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 2]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 3]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 4]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 5]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 6]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 7]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 8]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 9]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0xa]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0xb]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0xc]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0xd]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0xe]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0xf]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x10]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x11]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x12]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x13]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x14]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x15]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x16]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x17]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x18]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x19]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x1a]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [rdx + 1]
mov r8d, edi
cmp edx, 0x4f
cmovne r8d, eax
lea ecx, [r9 + 0x1b]
movsxd rax, r8d
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea eax, [r8 + 1]
mov edx, edi
cmp r8d, 0x4f
cmovne edx, eax
lea ecx, [r9 + 0x1c]
movsxd rax, edx
movzx eax, byte [rax + r10]
xor byte [rbp + rcx - 0x69], al
lea ecx, [rdx + 1]
add r9d, 0x1f
lea eax, [r9 - 2]
cmp eax, 0x7c
jb 0x180031f90
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov qword [rbp + 0x27], rdi
mov edx, 0x7c
lea rcx, [rbp + 0x17]
call fcn.1800171e0
mov rbx, qword [rbp + 0x17]
movaps xmm0, xmmword [rbp - 0x69]
movups xmmword [rbx], xmm0
movaps xmm1, xmmword [rbp - 0x59]
movups xmmword [rbx + 0x10], xmm1
movaps xmm0, xmmword [rbp - 0x49]
movups xmmword [rbx + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x39]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x29]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x19]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [rbp - 9]
movups xmmword [rbx + 0x60], xmm0
movsd xmm1, qword [rbp + 7]
movsd qword [rbx + 0x70], xmm1
mov eax, dword [rbp + 0xf]
mov dword [rbx + 0x78], eax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rbp - 0x79], rdi
mov r14, qword [rbp + 0x1f]
cmp rbx, r14
je 0x1800323d2
mov rdi, r14
sub rdi, rbx
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180006100
mov rsi, qword [rsp + 0x40]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.180210e90
sub r14, rbx
add r14, rsi
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x20], 0x60
mov al, 1
mov cl, ntohs
mov dl, setsockopt
mov r8b, 9
mov r9b, reloc.WS2_32.dll_shutdown
movzx r10d, al
mov r11b, 3
mov dil, 0x4e
mov sil, 4
movzx r14d, al
movzx r15d, dl
xor r12d, r12d
xor al, 0x60
mov byte [rsp + 0x21], al
xor cl, 0x60
mov byte [rsp + 0x22], cl
xor dl, 0x60
mov byte [rsp + 0x23], dl
xor r8b, 0x60
mov byte [rsp + 0x24], r8b
xor r9b, 0x60
mov byte [rsp + 0x25], r9b
xor r10b, 0x60
mov byte [rsp + 0x26], r10b
xor r11b, 0x60
mov byte [rsp + 0x27], r11b
xor dil, 0x60
mov byte [rsp + 0x28], dil
xor sil, 0x60
mov byte [rsp + 0x29], sil
xor r14b, 0x60
mov byte [rsp + 0x2a], r14b
xor r15b, 0x60
mov byte [rsp + 0x2b], r15b
mov byte [rsp + 0x2c], r12b
lea rax, [rsp + 0x21]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x21]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x180032472
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.180003140
nop
mov rdx, qword [rbp + 0x27]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1800324c3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800324f3
mov rcx, rbx
call fcn.18007b164
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.18007b140
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.18021e9c0
int3