Function at 0x14003d670
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140167630]
cmp qword [0x140167628], rax
je 0x14003d9ab
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
mov rbx, qword [0x140167630]
sub rbx, qword [0x140167628]
sar rbx, 3
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
xor edx, edx
div rbx
movsxd rcx, edx
mov rax, qword [0x140167628]
mov esi, dword [rax + rcx*8]
mov r14d, dword [rax + rcx*8 + 4]
mov rdx, qword [0x140167a98]
cmp byte [rdx + 0x1d0], 0
je 0x14003d9ab
mov dword [rbp + 0x67], 0x8c9e8e90
mov word [rbp + 0x6b], 0x100
xor ecx, ecx
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x14003d710
mov byte [rbp + 0x6c], 0
lea rcx, [rbp + 0x67]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14003d732
lea rcx, [rdx + 0x140]
cmp qword [rdx + 0x158], 0xf
jbe 0x14003d753
mov rcx, qword [rdx + 0x140]
mov r8, qword [rdx + 0x150]
cmp r8, rax
jne 0x14003d770
lea rdx, [rbp + 0x67]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003d9ab
lea rcx, [rbp + 0x67]
call fcn.140005a00
movabs rcx, 0x7ffffffff70f2e7f
mov rax, qword [rbp + 0x67]
cmp rax, rcx
jge 0x14003d794
add rax, 0x8f0d180
jmp 0x14003d79e
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x67], rax
lea rcx, [rbp + 0x67]
call fcn.14002dce0
mov rdx, qword [0x140167a98]
cmp byte [rdx + 0x1d0], 0
je 0x14003d9ab
mov dword [rbp + 0x67], 0x8c9e8e90
mov word [rbp + 0x6b], 0x100
xor ecx, ecx
nop
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 4
jb 0x14003d7d0
mov byte [rbp + 0x6c], 0
lea rcx, [rbp + 0x67]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14003d7f0
lea rcx, [rdx + 0x140]
cmp qword [rdx + 0x158], 0xf
jbe 0x14003d811
mov rcx, qword [rdx + 0x140]
mov r8, qword [rdx + 0x150]
cmp r8, rax
jne 0x14003d82a
lea rdx, [rbp + 0x67]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14003d82c
mov al, 1
test al, al
je 0x14003d9ab
mov edx, r14d
lea rcx, [rbp + 0x27]
call fcn.140005010
mov rdi, rax
mov edx, esi
lea rcx, [rbp + 7]
call fcn.140005010
mov rdx, rax
movdqa xmm0, xmmword [0x140135890]
movdqu xmmword [rbp - 0x59], xmm0
mov dword [rbp - 0x49], 0x8795c688
mov dword [rbp - 0x45], 0x988e869c
mov dword [rbp - 0x41], 0x90cf8b99
mov word [rbp - 0x3d], __WSAFDIsSet
mov byte [rbp - 0x3b], 1
xor ecx, ecx
nop
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 0x1d
jb 0x14003d880
mov byte [rbp - 0x3b], 0
lea rax, [rbp - 0x59]
mov r9, rbx
nop dword [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x14003d8a0
lea r8, [rbp - 0x59]
mov rcx, rdx
call fcn.14002d690
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov dword [rbp + 0x67], 0xb8fbefb5
mov word [rbp + 0x6b], 0xbb
mov byte [rbp + 0x6d], 1
xor ecx, ecx
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx + 0x67], al
inc rcx
cmp rcx, 5
jb 0x14003d900
mov byte [rbp + 0x6d], 0
lea rax, [rbp + 0x67]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14003d920
mov r8, rbx
lea rdx, [rbp + 0x67]
lea rcx, [rbp - 0x39]
call fcn.14002b230
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x59], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x49], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r9, rdi
lea r8, [rbp - 0x59]
lea rcx, [rbp - 0x19]
call fcn.14002d190
lea rcx, [rbp - 0x19]
call fcn.1400d15c0
nop
lea rcx, [rbp - 0x59]
call fcn.14002b140
nop
lea rcx, [rbp - 0x39]
call fcn.14002b140
nop
lea rcx, [rbp + 7]
call fcn.14002b140
nop
lea rcx, [rbp + 0x27]
call fcn.14002b140
mov r8d, r14d
mov edx, esi
mov ecx, 0x18b6
call fcn.1400d6990
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret