Function at 0x140051f50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
movaps xmmword [rsp + 0xf0], xmm6
mov rax, qword [0x1400e06c0]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, r8
mov qword [rbp - 0x49], r8
mov r14, rdx
mov rbx, rcx
xor edi, edi
mov qword [r8 + 0x10], rdi
mov rax, r8
cmp qword [r8 + 0x18], 0xf
jbe 0x140051fa2
mov rax, qword [r8]
mov byte [rax], dil
mov ecx, 3
call fcn.14005bbd0
call fcn.14005b970
mov rsi, rax
mov qword [rbp - 0x51], rax
test rax, rax
je 0x140052648
cmp qword [rbx + 0x18], 0xf
jbe 0x140051fce
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x2712
mov rcx, rax
call fcn.14005fe90
xorps xmm0, xmm0
movups xmmword [rbp - 0x19], xmm0
mov qword [rbp - 9], rdi
mov qword [rbp - 1], rdi
mov r8d, 1
lea rdx, [0x1400ce384]
lea rcx, [rbp - 0x19]
call fcn.140050480
nop
mov rbx, qword [r14]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x140052351
mov r8d, reloc.WLDAP32.dll_Ordinal_22
movabs rdx, 0x8000000000000000
movabs rcx, 0x7fffffffffffffff
lea r15, [rbx + 0x20]
mov r13, qword [r15 + 0x10]
mov rax, rcx
sub rax, r13
cmp rax, 1
jb 0x140052679
mov qword [rsp + 0x40], r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14005205a
mov rax, qword [r15]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x71], xmm0
mov qword [rbp - 0x61], rdi
mov qword [rbp - 0x59], rdi
lea r12, [r13 + 1]
mov esi, reloc.WS2_32.dll_ntohs
lea r14, [rbp - 0x71]
cmp r12, rsi
jbe 0x1400520e7
mov rsi, r12
or rsi, 0xf
cmp rsi, rcx
jbe 0x140052090
mov rsi, rcx
lea rax, [rdx + 0x27]
jmp 0x1400520bc
cmp rsi, 0x16
cmovb rsi, r8
lea rcx, [rsi + 1]
test rcx, rcx
jne 0x1400520a6
mov r14, rdi
jmp 0x1400520e3
cmp rcx, 0x1000
jb 0x1400520db
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14005267f
mov rcx, rax
call fcn.1400b56b0
test rax, rax
je 0x1400525fd
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x1400520e3
call fcn.1400b56b0
mov r14, rax
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x61], r12
mov qword [rbp - 0x59], rsi
mov byte [r14], Ordinal_35
lea rcx, [r14 + 1]
mov r8, r13
mov rdx, qword [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + r12], 0
mov r8d, 3
lea rdx, [0x1400ceb54]
lea rcx, [rbp - 0x71]
call fcn.14005aa30
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rdi
mov qword [rbp - 0x79], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], rdi
mov byte [rax], 0
lea rdx, [r15 + 0x20]
lea rcx, [rsp + 0x48]
call fcn.14005aab0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov qword [rax + 0x10], rdi
mov byte [rax], 0
mov r8d, 2
lea rdx, [0x1400ceb50]
lea rcx, [rsp + 0x20]
call fcn.14005aa30
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x39], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x29], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.14005aab0
nop
mov rdx, qword [rbp - 0x21]
cmp rdx, 0xf
jbe 0x14005220f
inc rdx
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052209
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525e8
call fcn.1400b5934
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x14005224c
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052247
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525ef
call fcn.1400b5934
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], 0
mov rdx, qword [rbp - 0x79]
cmp rdx, 0xf
jbe 0x14005229b
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052296
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525f6
call fcn.1400b5934
mov qword [rsp + 0x58], rdi
mov qword [rbp - 0x79], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x59]
cmp rdx, 0xf
jbe 0x1400522e8
inc rdx
mov rcx, qword [rbp - 0x71]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400522e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400525fd
call fcn.1400b5934
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140052318
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140052313
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140052313
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140052300
mov rbx, rax
jmp 0x14005233f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14005233f
nop dword [rax]
nop dword [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140052330
cmp byte [rbx + 0x19], 0
je 0x140052014
mov rsi, qword [rbp - 0x51]
mov r15, qword [rbp - 0x49]
lea rcx, [rbp - 0x19]
mov r9, qword [rbp - 0x19]
mov r10, qword [rbp - 1]
cmp r10, 0xf
cmova rcx, r9
mov rdx, qword [rbp - 9]
dec rdx
cmp byte [rcx + rdx], 0x2c
jne 0x140052386
mov qword [rbp - 9], rdx
lea rax, [rbp - 0x19]
cmp r10, 0xf
cmova rax, r9
mov byte [rax + rdx], 0
mov r8d, 1
lea rdx, [0x1400ce380]
lea rcx, [rbp - 0x19]
call fcn.14005aa30
movups xmm0, xmmword [str.VTOYSJ]
movups xmmword [rsp + 0x20], xmm0
movsd xmm0, qword [0x1400cee68]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x1400cee70]
mov dword [rsp + 0x38], eax
movzx eax, word [0x1400cee74]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x1400cee76]
mov byte [rsp + 0x3e], al
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140052502
movdqa xmm4, xmmword [0x1400cf420]
movdqa xmm3, xmmword [0x1400cf8d0]
movdqa xmm5, xmmword [str.1111]
movdqa xmm0, xmmword [0x1400cf520]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rsp + 0x24]
movdqa xmm6, xmmword [0x1400cf4b0]
mov edx, dword [rbp - 0x49]
nop dword [rax]
movd xmm2, edi
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdi + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edi, 8
lea rcx, [rcx + 8]
cmp edi, 0x18
jl 0x140052420
cmp edi, 0x1f
jge 0x14005253d
movsxd rax, edi
lea r8, [rsp + 0x20]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
imul edi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, dil
sub al, cl
add al, 0x38
xor byte [r8], al
inc edi
lea r8, [r8 + 1]
cmp edi, 0x1f
jl 0x140052510
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.14005bd30
mov r8, rax
mov edx, 0x2727
mov rcx, rsi
call fcn.14005fe90
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0xf
cmova r8, qword [rbp - 0x19]
mov edx, 0x271f
mov rcx, rsi
call fcn.14005fe90
lea r8, [0x140051140]
mov edx, 0x4e2b
mov rcx, rsi
call fcn.14005fe90
mov r8, r15
mov edx, 0x2711
mov rcx, rsi
call fcn.14005fe90
mov rcx, rsi
call fcn.14005b9e0
mov rcx, rsi
test eax, eax
je 0x140052604
call fcn.14005b940
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x1400525e4
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400525df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005263c
call fcn.1400b5934
xor al, al
jmp 0x14005264a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005b940
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0xf
jbe 0x140052648
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140052643
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140052643
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b5934
mov al, 1
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.1400b5570
mov rbx, qword [rsp + 0x148]
movaps xmm6, xmmword [rsp + 0xf0]
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14004ae30
nop
call fcn.1400012d0
int3