Function at 0x140049490
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x14020b010]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rcx
movsd xmm0, qword [str.aRMPDzYU_db_]
movsd qword [rsp + 0x28], xmm0
mov eax, dword [0x1401f7150]
mov dword [rsp + 0x30], eax
movzx eax, word [0x1401f7154]
mov word [rsp + 0x34], ax
movzx eax, byte [0x1401f7156]
mov byte [rsp + 0x36], al
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140049605
movdqa xmm4, xmmword [0x1401f8ed0]
mov eax, 4
movd xmm6, eax
mov eax, Ordinal_33
movd xmm5, eax
movdqa xmm2, xmmword [0x1401f89d0]
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, 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]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401f8ac0]
movd xmm0, dword [str.aRMPDzYU_db_]
pxor xmm2, xmm0
movd dword [rsp + 0x28], xmm2
movdqa xmm3, xmmword [0x1401f89e0]
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, 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]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1401f8ac0]
movd xmm0, dword [rsp + 0x2c]
pxor xmm2, xmm0
movd dword [rsp + 0x2c], xmm2
mov ecx, 8
mov eax, 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
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x31
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xf
jl 0x140049610
lea rcx, [rsp + 0x28]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x140049650
mov r8, qword [rbx + 0x18]
lea rcx, [rbx + 8]
cmp qword [rbx + 0x20], 0x10
jb 0x14004966b
mov rcx, qword [rcx]
cmp r8, rax
jne 0x140049826
lea rdx, [rsp + 0x28]
call fcn.14013f970
test eax, eax
jne 0x140049826
mov r9d, esi
lea edx, [rax + 5]
lea r8d, [rax + 6]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 6
lea r8d, [rdx + 9]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx + 0x6e]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, reloc.WS2_32.dll_WSAStartup
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, reloc.WS2_32.dll_WSACleanup
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx + 0x53]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0x58
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0x59
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx - 3]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 2
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 1
mov r8d, 0xb2
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb2
lea r8d, [rdx + 5]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb7
lea r8d, [rdx - 4]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb3
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb4
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 1
mov r8d, 0xac
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xac
lea r8d, [rdx + 5]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb1
lea r8d, [rdx - 4]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xad
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov edx, 0xae
lea r8d, [rdx + 1]
jmp 0x1400499a5
mov edx, esi
mov rcx, rdi
call fcn.140049220
mov r9d, esi
mov edx, 5
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 6
lea r8d, [rdx + 9]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx + 0x6e]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, reloc.WS2_32.dll_WSAStartup
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, reloc.WS2_32.dll_WSACleanup
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx + 0x53]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0x58
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0x59
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 5
lea r8d, [rdx - 3]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 2
lea r8d, [rdx + 1]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 3
lea r8d, [rdx - 2]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 1
mov r8d, 0xb1
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb1
lea r8d, [rdx - 4]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xad
lea r8d, [rdx + 0x20]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xcd
lea r8d, [rdx - 0x1e]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 1
mov r8d, 0xb7
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb7
lea r8d, [rdx - 4]
mov rcx, rdi
call fcn.140049360
mov r9d, esi
mov edx, 0xb3
lea r8d, [rdx + 0x1b]
mov rcx, rdi
call fcn.140049360
mov edx, 0xce
lea r8d, [rdx - 0x19]
mov r9d, esi
mov rcx, rdi
call fcn.140049360
nop
mov rcx, rbx
call fcn.140089e00
mov rcx, qword [rbx]
mov qword [rbx], 0
mov edx, reloc.WS2_32.dll_recv
call fcn.14008c9e0
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14008db20
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret