Function at 0x140559aa0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1406dc5c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14, rdx
mov r12, rcx
cmp qword [rcx + 0x88], 0
je 0x140559e9f
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp - 0x78], rdx
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__localtime64_s]
movdqa xmm0, xmmword [0x1406c27e0]
mov word [rsp + 0x58], 0x4362
mov rax, qword gs:[0x58]
mov r15, qword [rax]
mov ecx, 0x518
mov eax, dword [rcx + r15]
test al, 1
jne 0x140559b98
or eax, 1
mov dword [rcx + r15], eax
mov eax, 0x4f0
mov ebx, eax
lea rcx, [rax + r15]
mov byte [rcx + 0x12], 1
lea rax, [rcx + 0x11]
lea rdx, [rsp + 0x59]
cmp rcx, rdx
ja 0x140559b7d
lea rdx, [rsp + 0x48]
cmp rax, rdx
jb 0x140559b7d
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x58]
mov word [rcx + 0x10], ax
jmp 0x140559b89
movups xmmword [rcx], xmm0
movzx eax, word [rsp + 0x58]
mov word [rcx + 0x10], ax
lea rcx, [0x140642e80]
call fcn.14063c804
nop
jmp 0x140559b9d
mov ebx, 0x4f0
lea r8, [r15 + rbx]
xor ebx, ebx
cmp byte [r8 + 0x12], bl
je 0x140559be0
mov edx, ebx
movabs r9, 0xc169d3a1093b4331
nop word [rax + rax]
movzx ecx, dl
and cl, 7
shl cl, 3
mov rax, r9
shr rax, cl
xor byte [rdx + r8], al
inc rdx
cmp rdx, 0x12
jb 0x140559bc0
mov byte [r8 + 0x12], bl
lea r9, [rbp - 0x70]
mov edx, 0x50
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_strftime]
mov qword [rsp + 0x68], rbx
movdqa xmm0, xmmword [0x1406c10d0]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
lea rax, [rbp - 0x40]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140559c20
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x68]
call fcn.14054ed20
nop
mov ecx, 0x498
mov eax, dword [rcx + r15]
test al, 1
jne 0x140559c7c
or eax, 1
mov dword [rcx + r15], eax
mov eax, 0x4b8
mov esi, eax
mov dword [rax + r15 + 6], 0x1a94f11
mov dword [rax + r15], 0x39a3ec89
mov word [rax + r15 + 4], 0xbb1a
lea rcx, [0x140642e60]
call fcn.14063c804
nop
jmp 0x140559c81
mov esi, 0x4b8
lea rdx, [r15 + rsi]
cmp byte [rdx + 9], 0
je 0x140559cb2
xor byte [rdx], 0xa9
xor byte [rdx + 1], 0xa9
xor byte [rdx + 2], 0xd1
xor byte [rdx + 3], 0x4b
xor byte [rdx + 4], 0x75
xor byte [rdx + 5], 0xc9
xor byte [rdx + 6], 0x2b
xor byte [rdx + 7], 0x6f
xor byte [rdx + 8], 0xa9
mov byte [rdx + 9], 0
inc rdi
cmp byte [rdx + rdi], 0
jne 0x140559cb2
mov r8, rdi
lea rcx, [rsp + 0x68]
call fcn.140557910
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140559cd6
mov r14, qword [r14]
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140557910
lea rcx, [rsp + 0x48]
call fcn.14054f8d0
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14055f830
nop
cmp qword [rax + 0x10], 0
jbe 0x140559ecd
cmp qword [rax + 0x18], 0x10
jb 0x140559d11
mov rax, qword [rax]
movzx r15d, byte [rax]
lea rcx, [rsp + 0x20]
call fcn.14054ecc0
nop
lea rcx, [rsp + 0x48]
call fcn.14054ecc0
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov rsi, qword [rsp + 0x78]
lea r14, [rsp + 0x68]
cmp qword [rbp - 0x80], 0x10
cmovae r14, qword [rsp + 0x68]
cmp rsi, 0x10
jae 0x140559d64
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x48], xmm0
mov edi, reloc.WS2_32.dll_ntohs
jmp 0x140559dde
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140559dbb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140559ec7
mov rcx, rax
call fcn.14063c358
mov rcx, rax
test rax, rax
je 0x140559db4
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140559dca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140559dc7
call fcn.14063c358
jmp 0x140559dca
mov rax, rbx
mov qword [rsp + 0x48], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov r8b, reloc.WLDAP32.dll_Ordinal_32
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.140566650
cmp qword [rsp + 0x58], 0
jbe 0x140559e58
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
movzx ecx, r15b
xor cl, byte [rax + rbx]
lea rax, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rax, qword [rsp + 0x20]
mov byte [rax + rbx], cl
inc rbx
cmp rbx, qword [rsp + 0x58]
jb 0x140559e22
lea rcx, [rsp + 0x48]
call fcn.14054ecc0
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, r12
call fcn.14055cc70
mov rcx, rax
call fcn.14055c220
nop
lea rcx, [rsp + 0x20]
call fcn.14054ecc0
nop
lea rcx, [rsp + 0x68]
call fcn.14054ecc0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14063c0a0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140547a30
nop
call fcn.140557a20
int3