Function at 0x1400341a0
Capabilities:
Check internet connectivity via wininet
Encode data using xor
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x14010b718]
xor rax, rsp
mov qword [rbp + 0xe8], rax
mov rsi, rdx
movzx r15d, cl
mov qword [rbp + 0x90], rdx
xor r12d, r12d
mov dword [rbp + 0x98], r12d
mov edi, r12d
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r14d, 1
mov r9d, r14d
xor r8d, r8d
lea rdx, [0x1400f2530]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003433d
mov dword [rbp + 0x9c], r12d
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0xa0]
xor r8d, r8d
lea rdx, [0x1400f23c0]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034333
cmp dword [rbp + 0xa0], 4
jne 0x140034333
lea rax, [rbp + 0x9c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xa0]
xor r8d, r8d
lea rdx, [0x1400f23c0]
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034333
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15b, r15b
jne 0x140034386
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x1400f26e0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, [0x1400f2410]
test eax, eax
jne 0x1400346cd
inc dword [rbp + 0x98]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140034386
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140034386
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r15b, r15b
je 0x1400342c1
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x1400f2460]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140034386
xor r8d, r8d
lea rdx, [0x1400f24c0]
lea rcx, [0x1400f2460]
call fcn.140012420
cmp byte [0x14010d540], dil
je 0x140034c95
movups xmm0, xmmword [str.PMNK]
movups xmmword [rbp + 0xc8], xmm0
mov eax, dword [0x1400f5470]
mov dword [rbp + 0xd8], eax
movzx eax, word [0x1400f5474]
mov word [rbp + 0xdc], ax
cmp byte [0x1400f5475], dil
je 0x14003456e
mov ecx, r12d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003452c
movdqa xmm5, xmmword [0x1400f9240]
movdqa xmm4, xmmword [0x1400f9460]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400f9300]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1400f93d0]
movdqa xmmword [rbp + 0x70], xmm0
lea rdx, [rbp + 0xcc]
mov r8d, dword [rbp + 0x70]
nop dword [rax + rax]
movd xmm2, ecx
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
pand xmm2, xmmword [0x1400f9390]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
pxor xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
pand xmm2, xmmword [0x1400f9390]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
pxor xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140034420
cmp ecx, 0x16
jge 0x14003456e
movsxd rax, ecx
lea r8, [rbp + 0xc8]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x38
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x140034540
xor r8d, r8d
mov edx, r14d
lea rcx, [rbp + 0xc8]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x140034c95
lea r8, [0x14010d370]
lea rdx, [rbp - 0x10]
lea rcx, [0x14010d430]
call fcn.1400286b0
xorps xmm0, xmm0
movups xmmword [rbp + 0xa8], xmm0
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0xc0], r12
movups xmm0, xmmword [rax + 8]
movups xmmword [rbp + 0xa8], xmm0
movups xmm1, xmmword [rax + 0x18]
movups xmmword [rbp + 0xb8], xmm1
mov qword [rax + 0x18], r12
mov qword [rax + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rax + 8], 0
lea rcx, [rbp - 0x10]
call fcn.140031510
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rcx, qword [rbp + 0xa8]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov edi, eax
lea rdx, [0x14010d3b0]
cmp qword [0x14010d3c8], 0x10
cmovae rdx, qword [0x14010d3b0]
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rcx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
cmp r8, qword [0x14010d3c0]
jne 0x140034826
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140034826
mov edi, r12d
mov dword [rbp + 0x98], r12d
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 2
xor r8d, r8d
lea rdx, [0x1400f2610]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
test eax, eax
jne 0x1400346f1
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140034713
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140034713
mov r8d, dword [rbp + 0x98]
lea rcx, [0x1400f26e0]
test r8d, r8d
jne 0x140034381
mov r8d, r14d
call fcn.140012420
jmp 0x140034386
mov r8d, dword [rbp + 0x98]
lea rcx, [0x1400f2610]
test r8d, r8d
jne 0x14003470e
mov r8d, r14d
call fcn.140012420
jmp 0x140034713
call fcn.140012420
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140023720
nop
mov r9, rax
lea r8, [0x14010d370]
lea rdx, [rsp + 0x50]
lea rcx, [0x14010d430]
call fcn.140026b70
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140034772
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003476d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400347c0
call fcn.1400bdb14
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.140035a80
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400347cc
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400347c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400347c7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140034c51
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034c4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov eax, dword [rbp + 0x98]
cmp eax, edi
jge 0x14003483a
inc edi
mov dword [rbp + 0x98], edi
jmp 0x140034850
jne 0x14003484b
test r15b, r15b
jne 0x14003484b
inc edi
mov dword [rbp + 0x98], edi
jmp 0x140034850
cmp eax, edi
cmovg edi, eax
lea rax, [rbp + 0x70]
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]
lea rdx, [0x1400f25b0]
test eax, eax
jne 0x1400348b8
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400348da
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400348da
mov r8d, dword [rbp + 0x98]
lea rcx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
test r8d, r8d
jne 0x1400348d5
mov r8d, r14d
call fcn.140012420
jmp 0x1400348da
call fcn.140012420
mov rbx, qword [rbp + 0xb8]
cmp rbx, 1
cmovb r14, rbx
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rcx, qword [rbp + 0xa8]
sub rbx, r14
lea r8, [rbx + 1]
lea rdx, [rcx + r14]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0xb8], rbx
movzx eax, word [0x1400f5b00]
mov word [rbp + 0x9c], ax
cmp byte [reloc.WS2_32.dll_gethostname], 0
je 0x14003493c
mov byte [rbp + 0x9c], reloc.WLDAP32.dll_Ordinal_32
xor byte [rbp + 0x9d], 0x39
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
lea rax, [rbp + 0x9c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140034960
lea rdx, [rbp + 0x9c]
lea rcx, [rbp + 0x70]
call fcn.14000b460
nop
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140023720
nop
lea rdx, [rbp + 0xa8]
cmp qword [rbp + 0xc0], 0x10
cmovae rdx, qword [rbp + 0xa8]
mov r8, qword [rbp + 0xb8]
mov rcx, rax
call fcn.1400363d0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x70]
lea r8, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.140014a70
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400349eb
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rbp - 0x30]
call fcn.1400363d0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x140034a6f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034a6a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034a6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
movdqa xmm0, xmmword [0x1400f9230]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140034abf
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034ab9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140034aff
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034afa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034afa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
movdqa xmm0, xmmword [0x1400f9230]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp + 0x88]
cmp rdx, 0x10
jb 0x140034b53
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034b4e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034b4e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
lea r9, [rbp + 0xc8]
lea r8, [0x14010d370]
lea rdx, [rsp + 0x50]
lea rcx, [0x14010d430]
call fcn.140026b70
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140034ba9
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034ba4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140034bf7
call fcn.1400bdb14
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.140035a80
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x140034c03
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034bfe
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034bfe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
cmp edi, 3
jge 0x140034d3a
mov rdx, qword [rbp + 0xe0]
cmp rdx, 0x10
jb 0x140034c51
inc rdx
mov rcx, qword [rbp + 0xc8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034c4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034c4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x140034c95
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140034c90
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140034c90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdb14
test r15b, r15b
je 0x140034d4f
cmp edi, 3
jge 0x140034d4f
cmp dword [rbp + 0x98], 3
jge 0x140034d4f
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x140034cea
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140034ce5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140034d33
mov rcx, r8
call fcn.1400bdb14
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rbp + 0xe8]
xor rcx, rsp
call fcn.1400bd5d0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rdx, rsi
lea rcx, [rbp - 0x50]
call fcn.1400230d0
mov rcx, rax
call fcn.140034d60
nop
mov byte [0x14010ccc2], 1
call fcn.14000a8c0
int3