Function at 0x140050e30
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14049c380]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
call fcn.14002fd20
call fcn.140030bf0
call fcn.140013620
call fcn.14000cf70
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
lea rsi, [rbp + 0x5f]
movabs rcx, 0xff00ff00ff00ff00
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x39], rsi
mov rbx, qword [rsi]
mov rax, rbx
xor rax, rcx
mov qword [rbp - 0x49], rax
mov qword [rsi], 0
mov rax, qword [0x14049cb38]
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call rax
nop
mov qword [rsi], rbx
mov rcx, qword [0x14049cda0]
test al, 1
je 0x140050ed6
cmp byte [rcx + 8], 0
sete al
mov byte [rcx + 8], al
cmp byte [rcx + 9], 0
sete al
mov byte [rcx + 9], al
cmp byte [rcx + 0x8e], 0
je 0x140050f80
call fcn.14000d240
mov rbx, rax
movss xmm0, dword [0x14049b3b0]
movss dword [rbp - 0x49], xmm0
movss xmm1, dword [0x14049b3b4]
movss dword [rbp - 0x45], xmm1
movss xmm0, dword [0x14049b3b8]
movss dword [rbp - 0x41], xmm0
movss xmm6, dword [0x1400c1cd8]
mov dword [rbp - 0x3d], 0x3f800000
lea rcx, [rbp - 0x49]
call fcn.14000a5f0
mov r9d, eax
mov rcx, qword [0x14049cda0]
movd xmm2, dword [rcx + 0x88]
cvtdq2ps xmm2, xmm2
mov eax, dword [rcx + 4]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mov eax, dword [rcx]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp - 0x59], xmm0
movss dword [rbp - 0x55], xmm1
movss dword [rsp + 0x28], xmm6
mov dword [rsp + 0x20], Ordinal_60
lea rdx, [rbp - 0x59]
mov rcx, rbx
call fcn.14001e820
mov rcx, qword [0x14049cd80]
call fcn.14004b790
movdqa xmm0, xmmword [0x1400c3750]
movups xmmword [rbp + 0x1f], xmm0
mov rax, qword [0x14049cda0]
cmp byte [rax + 8], 0
je 0x140050fb9
movdqa xmm0, xmmword [0x1400c9790]
movups xmmword [rbp + 0x1f], xmm0
mov rcx, rdi
call fcn.140052850
call fcn.14000d610
movups xmm0, xmmword [str.fWCMKTezO_Z_b_6__:_d_b.___V]
movups xmmword [rbp - 0x29], xmm0
movups xmm1, xmmword [0x1400c9308]
movups xmmword [rbp - 0x19], xmm1
movzx eax, word [0x1400c9318]
mov word [rbp - 9], ax
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140051117
movdqa xmm4, xmmword [0x1400c7530]
movdqa xmm3, xmmword [0x1400c97b0]
movdqa xmm5, xmmword [0x1400c96f0]
movdqa xmm0, xmmword [0x1400c9710]
movdqa xmmword [rbp - 0x49], xmm0
lea rcx, [rbp - 0x25]
movdqa xmm6, xmmword [0x1400c9700]
mov edx, dword [rbp - 0x49]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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, [r8 + 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 r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x20
jl 0x140051030
cmp r8d, 0x22
jge 0x140051160
movsxd rax, r8d
lea r9, [rbp - 0x29]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x22
jl 0x140051130
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea rax, [rbp - 0x29]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140051180
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 1]
call fcn.140001b80
nop
call fcn.14000cf70
mov rdi, rax
lea rbx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rbx, qword [rbp - 1]
lea rcx, [rbp + 0x1f]
call fcn.14000a5f0
mov dword [rbp - 0x59], 0x420c0000
mov dword [rbp - 0x55], 0x42340000
mov qword [rsp + 0x20], 0
mov r9, rbx
mov r8d, eax
lea rdx, [rbp - 0x59]
mov rcx, rdi
call fcn.1400224e0
call fcn.1400157b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
mov rcx, qword [0x14049cc88]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [0x14049cc98]
mov edx, 1
call qword [rax + 0x108]
mov rcx, qword [0x14049cc88]
mov rax, qword [rcx]
lea r8, [rbp + 0x2f]
mov rdx, qword [0x14049cc98]
call qword [rax + 0x190]
call fcn.14000d210
mov rcx, rax
call fcn.14002fd60
mov rcx, qword [0x14049cc90]
mov rax, qword [rcx]
xor r8d, r8d
mov edx, 1
call qword [rax + 0x40]
nop
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140051287
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051282
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140051282
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bb35c
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400bb7d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret