Function at 0x40f8fe
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x258
lea ebp, [esp - 4]
mov eax, dword [0x433028]
xor eax, ebp
mov dword [ebp + 0x258], eax
push 0x34
mov eax, 0x418820
call fcn.0041805c
lea eax, [ebp - 0x14]
xor edi, edi
mov esi, Ordinal_5
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], esi
call dword [sym.imp.pcoshelper.dll_Ordinal_66]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call dword [0x424328]
mov byte [ebp - 4], 1
call dword [sym.imp.pcoshelper.dll_Ordinal_1258]
lea ecx, [ebp - 0x10]
cmp eax, 5
jbe 0x40fa3a
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBitBucketVolume
call dword [0x424340]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
call dword [0x424328]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, edi
jne 0x40fa26
mov ebx, 0x12b
push ebx
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
call edi
test eax, eax
jne 0x40fa1d
mov esi, str.NukeOnDelete
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0x429700
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
push Ordinal_5
call dword [sym.imp.pcoshelper.dll_Ordinal_932]
test eax, eax
je 0x40fa04
push esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_1187]
test eax, eax
je 0x40fa04
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_984]
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x40fa1a
inc dword [ebp - 0x14]
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x40f9b1
jmp 0x40fa1d
mov dword [ebp - 0x24], eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_284]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x40fa8f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerBitBucket
call dword [0x424340]
push edi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x40]
push Ordinal_5
call dword [sym.imp.pcoshelper.dll_Ordinal_932]
test eax, eax
je 0x40fa86
mov esi, str.NukeOnDelete
push esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_1187]
test eax, eax
je 0x40fa86
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_984]
mov eax, dword [ebp - 0x20]
cmp eax, edi
je 0x40fa86
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_284]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call dword [sym.imp.pcoshelper.dll_Ordinal_131]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x258]
xor ecx, ebp
call fcn.004179ba
add ebp, 0x25c
leave
ret