Function at 0x140049c90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
mov rax, qword [0x14020b010]
xor rax, rsp
mov qword [rbp + 0xf], rax
movups xmm0, xmmword [str.aRMPDq_T_WYb]
movzx eax, byte [0x1401f6060]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
mov r14, rcx
movups xmmword [rbp - 9], xmm0
mov byte [rbp + 7], al
lea r10d, [r8 + 4]
lea r11d, [r8 + 0x1f]
jl 0x140049e40
movdqa xmm0, xmmword [0x1401f8ac0]
lea rcx, [rbp - 5]
movdqa xmm5, xmmword [0x1401f89d0]
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm7, xmmword [0x1401f89f0]
movdqa xmmword [rbp - 0x19], xmm0
mov edx, dword [rbp - 0x19]
movaps xmmword [rsp + 0x60], xmm8
movd xmm6, r10d
movd xmm8, r11d
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 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 r8d, 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 [0x1401f8a20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 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, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x140049d31
movaps xmm8, xmmword [rsp + 0x60]
cmp r8d, 0x11
jge 0x140049e83
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0x11
jl 0x140049e50
mov rbx, 0xffffffffffffffff
lea rcx, [rbp - 9]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x140049e91
mov r15, qword [r14 + 0x20]
lea rdi, [r14 + 8]
mov rsi, qword [r14 + 0x18]
mov rcx, rdi
cmp r15, 0x10
jb 0x140049eb2
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x140049ed5
mov r8, rsi
lea rdx, [rbp - 9]
call fcn.14013f970
test eax, eax
je 0x14004a30a
mov r10d, 4
lea r11d, [r10 + 0x1b]
mov eax, dword [0x1401f7150]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movsd xmm0, qword [str.aRMPDzYU_db_]
mov dword [rbp - 0x11], eax
movzx eax, word [0x1401f7154]
mov word [rbp - 0xd], ax
movzx eax, byte [0x1401f7156]
mov byte [rbp - 0xb], al
movsd qword [rbp - 0x19], xmm0
jl 0x14004a019
movdqa xmm2, xmmword [0x1401f89d0]
mov r8d, 8
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401f89e0]
movdqa xmm0, xmm2
mov eax, dword [0x1401f8ac0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, r10d
movd xmm5, r11d
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401f89f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
movd xmm1, dword [str.aRMPDzYU_db_]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x19], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401f89f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
movd xmm1, dword [rbp - 0x15]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x15], xmm2
mov eax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xf
jl 0x14004a030
lea rcx, [rbp - 0x19]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14004a070
mov rcx, rdi
cmp r15, 0x10
jb 0x14004a085
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14004a09e
mov r8, rsi
lea rdx, [rbp - 0x19]
call fcn.14013f970
test eax, eax
je 0x14004a30a
mov eax, dword [0x1401f3d60]
xor r8d, r8d
cmp dword [reloc.WS2_32.dll_accept], 2
movsd xmm0, qword [str.cWT_FBRiVZEXL_]
mov dword [rbp - 0x11], eax
movzx eax, word [0x1401f3d64]
mov word [rbp - 0xd], ax
movzx eax, byte [0x1401f3d66]
mov byte [rbp - 0xb], al
movsd qword [rbp - 0x19], xmm0
jl 0x14004a1ea
movdqa xmm2, xmmword [0x1401f89d0]
mov eax, 4
movdqa xmm4, xmmword [0x1401f8ed0]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x1401f89e0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, Ordinal_33
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
mov eax, dword [0x1401f8ac0]
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401f89f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
movd xmm1, dword [str.cWT_FBRiVZEXL_]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movdqa xmm0, xmm3
pxor xmm2, xmm1
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
movd dword [rbp - 0x19], xmm2
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1401f89f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x1401f8a20]
movd xmm1, dword [rbp - 0x15]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
pxor xmm2, xmm1
movd dword [rbp - 0x15], xmm2
mov eax, r8d
lea r9, [rbp - 0x19]
add r9, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x5397829d
lea r9, [r9 + 1]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x31
add cl, r8b
inc r8d
xor byte [r9 - 1], cl
cmp r8d, 0xf
jl 0x14004a200
lea rcx, [rbp - 0x19]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14004a240
mov rcx, rdi
cmp r15, 0x10
jb 0x14004a255
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14004a26e
mov r8, rsi
lea rdx, [rbp - 0x19]
call fcn.14013f970
test eax, eax
je 0x14004a30a
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
movzx eax, word [0x1401f40f8]
mov word [rbp - 0x29], ax
je 0x14004a28a
xor byte [rbp - 0x28], 0x32
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_35
lea rcx, [rbp - 0x29]
mov rax, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14004a291
mov rcx, rdi
cmp r15, 0x10
jb 0x14004a2a6
mov rcx, qword [rdi]
cmp rsi, rax
jne 0x14004a2bb
mov r8, rsi
lea rdx, [rbp - 0x29]
call fcn.14013f970
test eax, eax
je 0x14004a30a
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
movzx eax, word [0x1401f40f8]
mov word [rbp - 0x29], ax
je 0x14004a2d7
xor byte [rbp - 0x28], 0x32
mov byte [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_35
lea rax, [rbp - 0x29]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004a2e0
cmp r15, 0x10
jb 0x14004a2f2
mov rdi, qword [rdi]
cmp rsi, rbx
jne 0x14004a32a
mov r8, rsi
lea rdx, [rbp - 0x29]
mov rcx, rdi
call fcn.14013f970
test eax, eax
jne 0x14004a32a
mov rcx, r14
call fcn.140089e00
mov rcx, qword [r14]
mov edx, reloc.WS2_32.dll_recv
mov qword [r14], 0
call fcn.14008c9e0
mov al, 1
jmp 0x14004a348
mov rcx, r14
call fcn.140089e00
mov rcx, qword [r14]
mov edx, reloc.WS2_32.dll_recv
mov qword [r14], 0
call fcn.14008c9e0
xor al, al
mov rcx, qword [rbp + 0xf]
xor rcx, rsp
call fcn.14008db20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [rsp + 0x70]
mov rsp, r11
pop r15
pop r14
pop rbp
ret