Function at 0x1401dbc70
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x140628fc0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rdi, r9
mov eax, r8d
mov dword [rbp - 0x19], eax
mov r14, rdx
mov r8, rcx
mov qword [rbp - 1], rcx
mov r15, qword [rbp + 0x7f]
mov qword [rbp - 0x11], r15
xor r9d, r9d
mov dword [rbp - 0x3d], r9d
mov rsi, qword [r15]
test rsi, rsi
jne 0x1401dbcd2
call fcn.14017ece0
mov dword [r14], 6
jmp 0x1401dbcfb
cmp eax, 8
jge 0x1401dbce5
call fcn.14017ece0
mov dword [r14], 7
jmp 0x1401dbcfb
mov rcx, qword [rdi + 0x10]
cmp rcx, 0x7d
jbe 0x1401dbd45
call fcn.14017ece0
mov dword [r14], 8
mov qword [r14 + 8], rax
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x1401dc05f
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401dc05f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1401dc05f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1401dc05f
movzx edx, byte [r8 + 9]
mov byte [rbp - 0x40], dl
movzx r12d, al
and r12b, 0xf
or r12b, 0x80
mov byte [rbp - 0x41], r12b
mov r13d, 0x80
test dl, dl
cmovne r13d, r9d
or r13b, cl
add rsi, 0x50
mov rdx, qword [rsi + 0x10]
cmp rcx, rdx
ja 0x1401dbd90
mov qword [rsi + 0x10], rcx
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1401dbd8a
mov rax, qword [rsi]
mov byte [rax + rcx], 0
jmp 0x1401dbdee
mov r12, rcx
sub r12, rdx
mov r8, qword [rsi + 0x18]
mov rax, r8
sub rax, rdx
cmp r12, rax
ja 0x1401dbdcd
mov qword [rsi + 0x10], rcx
mov rax, rsi
cmp r8, 0xf
jbe 0x1401dbdb5
mov rax, qword [rsi]
lea rbx, [rax + rdx]
mov r8, r12
xor edx, edx
mov rcx, rbx
call fcn.1404da940
mov byte [rbx + r12], 0
jmp 0x1401dbde5
mov byte [rsp + 0x20], 0
mov r9, r12
movzx r8d, byte [rbp - 0x40]
mov rdx, r12
mov rcx, rsi
call fcn.1401b82f0
mov r8, qword [rbp - 1]
movzx r12d, byte [rbp - 0x41]
cmp byte [rbp - 0x40], 0
jne 0x1401dbf40
mov rbx, qword [r8 + 0x98]
mov qword [rbp - 1], rbx
add rbx, 0x10
mov qword [rbp - 9], rbx
mov rcx, rbx
call fcn.14048015c
test eax, eax
jne 0x1401dc099
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x1401dc089
mov rax, qword [rbp - 1]
mov r8d, dword [rax + 0xc]
mov edx, dword [rax + 8]
mov rcx, rax
call fcn.1401eab30
mov dword [rbp - 0x3d], eax
mov rcx, rbx
call fcn.140480164
xor eax, eax
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], eax
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 7]
call fcn.1401743b0
movsxd rcx, eax
mov ebx, dword [rbp - 0x3d]
mov dword [rbp + rcx + 7], ebx
mov rax, qword [r15]
mov qword [rbp - 1], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov eax, 2
mov dword [rbp - 0x3d], eax
mov byte [rbp - 0x39], r12b
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x38], r13b
mov byte [rbp - 0x37], 0
movzx ecx, r13b
and cl, 0x7f
cmp cl, 0x7e
jne 0x1401dbea8
mov eax, 4
jmp 0x1401dbeb4
mov edx, 0xa
cmp cl, 0x7f
cmove rax, rdx
lea r8, [rax + 4]
test r13b, r13b
cmovns r8, rax
sub r8, 2
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14014c6f0
mov rcx, qword [rbp - 1]
add rcx, 0x10
lea rdx, [rbp - 0x39]
call fcn.1401a9ed0
nop
lea rcx, [rbp - 0x39]
call fcn.14014c690
mov dword [rbp - 1], ebx
cmp qword [rsi + 0x18], 0xf
jbe 0x1401dbef8
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 0xf
jbe 0x1401dbf0b
mov r8, qword [rdi]
add r8, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x1401dbf12
mov r8, qword [rdi + 0x10]
add r8, rdi
mov rdx, r8
xor ecx, ecx
cmp rdi, r8
je 0x1401dc008
movzx eax, byte [rbp + rcx - 1]
xor al, byte [rdi]
mov byte [rsi], al
inc rcx
and ecx, 3
lea rsi, [rsi + 1]
inc rdi
cmp rdi, rdx
jne 0x1401dbf20
jmp 0x1401dc008
xor eax, eax
mov qword [rbp + 7], rax
mov dword [rbp + 0xf], eax
mov rdx, qword [rdi + 0x10]
lea rcx, [rbp + 7]
call fcn.1401743b0
mov rbx, qword [r15]
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
mov dword [rbp - 0x3d], 1
mov byte [rbp - 0x39], r12b
mov eax, 2
mov qword [rbp - 0x29], rax
mov byte [rbp - 0x38], r13b
mov byte [rbp - 0x37], 0
movzx ecx, r13b
and cl, 0x7f
cmp cl, 0x7e
jne 0x1401dbf97
mov eax, 4
jmp 0x1401dbfa3
mov edx, 0xa
cmp cl, 0x7f
cmove rax, rdx
lea r8, [rax + 4]
test r13b, r13b
cmovns r8, rax
sub r8, 2
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x39]
call fcn.14014c6f0
lea rcx, [rbx + 0x10]
lea rdx, [rbp - 0x39]
call fcn.1401a9ed0
nop
lea rcx, [rbp - 0x39]
call fcn.14014c690
cmp qword [rsi + 0x18], 0xf
jbe 0x1401dbfe0
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 0xf
jbe 0x1401dbff3
mov r8, qword [rdi]
add r8, qword [rdi + 0x10]
mov rdi, qword [rdi]
jmp 0x1401dbffa
mov r8, qword [rdi + 0x10]
add r8, rdi
sub r8, rdi
mov rdx, rdi
mov rcx, rsi
call fcn.1404da2a0
mov rax, qword [r15]
mov ecx, dword [rbp - 0x19]
mov dword [rax + 0x70], ecx
mov rax, qword [r15]
mov byte [rax + 0x74], 1
mov dword [r14], 0
lea rax, [0x140629e20]
mov qword [r14 + 8], rax
mov rdi, qword [r15 + 8]
test rdi, rdi
je 0x1401dc05f
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1401dc05f
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x1401dc05f
mov rdx, qword [rdi]
mov rcx, rdi
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov rax, r14
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1404a0a30
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.14047fee4
int3
mov ecx, 5
call fcn.14047fee4
int3