Function at 0x140087c60
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x270
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14011f060]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp + 0xd0], rdx
call fcn.1400868e0
lea rcx, [rbp + 0xe8]
call fcn.140093bf0
nop
mov dword [rsp + 0x58], 0xa4bea7e1
mov dword [rsp + 0x5c], 0xaaa4beae
mov word [rsp + 0x60], 0xf2
mov byte [rsp + 0x62], 1
mov dword [rsp + 0x30], 0xa7a8a6e1
mov dword [rsp + 0x34], 0x100f1ae
mov dword [rsp + 0x68], 0xb9acbbe1
mov dword [rsp + 0x6c], 0xa0a2a5b8
mov dword [rsp + 0x70], 0xecb4a6
mov byte [rsp + 0x74], 1
mov dword [rsp + 0x50], 0xa3bea0e1
mov dword [rsp + 0x54], 0x100f1af
mov dword [rsp + 0x38], 0xb3aca3e1
mov word [rsp + 0x3c], 0xf6
mov byte [rsp + 0x3e], 1
mov dword [rsp + 0x40], 0xafb9b1b3
mov dword [rsp + 0x44], 0xada4a0f6
mov dword [rsp + 0x48], 0xb7a2beaa
mov word [rsp + 0x4c], 0x100
xor r14d, r14d
mov ecx, r14d
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 5
jb 0x140087d50
mov byte [rsp + 0x3e], r14b
mov qword [rbp - 0x80], r14
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], r14b
mov r8d, 5
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
cmp byte [rsp + 0x4d], 0
je 0x140087db5
mov rcx, r14
nop dword [rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xc
jb 0x140087da0
mov byte [rsp + 0x4d], 0
mov qword [rbp - 0x60], r14
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov r8d, listen
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140007a00
nop
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
lea rcx, [rbp + 0x10]
call fcn.140041010
nop
lea rcx, [rbp - 0x60]
call fcn.140007980
nop
lea rcx, [rbp - 0x80]
call fcn.140007980
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140087e12
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm1
mov qword [rax + 0x10], r14
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.1400879c0
nop
lea rdx, [rbp + 0xe8]
cmp qword [rbp + 0x100], 0x10
cmovae rdx, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf8]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xb0]
call fcn.140087b90
nop
lea rdx, [rsi + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140087ebc
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x90]
call fcn.1400879c0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140087f01
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.140087a90
nop
lea rdx, [rsi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140087f4c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e5e0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0x108], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0x118], xmm7
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp + 0x70]
call fcn.140007980
nop
lea rcx, [rbp - 0x80]
call fcn.140007980
nop
lea rcx, [rbp + 0x90]
call fcn.140007980
nop
lea rcx, [rbp - 0x60]
call fcn.140007980
nop
lea rcx, [rbp + 0xb0]
call fcn.140007980
nop
lea rcx, [rbp - 0x40]
call fcn.140007980
nop
lea rcx, [rbp + 0x30]
call fcn.140007980
nop
lea rcx, [rbp - 0x20]
call fcn.140007980
nop
lea rcx, [rbp + 0x10]
call fcn.140007980
lea rax, [rbp - 0x20]
mov qword [rbp], rax
lea rdx, [rsi + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.14000e430
mov r12, rax
lea rax, [rbp - 0x40]
mov qword [rbp + 8], rax
lea rdx, [rsi + 0x80]
lea rcx, [rbp - 0x40]
call fcn.14000e430
mov r13, rax
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
lea r15, [rbp + 0x108]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r15, rcx
movq r14, xmm7
cmp r14, 0x10
jae 0x14008804c
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x60], xmm0
jmp 0x1400880c4
mov rbx, r14
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400880a3
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400882eb
mov rcx, rax
call fcn.1400e2620
mov rcx, rax
test rax, rax
je 0x14008809c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400880b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400880af
call fcn.1400e2620
jmp 0x1400880b1
xor eax, eax
mov qword [rbp - 0x60], rax
lea r8, [r14 + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], rbx
mov r9, r12
mov r8, r13
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x128]
call fcn.140088ce0
nop
call fcn.1400868e0
xor r15d, r15d
mov qword [rbp + 0x68], r15
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x128]
lea rcx, [rbp + 0xd8]
call fcn.14008a130
nop
lea rdx, [rbp + 0xd8]
lea rcx, [rsp + 0x40]
call fcn.140088fb0
mov rdx, rax
mov rcx, rsi
call fcn.1400863f0
movzx edx, byte [rbp + 0xd8]
test dl, dl
jne 0x140088156
mov byte [rbp + 0xd8], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xe0], rbx
movzx edx, byte [rbp + 0xd8]
jmp 0x14008815d
mov rbx, qword [rbp + 0xe0]
cmp dl, 1
jne 0x1400881bf
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14008fd30
mov r14, qword [rax]
add r14, 0x40
lea rcx, [rbp - 0x80]
call fcn.140007980
mov rbx, qword [rbp + 0xe0]
movzx edx, byte [rbp + 0xd8]
jmp 0x1400881c4
mov r14, qword [rsp + 0x78]
lea rax, [r14 + 8]
cmp byte [r14], 4
cmovne rax, r15
cmp byte [rax], 0
je 0x14008827b
test dl, dl
jne 0x140088203
mov byte [rbp + 0xd8], 1
mov dl, 1
lea rcx, [rsp + 0x30]
call fcn.140089ce0
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 0xe0], rbx
movzx edx, byte [rbp + 0xd8]
cmp dl, 1
jne 0x140088257
mov qword [rbp - 0x80], r15
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov r8d, 4
lea rdx, str.info
lea rcx, [rbp - 0x80]
call fcn.140007a00
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x68]
mov rcx, rbx
call fcn.14008fd30
mov rbx, qword [rax]
add rbx, 0x40
lea rcx, [rbp - 0x80]
call fcn.140007980
jmp 0x14008825c
mov rbx, qword [rsp + 0x78]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140088fb0
mov rdx, rax
mov rcx, rsi
call fcn.140085ac0
movzx edx, byte [rbp + 0xd8]
lea rcx, [rbp + 0xe0]
call fcn.140089690
nop
lea rcx, [rbp + 0x128]
call fcn.140007980
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, rdi
call fcn.140007980
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.1400e2360
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400032d0
nop
int3