Function at 0x140048840
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r14
push rbp
lea rbp, [rsp - 0x1f]
sub rsp, 0xc0
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 4
mov rbx, r9
mov r14d, 4
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x1401cb728], eax
jle 0x140048af0
lea rcx, [0x1401cb728]
call fcn.1401279ac
cmp dword [0x1401cb728], 0xffffffff
jne 0x140048af0
movups xmm0, xmmword [str.l_K_ZHXjW2_]
movzx eax, byte [0x140187b50]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmmword [rbp - 0x31], xmm0
mov byte [rbp - 0x21], al
jl 0x140048a3b
movdqa xmm0, xmmword [0x140190920]
lea rdx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x1401906d0]
mov eax, Ordinal_33
movdqa xmm4, xmmword [0x1401909a0]
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm7
movdqa xmm7, xmmword [0x140190720]
movaps xmmword [rsp + 0x90], xmm8
movdqa xmmword [rbp - 0x41], xmm0
mov r8d, dword [rbp - 0x41]
movd xmm8, eax
movd xmm6, r14d
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
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps 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
andps xmm2, xmmword [0x1401908d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140048920
movaps xmm8, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0xb0]
cmp ecx, 0x11
jge 0x140048a7d
movsxd rax, ecx
lea r8, [rbp - 0x31]
add r8, rax
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x36
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140048a50
cmp byte [0x1401867a9], 0
movsd xmm0, qword [str.XCUV]
movzx eax, word [0x1401867a8]
movsd qword [rbp - 0x41], xmm0
mov word [rbp - 0x39], ax
je 0x140048ac6
xor byte [rbp - 0x40], 0x37
xor byte [rbp - 0x3f], 0x38
xor byte [rbp - 0x3e], 0x39
xor byte [rbp - 0x3d], 0x3a
xor byte [rbp - 0x3c], 0x3b
xor byte [rbp - 0x3b], 0x3c
xor byte [rbp - 0x3a], 0x3d
xor byte [rbp - 0x39], 0x3e
xor byte [rbp - 0x38], 0x3f
mov byte [rbp - 0x41], WSAGetLastError
lea rcx, [rbp - 0x41]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x1401cb728]
mov qword [0x1401cb738], rax
call fcn.140127940
mov r9, rbx
mov qword [rbp + 0x7f], 0
xor r8d, r8d
mov edx, 0x1fffff
mov rcx, rdi
mov qword [rbp + 0x6f], 0x1000
mov qword [rbp + 0x67], 0
mov dword [rbp + 0x5f], r14d
mov qword [rbp + 0x57], 0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r14, qword [r11 + 0x20]
mov rsp, r11
pop rbp
jmp qword [0x1401cb738]