Function at 0x40c090
Capabilities:
Create process on windows
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44f1bd
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x34], esi
mov edi, ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x104], 0x456580
mov dword [ebp - 0xf4], 0x456588
mov dword [ebp - 0xa4], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
lea ecx, [ebp - 0xec]
push ecx
lea edx, [ebp - 0x104]
mov dword [ebp - 4], esi
mov ebx, 1
push edx
mov dword [ebp - 0x34], ebx
call fcn.00403390
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x104]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0xec]
push edx
mov dword [ebp + ecx - method.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_stringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
call fcn.004035a0
mov dword [ebp - 0xec], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xac], esi
mov dword [ebp - 4], 3
mov dword [ebp - 0x3c], esi
push 0x44
lea eax, [ebp - 0x14c]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.00443550
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov eax, dword [0x46adb8]
add eax, 0xcd0
mov ebx, 8
add esp, 0xc
mov dword [ebp - 0x14c], 0x44
cmp dword [eax + 0x14], ebx
jb 0x40c18e
mov eax, dword [eax]
push 0x4566d8
push ecx
push eax
push ecx
lea ecx, [ebp - 0xf4]
push 0x457f30
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
lea edx, [ebp - 0xf4]
push str.x64Drv64.exe_
push edx
call fcn.00404630
mov eax, dword [0x4699e0]
add esp, 0x10
cmp dword [0x4699f4], ebx
jae 0x40c1df
mov eax, 0x4699e0
push 0x457f30
push ecx
push eax
push ecx
lea eax, [ebp - 0xf4]
push str.__log__
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 8
push 0x457f30
push ecx
push edi
push ecx
lea ecx, [ebp - 0xf4]
push str.__rdev__
push ecx
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 0xc
push eax
call fcn.00404630
add esp, 8
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x104]
call fcn.004027b0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], ebx
jb 0x40c254
mov eax, dword [eax]
push eax
push str.Execute_command:__s
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
jb 0x40c27e
mov edx, dword [ebp - 0x30]
push edx
call fcn.00438b4b
add esp, 4
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x104]
call fcn.004027b0
cmp dword [eax + 0x14], ebx
jb 0x40c293
mov eax, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x14c]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x1c], ebx
jb 0x40c2bd
mov eax, dword [ebp - 0x30]
push eax
call fcn.00438b4b
add esp, 4
mov ecx, dword [ebp - 0x4c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x48]
push eax
call edi
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x40c2e9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x3c]
push ecx
push 0xf003f
push esi
push str.SoftwareIntelDifx64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x54], eax
cmp eax, esi
jne 0x40c37a
mov ecx, dword [ebp - 0x3c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push str.Code
mov ebx, 4
push ecx
mov dword [ebp - 0x34], ebx
call edi
mov ecx, dword [ebp - 0x3c]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x50]
push eax
push esi
push esi
push str.Reboot
push ecx
mov dword [ebp - 0x34], ebx
call edi
mov eax, dword [ebp - 0x58]
xor edx, edx
cmp dword [ebp - 0x50], 1
sete dl
mov dword [eax], edx
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x40c367
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareIntelDifx64
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x3c], esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp - 0x3c]
cmp eax, esi
je 0x40c388
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 4], 0xffffffff
call fcn.00401bf0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004377c1
mov esp, ebp
pop ebp
ret 4