Function at 0x5fee80
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.00693bc0
sub rsp, rax
mov rax, qword [rcx + 0x178]
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x180]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x168]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x38], rax
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x50], r14
mov r14, qword [rcx + 0x160]
mov rbx, rcx
lea rcx, [r9 + rax]
movabs rax, 0xfffffffe0
mov rdi, r9
mov rbp, r8
cmp rcx, rax
mov rsi, rdx
ja 0x5ff19f
cmp rcx, r9
jb 0x5ff19f
cmp dword [rbx + 0x174], 0
mov qword [rbx + 0x38], rcx
je 0x5fef26
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r14
mov dword [rbx + 0x174], 0
mov qword [rsp + 0x60], r12
mov r12d, dword [rbx + 0x170]
mov qword [rsp + 0x58], r13
test r12d, r12d
mov r13d, dword [rbx + 0xc]
mov dword [rsp + 0x90], r12d
bswap r13d
je 0x5fef97
nop
nop
test rdi, rdi
je 0x5fef83
mov ecx, r12d
inc rbp
inc rsi
movzx eax, byte [rcx + rbx + 0x10]
dec rdi
xor al, byte [rsi - 1]
mov byte [rbp - 1], al
xor byte [rcx + rbx + 0x40], al
inc r12d
and r12d, 0xf
mov dword [rsp + 0x90], r12d
jne 0x5fef50
jmp 0x5fef8c
test r12d, r12d
jne 0x5ff168
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r14
cmp rdi, 0xc00
mov qword [rsp + 0x48], r15
jb 0x5ff06d
mov r12, qword [rsp + 0x28]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdi
mov rcx, rdx
shr rcx, 0xb
mov rax, rcx
mov qword [rsp + 0x30], rcx
imul rax, rax, 0xfffffffffffff400
add rdi, rax
mov qword [rsp + 0xa8], rdi
mov rdi, qword [rsp + 0x20]
nop
nop
nop
nop
mov r14d, 0xc0
nop
nop
nop
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call r12
inc r13d
add rbp, 0x10
mov eax, r13d
add rsi, 0x10
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsi - 0x10]
xor rax, qword [rbx + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x5ff000
lea r8, [rbp - 0xc00]
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
mov r9d, 0xc00
call qword [rsp + reloc.WS2_32.dll_getservbyport]
dec qword [rsp + 0x30]
jne 0x5feff0
mov rdi, qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x90]
mov rax, rdi
and rax, 0xfffffffffffffff0
mov qword [rsp + 0x30], rax
je 0x5ff117
cmp rdi, 0x10
jb 0x5ff102
mov r12, qword [rsp + 0x28]
mov r14, rdi
shr r14, 4
mov rax, r14
imul rax, rax, 0xfffffffffffffff0
add rdi, rax
mov qword [rsp + 0xa8], rdi
mov rdi, qword [rsp + 0x20]
nop
nop
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call r12
inc r13d
add rbp, 0x10
mov eax, r13d
add rsi, 0x10
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rsi - 0x10]
xor rax, qword [rbx + 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x5ff0b0
mov rdi, qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x90]
mov rax, qword [rsp + 0x30]
mov r8, rbp
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
sub r8, rax
mov r9, rax
call qword [rsp + reloc.WS2_32.dll_getservbyport]
test rdi, rdi
mov r15, qword [rsp + 0x48]
je 0x5ff168
mov r8, qword [rsp + 0x20]
lea rdx, [rbx + 0x10]
mov rcx, rbx
call qword [rsp + Ordinal_41]
movsxd rax, r12d
inc r13d
bswap r13d
sub rsi, rbp
add r12d, edi
lea rcx, [rax + rbx + 0x40]
lea rdx, [rax + rbp]
mov dword [rbx + 0xc], r13d
nop
movzx eax, byte [rsi + rdx]
inc rcx
inc rdx
xor al, byte [rcx - 0x31]
mov byte [rdx - 1], al
xor byte [rcx - 1], al
dec rdi
jne 0x5ff150
mov r13, qword [rsp + 0x58]
mov dword [rbx + 0x170], r12d
mov r12, qword [rsp + 0x60]
xor eax, eax
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x80]
add rsp, 0x88
ret
mov eax, 0xffffffff
jmp 0x5ff17b