Function at 0x14003fe20
Capabilities:
Check internet connectivity via wininet
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14010a718]
xor rax, rsp
mov qword [rbp + 0x78], rax
movzx ebx, cl
xor edi, edi
mov dword [rbp + 0x48], edi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003ff6a
mov dword [rbp + 0x4c], edi
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x50]
xor r8d, r8d
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ff60
cmp dword [rbp + 0x50], 4
jne 0x14003ff60
lea rax, [rbp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x50]
xor r8d, r8d
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003ff60
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
jne 0x14003ffa0
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400400df
inc dword [rbp + 0x48]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003ffa0
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003ffa0
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x14003fef4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14003ffa0
xor r8d, r8d
call fcn.14000fb80
cmp byte [0x14010c7d0], dil
je 0x140040412
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, str.http:__www.google.com
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x140040412
lea r8, [0x14010c640]
lea rdx, [rbp - 0x40]
lea rcx, [0x14010c700]
call fcn.140037700
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], rdi
movups xmm0, xmmword [rax + 8]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x18]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rax + 8], 0
lea rcx, [rbp - 0x40]
call fcn.14003d6c0
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rcx, qword [rbp + 0x58]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov ebx, eax
lea rdx, [0x14010c680]
cmp qword [0x14010c698], 0x10
cmovae rdx, qword [0x14010c680]
lea rcx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rcx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x68]
cmp r8, qword [0x14010c690]
jne 0x140040268
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140040268
mov dword [rbp + 0x48], edi
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400400fc
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140040117
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140040117
mov r8d, dword [rbp + 0x48]
test r8d, r8d
jne 0x14003ff9b
mov r8d, 1
call fcn.14000fb80
jmp 0x14003ffa0
mov r8d, dword [rbp + 0x48]
test r8d, r8d
jne 0x140040112
mov r8d, 1
call fcn.14000fb80
jmp 0x140040117
call fcn.14000fb80
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14001a3a0
nop
mov r9, rax
lea r8, [0x14010c640]
lea rdx, [rsp + 0x40]
lea rcx, [0x14010c700]
call fcn.140035a20
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140040176
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040171
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400401c5
call fcn.1400bd9dc
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
call fcn.140021940
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400401d1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400401cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400401cc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd9dc
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140040223
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004021d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004021d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd9dc
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140040412
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004040d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004040d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, dword [rbp + 0x48]
cmp eax, ebx
jge 0x140040276
inc ebx
mov dword [rbp + 0x48], ebx
jmp 0x140040278
mov ebx, eax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400402dd
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400402f8
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400402f8
mov r8d, dword [rbp + 0x48]
test r8d, r8d
jne 0x1400402f3
mov r8d, 1
call fcn.14000fb80
jmp 0x1400402f8
call fcn.14000fb80
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.14001a3a0
nop
mov r9, rax
lea r8, [0x14010c640]
lea rdx, [rsp + 0x40]
lea rcx, [0x14010c700]
call fcn.140035a20
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140040357
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040352
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400403a6
call fcn.1400bd9dc
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x78], 0
lea rcx, [rsp + 0x68]
call fcn.140021940
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400403b2
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400403ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400403ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd9dc
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x140040403
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400403fe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400403fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bd9dc
cmp ebx, 3
jge 0x140040433
jmp 0x140040223
call fcn.1400bd9dc
mov rcx, qword [rbp + 0x78]
xor rcx, rsp
call fcn.1400bd610
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rsp + 0x40]
lea rcx, [0x14010c700]
call fcn.14001a9e0
lea rcx, [rsp + 0x40]
call fcn.14001da10
mov cl, 1
call fcn.14000ab30
int3