Function at 0x14005c490
Capabilities:
Check internet connectivity via wininet
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x1401b06f8]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r14d, r14d
cmp byte [0x1401cd896], r14b
je 0x14005cd17
movups xmm0, xmmword [0x140189d18]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x140189d28]
mov dword [rsp + 0x50], eax
movzx eax, word [0x140189d2c]
mov word [rsp + 0x54], ax
lea r15d, [r14 + 5]
lea r12d, [r14 + 0x1f]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp byte [0x140189d2d], r14b
je 0x14005c6b3
mov r8d, r14d
cmp esi, 2
jl 0x14005c66c
movdqa xmm5, xmmword [0x140192830]
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r15d
movdqa xmm7, xmmword [0x1401928f0]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140192a30]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
movd xmm2, r8d
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
paddd xmm1, xmm2
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
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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
paddd xmm1, xmm3
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
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14005c561
cmp r8d, 0x16
jge 0x14005c6b3
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop word [rax + 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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x14005c680
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
jne 0x14005c6d0
mov al, 1
jmp 0x14005cccd
movsd xmm0, qword [0x140188f80]
movsd qword [rsp + 0x30], xmm0
mov eax, dword [0x140188f88]
mov dword [rsp + 0x38], eax
movzx eax, word [0x140188f8c]
mov word [rsp + 0x3c], ax
cmp byte [0x140188f8d], r14b
je 0x14005c863
mov r8d, r14d
cmp esi, 2
jl 0x14005c81d
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x140192830]
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 [0x1401928f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
mov eax, dword [0x140192a30]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140188f80]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140192840]
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 [0x1401928f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + 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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14005c830
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x14005c884
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016340
lea rax, [rsp + 0x40]
mov qword [rsp + 0x60], rax
cmp byte [0x1401cd896], 0
je 0x14005cd25
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
call fcn.140055440
xor r9d, r9d
mov r8, rax
lea rdx, [rbp + 0x10]
call fcn.14004d1d0
nop
lea rcx, [rsp + 0x40]
call fcn.14000d220
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 8], xmm0
mov qword [rbp + 8], rax
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 8]
call fcn.14009eab0
nop
mov r9, qword [rbp]
mov rdx, r9
mov rcx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 2
xorps xmm8, xmm8
mov r8, qword [0x1401c8928]
cmp rdx, 0xa2
jne 0x14005cc4c
mov r10, qword [0x1401c8930]
mov rax, r10
sub rax, r8
sar rax, 2
cmp rdx, rax
jne 0x14005c964
cmp r8, r10
je 0x14005cc4c
mov rax, r8
mov rdx, rcx
movss xmm0, dword [rax]
ucomiss xmm0, dword [rdx]
jp 0x14005c964
jne 0x14005c964
add rax, 4
add rdx, 4
cmp rax, r10
je 0x14005cc4c
jmp 0x14005c946
movss xmm0, dword [rcx + 0x284]
ucomiss xmm0, xmm8
jp 0x14005cc08
jne 0x14005cc08
cmp r8, qword [0x1401c8930]
jne 0x14005cc08
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rcx, qword [rbp + 0x10]
mov rax, qword [rbp + 0x20]
mov byte [rax + rcx - 1], Ordinal_50
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.14000f0d0
mov rdi, rax
mov qword [rsp + 0x60], rax
movsd xmm0, qword [0x140188f80]
movsd qword [rsp + 0x30], xmm0
mov ecx, dword [0x140188f88]
mov dword [rsp + 0x38], ecx
movzx ecx, word [0x140188f8c]
mov word [rsp + 0x3c], cx
cmp byte [0x140188f8d], 0
je 0x14005cb53
mov r8d, r14d
cmp esi, 2
jl 0x14005cb0d
movdqa xmm4, xmmword [0x140192b20]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x140192830]
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 [0x1401928f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
mov eax, dword [0x140192a30]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x140188f80]
xorps xmm2, xmm0
movd dword [rsp + 0x30], xmm2
movdqa xmm3, xmmword [0x140192840]
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 [0x1401928f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140192a00]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x34]
xorps xmm2, xmm1
movd dword [rsp + 0x34], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rsp + 0x30]
add r9, rax
nop dword [rax + 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, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x14005cb20
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x30]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x14005cb70
mov r8, rbx
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140016340
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
cmp byte [0x1401cd896], 0
je 0x14005cd33
mov byte [rsp + 0x20], 0
mov r9, rdi
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x70]
call fcn.140054ae0
lea r8, [rsp + 0x20]
mov rdx, rax
call fcn.14004ce90
test al, al
je 0x14005cd09
cmp byte [rsp + 0x20], 0
je 0x14005cd09
lea rcx, [rsp + 0x40]
call fcn.14000d220
nop
mov rcx, rdi
call fcn.14000d220
mov rax, qword [rbp - 8]
mov dword [rax + 0x284], 0x3f800000
mov r9, qword [rbp]
mov rcx, qword [rbp - 8]
mov r8, qword [0x1401c8928]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x14005cc4c
sub r9, rcx
sar r9, 2
mov r8, r9
mov rdx, rcx
call fcn.14007cae0
mov rcx, qword [rbp - 8]
movss xmm0, dword [rcx + 0x284]
ucomiss xmm0, xmm8
jp 0x14005cc3e
mov byte [reloc.WS2_32.dll_accept], 0
je 0x14005cc45
mov byte [reloc.WS2_32.dll_accept], 1
mov r8, qword [0x1401c8928]
cmp r8, qword [0x1401c8930]
je 0x14005cd41
movss xmm0, dword [r8 + 0x284]
ucomiss xmm0, xmm8
jp 0x14005cc6e
jne 0x14005cc6e
xor bl, bl
jmp 0x14005cc70
mov bl, 1
test rcx, rcx
je 0x14005ccc1
mov rax, qword [rbp + 8]
sub rax, rcx
sar rax, 2
lea rdx, [rax*4]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ccb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ccb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140129630
xorps xmm0, xmm0
movdqu xmmword [rbp - 8], xmm0
mov qword [rbp + 8], r14
lea rcx, [rbp + 0x10]
call fcn.14000d220
movzx eax, bl
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401292a0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
movss xmm0, dword [0x1401925ac]
call fcn.140098f80
nop
movss xmm0, dword [0x1401925a0]
call fcn.140098f80
nop
movss xmm0, dword [0x1401925a0]
call fcn.140098f80
nop
movss xmm0, dword [0x1401925a0]
call fcn.140098f80
nop
movss xmm0, dword [0x140192600]
call fcn.140098f80
int3