Function at 0x140062350
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x1401222f0]
xor rax, rsp
mov qword [rbp + 0x280], rax
xor edi, edi
cmp dword [0x140126558], 1
jl 0x140062588
lea rcx, [rbp + 0x50]
call fcn.14005f250
lea rax, [rsp + 0x30]
lea r9, [0x1400f0870]
lea r8d, [rdi + 1]
lea rcx, [0x1400f0a80]
xor edx, edx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140062574
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x80]
movups xmm0, xmmword [rbp - 0x50]
movsd xmm1, qword [rbp - 0x40]
movaps xmmword [rbp + 0x10], xmm0
movsd qword [rbp + 0x20], xmm1
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rbp - 0x80]
movsd xmm1, qword [rbp - 0x70]
lea rcx, [rsp + 0x68]
movaps xmmword [rbp - 0x30], xmm0
movsd qword [rbp - 0x20], xmm1
call qword [sym.imp.OLEAUT32.dll_VariantClear]
movups xmm0, xmmword [rsp + 0x68]
movsd xmm1, qword [rsp + 0x78]
lea rcx, [rbp - 0x68]
movaps xmmword [rbp + 0x30], xmm0
movsd qword [rbp + 0x40], xmm1
call qword [sym.imp.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x30]
movups xmm0, xmmword [rbp - 0x68]
mov rax, qword [rcx]
lea rdx, [rbp + 0x10]
lea r9, [rbp - 0x30]
movsd xmm1, qword [rbp - 0x58]
movaps xmmword [rbp - 0x10], xmm0
movsd qword [rbp], xmm1
mov qword [rsp + 0x20], rdx
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x10]
call qword [rax + 0x50]
lea rcx, [rbp - 0x68]
mov ebx, eax
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea rcx, [rbp - 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
test ebx, ebx
js 0x140062569
lea ecx, [rdi + 0x18]
mov qword [rsp + 0x40], rdi
call fcn.1400a8e40
mov rsi, rax
test rax, rax
je 0x14006262f
lea rcx, [0x1400d1c90]
mov qword [rax + 8], rdi
mov dword [rax + 0x10], 1
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x140062624
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsi]
lea r8, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_getservbyport]
mov rcx, rsi
mov ebx, eax
call fcn.140009910
test ebx, ebx
js 0x140062569
cmp qword [rbp + 0x68], 8
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
cmovae rdx, qword [rbp + 0x50]
call fcn.140003fe0
mov rdx, qword [rax]
test rdx, rdx
je 0x140062512
mov rdx, qword [rdx]
jmp 0x140062515
mov rdx, rdi
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
test rcx, rcx
je 0x140062536
call fcn.140009910
test ebx, ebx
jne 0x140062545
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp qword [rbp + 0x68], 8
jb 0x1400625f7
mov rcx, qword [rbp + 0x50]
call fcn.1400a7cb8
jmp 0x1400625f7
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp qword [rbp + 0x68], 8
jb 0x140062584
mov rcx, qword [rbp + 0x50]
call fcn.1400a7cb8
xor al, al
jmp 0x1400625fc
lea rax, [rsp + 0x48]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov r9d, 1
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400625f7
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x70]
lea rdx, [0x1400d25b0]
xor r8d, r8d
mov dword [rsp + 0x38], 0x208
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x48]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete al
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400ab140
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
mov ecx, 0x8007000e
call fcn.1400a6a90
int3
mov ecx, 0x8007000e
call fcn.1400a6a90
int3