Function at 0x1400418f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x140480c38]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov rsi, rdx
mov ecx, 3
call fcn.1400536d0
call fcn.140053450
mov rdi, rax
test rax, rax
je 0x140041bb3
cmp qword [rbx + 0x18], 0x10
jb 0x14004193c
mov rbx, qword [rbx]
mov r8, rbx
mov edx, 0x2712
mov rcx, rdi
call fcn.140055ea0
cmp qword [rsi + 0x18], 0x10
mov r8, rsi
jb 0x140041959
mov r8, qword [rsi]
mov edx, 0x271f
mov rcx, rdi
call fcn.140055ea0
mov r8d, dword [rsi + 0x10]
mov edx, reloc.WLDAP32.dll_Ordinal_60
mov rcx, rdi
call fcn.140055ea0
mov eax, dword [0x140200be8]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [0x140200bd0]
mov dword [rsp + 0x48], eax
movzx eax, word [0x140200bec]
movsd xmm1, qword [0x140200be0]
mov word [rsp + 0x4c], ax
movzx eax, byte [0x140200bee]
mov byte [rsp + 0x4e], al
movups xmmword [rsp + 0x30], xmm0
movsd qword [rsp + 0x40], xmm1
jl 0x140041b39
movdqa xmm0, xmmword [0x1402017d0]
lea rdx, [rsp + 0x34]
movdqa xmm5, xmmword [0x140201780]
mov eax, 1
movdqa xmm4, xmmword [0x1402017c0]
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x1402017a0]
movd xmm6, eax
mov eax, Ordinal_32
movdqa xmmword [rsp + 0x20], xmm0
mov r8d, dword [rsp + 0x20]
movaps xmmword [rsp + 0x60], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1402017b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
pxor xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140041a20
movaps xmm8, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp ecx, 0x1f
jge 0x140041b7c
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1f
jl 0x140041b50
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.1400537e0
mov r8, rax
mov edx, 0x2727
mov rcx, rdi
mov rbx, rax
call fcn.140055ea0
mov rcx, rdi
call fcn.140053510
mov rcx, rbx
call fcn.140053880
mov rcx, rdi
call fcn.140053430
call fcn.140053690
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b7590
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret