Function at 0x140088300
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x250
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14011f060]
xor rax, rsp
mov qword [rbp + 0x128], rax
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov qword [rbp - 0x78], rdx
mov qword [rbp + 0xb0], r8
xor esi, esi
mov dword [rbp - 0x30], esi
call fcn.1400868e0
mov dword [rsp + 0x30], 0xa4bea7e1
mov dword [rsp + 0x34], 0xaaa4beae
mov word [rsp + 0x38], 0xf2
mov byte [rsp + 0x3a], 1
mov ecx, esi
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 9
jb 0x140088380
mov byte [rsp + 0x3a], 0
mov dword [rsp + 0x60], 0xa7a8a6e1
mov dword [rsp + 0x64], 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], 0xa6a0aee1
mov dword [rsp + 0x54], 0xf3a9a5ae
mov word [rsp + 0x58], 0x100
mov dword [rsp + 0x40], 0xafb9b1b3
mov dword [rsp + 0x44], 0xa2a4aaf6
mov word [rsp + 0x48], 0xaa
mov byte [rsp + 0x4a], 1
mov rcx, rsi
nop dword [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 8
jb 0x140088400
mov byte [rsp + 0x59], 0
mov qword [rbp + 0xe8], rsi
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp + 0xf8], xmm0
mov byte [rbp + 0xe8], 0
mov r8d, 8
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe8]
call fcn.140007a00
nop
cmp byte [rsp + 0x4a], 0
je 0x140088475
mov rcx, rsi
nop word [rax + rax]
lea eax, [rcx - 0x39]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 9
jb 0x140088460
mov byte [rsp + 0x4a], 0
mov qword [rbp - 0x70], rsi
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov r8d, 9
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140007a00
nop
lea r9, [rbp + 0xe8]
lea r8, [rbp - 0x70]
lea rcx, [rbp + 0x10]
call fcn.140041010
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400884d8
mov rdx, qword [r14]
mov r8, qword [r14 + 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], rsi
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x30]
call fcn.140087b90
nop
lea rdx, [r15 + 0x268]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008852c
mov rdx, qword [rdx]
mov rcx, rax
call fcn.14000e5e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x70]
call fcn.1400879c0
nop
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14008856e
mov rdx, qword [r15]
mov r8, qword [r15 + 0x10]
mov rcx, rax
call fcn.14000e5e0
mov qword [rbp - 0x50], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400885b0
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.14000e5e0
mov qword [rbp + 0xc8], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xd8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rdx, [r15 + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14008860c
mov rdx, qword [rdx]
lea rcx, [rbp + 0xc8]
call fcn.14000e5e0
movups xmm6, xmmword [rax]
movups xmmword [rbp + 0xe8], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp + 0xf8], xmm7
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rbx
mov byte [rax], 0
lea rcx, [rbp + 0xc8]
call fcn.140007980
nop
lea rcx, [rbp - 0x50]
call fcn.140007980
nop
lea rcx, [rbp + 0x70]
call fcn.140007980
nop
lea rcx, [rbp - 0x70]
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, [r15 + 0xa0]
lea rcx, [rbp - 0x20]
call fcn.14000e430
mov qword [rbp - 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rbp + 8], rax
lea rdx, [r15 + 0x80]
lea rcx, [rbp + 0x90]
call fcn.14000e430
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
lea r12, [rbp + 0xe8]
movq rcx, xmm6
movdqa xmm0, xmm7
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r12, rcx
movabs rax, 0x7fffffffffffffff
movq r13, xmm7
cmp r13, 0x10
jae 0x14008870f
movups xmm0, xmmword [r12]
movups xmmword [rbp - 0x70], xmm0
mov rsi, rbx
jmp 0x14008877d
mov rsi, r13
or rsi, 0xf
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14008875c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140088b69
mov rcx, rax
call fcn.1400e2620
mov rcx, rax
test rax, rax
je 0x140088755
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14008876a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140088768
call fcn.1400e2620
jmp 0x14008876a
xor eax, eax
mov qword [rbp - 0x70], rax
lea r8, [r13 + 1]
mov rdx, r12
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], rsi
mov r9, qword [rbp - 0x28]
mov r8, qword [rbp - 0x78]
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x108]
call fcn.140088ce0
nop
call fcn.1400868e0
xor r13d, r13d
mov qword [rbp + 0x68], r13
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb8]
call fcn.14008a130
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rsp + 0x68]
call fcn.140088fb0
mov rdx, rax
mov rcx, r15
call fcn.1400863f0
movzx edx, byte [rbp + 0xb8]
test dl, dl
jne 0x14008880f
mov byte [rbp + 0xb8], 1
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140089ce0
mov rsi, qword [rbp - 0x78]
mov qword [rbp + 0xc0], rsi
movzx edx, byte [rbp + 0xb8]
jmp 0x140088816
mov rsi, qword [rbp + 0xc0]
cmp dl, 1
jne 0x140088878
mov qword [rbp - 0x50], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8d, 7
lea rdx, str.success
lea rcx, [rbp - 0x50]
call fcn.140007a00
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14008fd30
mov r15, qword [rax]
add r15, 0x40
lea rcx, [rbp - 0x50]
call fcn.140007980
mov rsi, qword [rbp + 0xc0]
movzx edx, byte [rbp + 0xb8]
jmp 0x14008887d
mov r15, qword [rsp + 0x30]
lea rax, [r15 + 8]
cmp byte [r15], 4
cmovne rax, r13
cmp byte [rax], 0
je 0x140088b00
mov r15, qword [rsp + 0x30]
test dl, dl
jne 0x1400888bf
mov byte [rbp + 0xb8], 1
mov dl, 1
lea rcx, [rbp - 0x78]
call fcn.140089ce0
mov rsi, qword [rbp - 0x78]
mov qword [rbp + 0xc0], rsi
movzx edx, byte [rbp + 0xb8]
cmp dl, 1
jne 0x140088912
mov qword [rbp - 0x50], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov r8d, 8
lea rdx, str.contents
lea rcx, [rbp - 0x50]
call fcn.140007a00
nop
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14008fd30
mov r15, qword [rax]
add r15, 0x40
lea rcx, [rbp - 0x50]
call fcn.140007980
nop
mov qword [rbp - 0x70], r13
movdqa xmm0, xmmword [0x14010abe0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov dword [rbp - 0x30], 0xbfe
cmp byte [r15], 3
jne 0x140088943
mov rdx, qword [r15 + 8]
lea rax, [rbp - 0x70]
cmp rax, rdx
je 0x14008895e
jmp 0x140088946
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140088954
mov rdx, qword [rdx]
lea rcx, [rbp - 0x70]
call fcn.140007a00
nop
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0xc8]
call fcn.140088b80
nop
lea rcx, [rbp - 0x70]
call fcn.140007980
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
mov rsi, qword [rbp + 0xd8]
lea r15, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae r15, qword [rbp + 0xc8]
cmp rsi, 0x10
jae 0x1400889b5
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x68], xmm0
jmp 0x140088a2f
mov rbx, rsi
or rbx, 0xf
movabs rax, 0x7fffffffffffffff
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140088a0c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140088b6f
mov rcx, rax
call fcn.1400e2620
mov rcx, rax
test rax, rax
je 0x140088a05
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140088a1b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140088a18
call fcn.1400e2620
jmp 0x140088a1b
mov rax, r13
mov qword [rsp + 0x68], rax
lea r8, [rsi + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rsp + 0x78], rsi
mov qword [rbp - 0x80], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
cmp rbx, 0x10
jb 0x140088a58
mov r15, qword [rsp + 0x68]
lea r12, [r15 + rsi]
jmp 0x140088a61
lea r12, [rsi + rax]
lea r15, [rsp + 0x68]
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov rsi, r12
sub rsi, r15
je 0x140088aad
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
ja 0x140088b63
mov rdx, rsi
mov rcx, rdi
call fcn.14003f4b0
mov rbx, qword [rdi]
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
sub rbx, r15
add rbx, r12
mov qword [rdi + 8], rbx
lea rcx, [rsp + 0x68]
call fcn.140007980
nop
lea rcx, [rbp + 0xc8]
call fcn.140007980
nop
movzx edx, byte [rbp + 0xb8]
lea rcx, [rbp + 0xc0]
call fcn.140089690
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, r14
call fcn.140007980
mov rax, rdi
jmp 0x140088b2f
lea rcx, [rbp + 0xc0]
call fcn.140089690
nop
lea rcx, [rbp + 0x108]
call fcn.140007980
nop
lea rcx, [rbp + 0xe8]
call fcn.140007980
nop
mov rcx, r14
call fcn.140007980
mov rcx, qword [rbp + 0x128]
xor rcx, rsp
call fcn.1400e2360
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x58]
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.14000f540
nop
call fcn.1400032d0
nop
call fcn.1400032d0
int3