Function at 0x4162e0
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4025
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0xc]
movq qword [ebp - 0x30], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x4166a3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004051b0
test al, al
jne 0x416399
test ebx, ebx
jne 0x416379
xor ecx, ecx
jmp 0x41638f
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416380
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x34]
call fcn.004056b0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x24]
push str.SoftwareSysinternals_
push eax
call fcn.0040a8e0
push str.VirusTotal
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 3
push eax
call fcn.00404f30
add esp, 0x18
lea ecx, [ebp - 0x30]
push 1
push dword [eax]
push SysReAllocString
call fcn.0040f7a0
mov edx, dword [ebp - 0x38]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4163f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41640d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41642b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x416462
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 4
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push str.VirusTotalTermsAccepted
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x1c], 0
jne 0x416672
cmp byte [ebp + 0x14], 0
je 0x41647e
mov dword [ebp - 0x1c], 1
jmp 0x416504
push 0xa
push 0
push 0
push str.https:__www.virustotal.com_about_terms_of_service
push str.open
push dword [ebp - 0x20]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp byte [ebp + 0x10], 0
je 0x4165a2
push str.You_must_agree_to_the_VirusTotal_Terms_of_Service_and_Privacy_Policy_before_ncontinuing._A_browser_window_will_open_to:_n_n_____https:__www.virustotal.com_about_terms_of_service
push str._s_n_n
call fcn.00419c50
push str.Enter_y_to_agree:
call fcn.00419c50
push 1
call fcn.0048f5cc
push eax
call fcn.0048fd4b
lea eax, [ebp - 0x18]
push 5
push eax
call fcn.0048fef7
mov al, byte [ebp - 0x18]
add esp, 0x1c
cmp al, 0x79
je 0x4165c0
cmp al, 0x59
je 0x4165c0
push str.You_must_agree_to_VirusTotals_terms_of_service_to_use_VirusTotal_features.
push str._ws_n
call fcn.00419c50
add esp, 8
cmp dword [ebp - 0x1c], 0
je 0x41669f
push ebx
lea ecx, [ebp - 0x18]
call fcn.00405020
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 4
push str.SoftwareSysinternals_
push eax
call fcn.0040a8e0
push str.VirusTotal
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 5
push eax
call fcn.00404f30
add esp, 0x18
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 6
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x34], 0
test ebx, ebx
je 0x4165d2
cmp dword [ebx], 0
je 0x4165cc
push 0x4c79a8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x416605
push str.RegCreateKeyTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x416605
push 0
push dword [ebx]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push dword [ebp - 0x24]
push SysReAllocString
call eax
jmp 0x4165f3
push 0x24
push str.VirusTotal_Terms_of_Service
push str.You_must_agree_to_VirusTotals_terms_of_service_to_use_VirusTotal_features.
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x4164fa
mov dword [ebp - 0x1c], 1
jmp 0x416504
cmp dword [ebx + 4], 0
je 0x416605
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x416605
test esi, esi
je 0x416602
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x38]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41661f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x3c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x416639
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x416651
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x41669f
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 4
push 0
push str.VirusTotalTermsAccepted
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov bl, 1
test esi, esi
je 0x41667f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047df69
mov esp, ebp
pop ebp
ret 0x14
xor bl, bl
jmp 0x416674
push 0x80004005
call fcn.00406ac0
int3