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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44fe1d
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x468744]
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], 0x45b2c8
mov dword [ebp - 0xf4], 0x456500
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.00403340
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.00403550
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.0043d3f0
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 [0x46ae98]
add eax, 0xcd0
mov ebx, 8
add esp, 0xc
mov dword [ebp - 0x14c], 0x44
cmp dword [eax + 0x14], ebx
jb 0x40c35e
mov eax, dword [eax]
push 0x456650
push ecx
push eax
push ecx
lea ecx, [ebp - 0xf4]
push 0x457ff8
push ecx
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
lea edx, [ebp - 0xf4]
push str.x64Drv64.exe_
push edx
call fcn.004045e0
mov eax, dword [0x4699d8]
add esp, 0x10
cmp dword [0x4699ec], ebx
jae 0x40c3af
mov eax, 0x4699d8
push 0x457ff8
push ecx
push eax
push ecx
lea eax, [ebp - 0xf4]
push str.__log__
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
add esp, 8
push 0x457ff8
push ecx
push edi
push ecx
lea ecx, [ebp - 0xf4]
push str.__rdev__
push ecx
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
add esp, 0xc
push eax
call fcn.004045e0
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 0x40c424
mov eax, dword [eax]
push eax
push str.Execute_command:__s
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
mov byte [ebp - 4], 4
cmp dword [ebp - 0x1c], ebx
jb 0x40c44e
mov edx, dword [ebp - 0x30]
push edx
call fcn.00439b10
add esp, 4
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x104]
call fcn.004027b0
cmp dword [eax + 0x14], ebx
jb 0x40c463
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 0x40c48d
mov eax, dword [ebp - 0x30]
push eax
call fcn.00439b10
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 0x40c4b9
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 0x40c54a
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 0x40c537
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 0x40c558
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.00438786
mov esp, ebp
pop ebp
ret 4