Function at 0x140030f90
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x68]
sub rsp, 0x150
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x140108718]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rbx, rcx
mov qword [rbp - 0x30], rcx
xor r14d, r14d
movsd xmm0, qword [str.lIN]
movsd qword [rbp + 0x18], xmm0
mov eax, dword [0x1400f15d8]
mov dword [rbp + 0x20], eax
movzx eax, word [0x1400f15dc]
mov word [rbp + 0x24], ax
cmp byte [0x1400f15dd], r14b
je 0x140031153
mov r8d, r14d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140031113
movdqa xmm4, xmmword [0x1400f52c0]
mov eax, 5
movd xmm6, eax
mov eax, Ordinal_35
movd xmm5, eax
movdqa xmm2, xmmword [0x1400f5100]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f5190]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f5220]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f5240]
movd xmm0, dword [str.lIN]
xorps xmm2, xmm0
movd dword [rbp + 0x18], xmm2
movdqa xmm3, xmmword [0x1400f5110]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400f5190]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f5220]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400f5240]
movd xmm0, dword [rbp + 0x1c]
xorps xmm2, xmm0
movd dword [rbp + 0x1c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp + 0x18]
add r9, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140031120
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 8], xmm1
lea rax, [rbp + 0x18]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140031170
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 8]
call fcn.14000b590
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1400f50f0]
movdqu xmmword [rbp - 0x18], xmm1
mov byte [rbp - 0x28], 0
mov rax, qword [rbx]
cvttss2si edx, dword [rax]
lea rcx, [rsp + 0x28]
call fcn.140020bb0
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0x10
jb 0x1400311c0
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140033450
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14003120d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031208
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140031208
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbd1c
mov esi, 1
mov rax, qword [rbx + 8]
sub rax, qword [rbx]
sar rax, 2
cmp rax, rsi
jbe 0x1400313cc
mov edi, 4
nop dword [rax + rax]
mov rax, qword [rbx]
cvttss2si r8d, dword [rdi + rax]
lea r9, [rbp + 0x2d]
test r8d, r8d
jns 0x140031290
neg r8d
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140031250
dec r9
mov byte [r9], reloc.WLDAP32.dll_Ordinal_45
jmp 0x1400312ba
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x140031290
lea r8, [rbp + 0x2d]
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.14003a700
nop
mov r9d, 2
lea r8, [0x1400ef898]
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.1400387d0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x48]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x28]
call fcn.140033450
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140031372
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003136c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003146f
call fcn.1400bbd1c
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400313af
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400313aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031476
call fcn.1400bbd1c
inc esi
add rdi, 4
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
sar rcx, 2
movsxd rax, esi
cmp rax, rcx
jb 0x140031230
lea r9, [rbp - 0x28]
lea r8, [rbp - 8]
lea rdx, [rsp + 0x70]
lea rcx, [0x14010a470]
call fcn.1400243f0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14003141c
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140031468
call fcn.1400bbd1c
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x58], 0
lea rcx, [rbp - 0x68]
call fcn.140032a80
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140031483
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003147d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003147d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbd1c
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400314c1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400314bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400314bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbd1c
movdqa xmm0, xmmword [0x1400f50f0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x10]
cmp rdx, 0x10
jb 0x140031510
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003150b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003150b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bbd1c
movdqa xmm0, xmmword [0x1400f50f0]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rcx, qword [rbx]
test rcx, rcx
je 0x140031565
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
jb 0x140031555
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003158e
mov rcx, r8
call fcn.1400bbd1c
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400bb950
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3