Function at 0x140044810
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0xb0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov ebx, edx
mov rsi, rcx
mov qword [rax - 0x60], rcx
xor edi, edi
mov dword [rsp + 0x24], edi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
lea r14, [0x140147110]
mov eax, dword [rdx + rcx]
cmp dword [0x140147100], eax
jle 0x140044ac0
lea rcx, [0x140147100]
call fcn.1400ba18c
cmp dword [0x140147100], 0xffffffff
jne 0x140044ac0
movups xmm0, xmmword [str.QSQWQSQ_QSQWQSQO1317131_13_v_t]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [0x14012b460]
movups xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [0x14012b470]
movups xmmword [rsp + 0x48], xmm0
movsd xmm0, qword [0x14012b480]
movsd qword [rsp + 0x58], xmm0
mov eax, dword [0x14012b488]
mov dword [rsp + 0x60], eax
movzx eax, word [0x14012b48c]
mov word [rsp + 0x64], ax
movzx eax, byte [0x14012b48e]
mov byte [rsp + 0x66], al
mov ecx, edi
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140044a34
movdqa xmm5, xmmword [0x14012b870]
movdqa xmm4, xmmword [0x14012bb80]
mov eax, 4
movd xmm6, eax
movdqa xmm7, xmmword [0x14012b890]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x14012b900]
movdqa xmmword [rsp + 0x70], xmm0
lea rdx, [rsp + 0x2c]
mov r8d, dword [rsp + 0x70]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, 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
pand xmm2, xmmword [0x14012b8e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
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
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x14012b8e0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x38
jl 0x140044930
cmp ecx, 0x3f
jge 0x140044a6c
movsxd rax, ecx
lea r8, [rsp + 0x28]
add r8, rax
nop
mov eax, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x3f
jl 0x140044a40
xorps xmm0, xmm0
movups xmmword [0x140147110], xmm0
mov qword [0x140147120], rdi
mov qword [0x140147128], rdi
lea rax, [rsp + 0x28]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140044a90
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.14004d900
lea rcx, [0x1400fcd50]
call fcn.1400ba4d4
nop
lea rcx, [0x140147100]
call fcn.1400ba12c
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], rdi
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov dword [rsp + 0x24], 1
movsxd rdx, ebx
cmp ebx, 0xf
jbe 0x140044af1
mov rcx, rsi
call fcn.14004d620
mov qword [rsi + 0x10], rdi
test ebx, ebx
jle 0x140044b6e
mov rbp, rbx
movzx ebx, byte [rsp + 0x20]
nop dword [rax]
mov rdi, qword [0x140147120]
call fcn.1400d6bc4
cdqe
xor edx, edx
div rdi
mov rax, r14
cmp qword [0x140147128], 0x10
cmovae rax, qword [0x140147110]
movzx r9d, byte [rax + rdx]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
cmp rcx, rdx
jae 0x140044b57
lea rax, [rcx + 1]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0x10
jb 0x140044b4c
mov rax, qword [rsi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140044b68
movzx r8d, bl
mov edx, 1
mov rcx, rsi
call fcn.14004df20
sub rbp, 1
jne 0x140044b00
mov rax, rsi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret