Function at 0x5ff1b0
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 + 0x70], rsi
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0x180]
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x20], rax
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x50], r14
mov r14, qword [rcx + 0x160]
mov qword [rsp + 0x48], r15
mov r15, qword [rcx + 0x168]
mov rbx, rcx
lea rcx, [r9 + rax]
movabs rax, 0xfffffffe0
mov rdi, r9
mov rbp, r8
cmp rcx, rax
mov rsi, rdx
mov qword [rsp + 0x38], r15
ja 0x5ff4b8
cmp rcx, r9
jb 0x5ff4b8
cmp dword [rbx + 0x174], 0
mov qword [rbx + 0x38], rcx
je 0x5ff25b
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 0x5ff2c9
test rdi, rdi
je 0x5ff2b5
movzx edx, byte [rsi]
mov ecx, r12d
inc rbp
movzx eax, byte [rcx + rbx + 0x10]
inc rsi
dec rdi
xor al, dl
mov byte [rbp - 1], al
xor byte [rcx + rbx + 0x40], dl
inc r12d
and r12d, 0xf
mov dword [rsp + 0x90], r12d
jne 0x5ff280
jmp 0x5ff2be
test r12d, r12d
jne 0x5ff47c
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
call r14
cmp rdi, 0xc00
jb 0x5ff399
movabs rax, 0xaaaaaaaaaaaaaaab
lea rcx, [rbx + 0x60]
lea r10, [rbx + 0x40]
mul rdi
mov r15, rdx
shr r15, 0xb
mov rax, r15
mov qword [rsp + 0x30], r15
imul rax, rax, 0xfffffffffffff400
add rdi, rax
mov qword [rsp + 0xa8], rdi
mov rdi, qword [rsp + 0x20]
mov rdx, rcx
mov r9d, 0xc00
mov r8, rsi
mov rcx, r10
call qword [rsp + reloc.WS2_32.dll_getservbyport]
mov r15, qword [rsp + 0x28]
mov r14d, 0xc0
nop
lea rdx, [rbx + 0x10]
mov r8, rdi
mov rcx, rbx
call r15
inc r13d
add rbp, 0x10
mov eax, r13d
add rsi, 0x10
bswap eax
mov dword [rbx + 0xc], eax
mov rax, qword [rbx + 0x10]
xor rax, qword [rsi - 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x5ff330
mov r15, qword [rsp + 0x30]
lea rcx, [rbx + 0x60]
lea r10, [rbx + 0x40]
dec r15
mov qword [rsp + 0x30], r15
jne 0x5ff311
mov rdi, qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x90]
mov r15, qword [rsp + 0x38]
mov r9, rdi
and r9, 0xfffffffffffffff0
je 0x5ff42d
lea rdx, [rbx + 0x60]
lea rcx, [rbx + 0x40]
mov r8, rsi
call r15
cmp rdi, 0x10
jb 0x5ff42d
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
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 [rbx + 0x10]
xor rax, qword [rsi - 0x10]
mov qword [rbp - 0x10], rax
mov rax, qword [rsi - 8]
xor rax, qword [rbx + 0x18]
dec r14
mov qword [rbp - 8], rax
jne 0x5ff3e0
mov rdi, qword [rsp + 0xa8]
mov r12d, dword [rsp + 0x90]
test rdi, rdi
je 0x5ff47c
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 r8, [rax + rbp]
lea rdx, [rax + rbx + 0x40]
mov dword [rbx + 0xc], r13d
nop
movzx ecx, byte [rsi + r8]
movzx eax, byte [rdx - 0x30]
inc r8
xor byte [rdx], cl
xor al, cl
inc rdx
dec rdi
mov byte [r8 - 1], al
jne 0x5ff460
mov r13, qword [rsp + 0x58]
mov dword [rbx + 0x170], r12d
mov r12, qword [rsp + 0x60]
xor eax, eax
mov r15, qword [rsp + 0x48]
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 0x5ff48f