Function at 0x407290
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x414ef3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x244
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x6c]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x25c], ebx
jne 0x407368
push 0x2f
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x3a
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x2a
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x3f
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x22
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x3c
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x3e
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
push 0x7c
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x407368
mov esi, 1
jmp 0x40736a
xor esi, esi
lea ecx, [esp + 0x264]
mov dword [esp + 0x2c], esi
call sub.MFC42u.DLL_CString::MakeUpper
lea ecx, [esp + 0x24]
call fcn.00413970
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 1
call fcn.00413970
lea ecx, [esp + 0x30]
mov byte [esp + 0x25c], 2
call fcn.00413970
lea ecx, [esp + 0x40]
mov byte [esp + 0x25c], 3
call fcn.00413970
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 4
call fcn.00413970
mov dword [esp + 0x1c], ebx
push 0x5c
lea ecx, [esp + 0x268]
mov byte [esp + 0x260], 6
call sub.MFC42u.DLL_CString::Find
cmp eax, 0xffffffff
je 0x407ab3
lea eax, [esp + 0x264]
lea ecx, [esp + 0x38]
push eax
push 0x41b714
push ecx
call sub.MFC42u.DLL_operator_1
mov edx, dword [esp + 0x38]
push ebx
push ebx
push ebx
push ebx
push edx
lea ecx, [edi + 0x7c]
push ebx
push 1
mov byte [esp + 0x278], 7
mov dword [esp + 0x50], ecx
call sub.MFC42u.DLL_CListCtrl::InsertItem
push 0x5c
lea ecx, [esp + 0x268]
call sub.MFC42u.DLL_CString::Find
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x26c]
call sub.MFC42u.DLL_CString::Left
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x260], 8
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x10]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x264]
inc eax
push eax
push edx
call sub.MFC42u.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x260], 9
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x24]
call sub.MFC42u.DLL_CString::ReverseFind
cmp eax, 0xffffffff
je 0x407542
mov eax, dword [esp + 0x20]
push 0x5c
lea ecx, [esp + 0x24]
mov esi, dword [eax - 8]
call sub.MFC42u.DLL_CString::ReverseFind
sub esi, eax
lea ecx, [esp + 0x10]
dec esi
push esi
push ecx
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::Right
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x260], 0xa
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x40]
mov eax, dword [edx - 8]
mov esi, dword [ecx - 8]
sub eax, esi
lea edx, [esp + 0x10]
dec eax
lea ecx, [esp + 0x20]
push eax
push ebx
push edx
call sub.MFC42u.DLL_CString::Mid_1
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x260], 0xb
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
jmp 0x40755e
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
call sub.MFC42u.DLL_CString::operator
push 0x41f9bc
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CString::operator_1
mov ecx, dword [esp + 0x24]
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
push str.HKEY_CLASSES_ROOT
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x407839
mov edx, dword [esp + 0x24]
push str.HKCR
push edx
call ebp
add esp, 8
cmp eax, ebx
je 0x407839
mov eax, dword [esp + 0x24]
push str.HKEY_CURRENT_USER
push eax
call ebp
add esp, 8
cmp eax, ebx
je 0x407789
mov ecx, dword [esp + 0x24]
push str.HKCU
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x407789
mov edx, dword [esp + 0x24]
push str.HKEY_LOCAL_MACHINE
push edx
call ebp
add esp, 8
cmp eax, ebx
je 0x4076d5
mov eax, dword [esp + 0x24]
push str.HKLM
push eax
call ebp
add esp, 8
cmp eax, ebx
je 0x4076d5
mov ecx, dword [esp + 0x24]
push str.HKEY_USERS
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x40769f
mov edx, dword [esp + 0x24]
push 0x41baf4
push edx
call ebp
add esp, 8
cmp eax, ebx
je 0x40769f
mov eax, dword [esp + 0x24]
push str.HKEY_CURRENT_CONFIG
push eax
call ebp
add esp, 8
cmp eax, ebx
je 0x407669
mov ecx, dword [esp + 0x24]
push str.HKCC
push ecx
call ebp
add esp, 8
cmp eax, ebx
je 0x407669
mov ecx, dword [esp + 0x34]
push 0x41be48
push 1
push ebx
call sub.MFC42u.DLL_CListCtrl::SetItemText
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 6
call sub.MFC42u.DLL_CString::CString
jmp 0x4080da
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push 0xf003f
push ebx
push eax
push 0x80000005
call esi
cmp eax, ebx
jne 0x40791b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
jmp 0x40791b
mov eax, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push 0xf003f
push ebx
push eax
push 0x80000003
call esi
cmp eax, ebx
jne 0x40791b
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
jmp 0x40791b
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push str.MACHINE_
push eax
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0x11
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
push 1
push ecx
mov ecx, edi
call fcn.0040d430
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00413b2c
push ecx
mov byte [esp + 0x264], 0x12
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKEY_LOCAL_MACHINE
call sub.MFC42u.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x264], 7
call fcn.0040e7b0
mov ecx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
push eax
push 0xf003f
push ebx
push ecx
push 0x80000002
call esi
cmp eax, ebx
jne 0x40791b
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
jmp 0x40791b
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push str.CURRENT_USER_
push ecx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0xf
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x3c]
push 1
push edx
mov ecx, edi
call fcn.0040d430
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00413b2c
push ecx
mov byte [esp + 0x264], 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKEY_CURRENT_USER
call sub.MFC42u.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x264], 7
call fcn.0040e7b0
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push 0xf003f
push ebx
push edx
push 0x80000001
call esi
cmp eax, ebx
jne 0x40791b
mov eax, dword [esp + 0x18]
jmp 0x407917
lea ecx, [esp + 0x20]
lea edx, [esp + 0x10]
push ecx
push str.SOFTWAREClasses_
push edx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x260], 0xc
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push str.MACHINE_
push ecx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x260], 0xd
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 7
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x3c]
push 1
push edx
mov ecx, edi
call fcn.0040d430
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00413b2c
push ecx
mov byte [esp + 0x264], 0xe
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKEY_LOCAL_MACHINE
call sub.MFC42u.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x264], 7
call fcn.0040e7b0
mov edx, dword [esp + 0x30]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push ecx
push 0xf003f
push ebx
push edx
push 0x80000000
call esi
cmp eax, ebx
jne 0x40791b
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x2c], ebx
je 0x40793c
push ecx
lea edx, [esp + 0x268]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.00406050
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebx
push eax
push edx
mov byte [esp + 0x270], 0x13
mov dword [esp + 0x2c], ebx
call esi
mov esi, eax
cmp esi, ebx
jne 0x407984
lea ecx, [esp + 0x14]
call fcn.00404200
mov esi, eax
mov eax, dword [esp + 0x18]
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x40799a
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 7
call fcn.00404200
jmp 0x407a37
lea ecx, [esp + 0x44]
lea edx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push edx
push ecx
mov ebp, 0x100
push ebx
push eax
mov dword [esp + 0x48], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4079fb
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
call fcn.00404220
mov esi, eax
cmp esi, ebx
jne 0x407a20
lea eax, [esp + 0x44]
lea ecx, [esp + 0x28]
push eax
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x64]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x48], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4079c1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x407a0e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 7
call fcn.00404200
mov ebp, dword [sym.imp.MSVCRT.dll_wcscmp]
cmp esi, ebx
jne 0x407a7e
cmp dword [edi + 0x70], ebx
jne 0x407a77
mov eax, dword [esp + 0x24]
push str.HKEY_LOCAL_MACHINE
push eax
call ebp
add esp, 8
cmp eax, ebx
je 0x407a66
mov ecx, dword [esp + 0x24]
push str.HKLM
push ecx
call ebp
add esp, 8
cmp eax, ebx
jne 0x407a77
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x30]
push edx
push eax
mov ecx, edi
call fcn.0040eb00
push 0x41b91c
jmp 0x407a83
push 0x41b924
mov ecx, dword [esp + 0x38]
push 1
push ebx
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x407aa2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x25c], 6
lea ecx, [esp + 0x38]
jmp 0x4080c6
mov ecx, dword [esp + 0x264]
cmp dword [ecx - 8], 0x26
jne 0x407db5
lea ecx, [esp + 0x28]
call fcn.00413970
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0x14
call fcn.00413970
lea edx, [esp + 0x264]
lea eax, [esp + 0x10]
push edx
push str.HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects_
push eax
mov byte [esp + 0x268], 0x15
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 0x16
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x15
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x264]
lea edx, [esp + 0x10]
push ecx
push 0x41bd24
push edx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x260], 0x17
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x15
call sub.MFC42u.DLL_CString::CString
mov eax, dword [esp + 0x2c]
push ebx
push ebx
push ebx
push ebx
lea ebp, [edi + 0x7c]
push eax
push ebx
push 1
mov ecx, ebp
mov dword [esp + 0x50], ebp
call sub.MFC42u.DLL_CListCtrl::InsertItem
lea ecx, [esp + 0x10]
push 0xb
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::Mid
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x264], 0x18
call fcn.0040d430
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x15
call sub.MFC42u.DLL_CString::CString
push ecx
lea ecx, [esp + 0x2c]
mov edx, esp
mov dword [esp + 0x48], esp
push 0x13
push edx
call sub.MFC42u.DLL_CString::Mid
push ecx
mov byte [esp + 0x264], 0x19
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKEY_LOCAL_MACHINE
call sub.MFC42u.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x264], 0x15
call fcn.0040e7b0
cmp esi, ebx
je 0x407c00
push ecx
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.00413b2c
mov ecx, edi
call fcn.00406050
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push 0x80000002
mov dword [esp + 0x2c], ebx
call esi
cmp eax, ebx
jne 0x407c2d
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x264]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push 0x2001f
push ebx
push eax
push edx
mov byte [esp + 0x270], 0x1a
mov dword [esp + 0x2c], ebx
call esi
mov esi, eax
cmp esi, ebx
jne 0x407c78
lea ecx, [esp + 0x14]
call fcn.00404200
mov esi, eax
mov eax, dword [esp + 0x18]
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x407c8e
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x15
call fcn.00404200
jmp 0x407d33
lea ecx, [esp + 0x44]
lea edx, [esp + 0x38]
push ecx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x64]
push edx
push ecx
mov ebp, 0x100
push ebx
push eax
mov dword [esp + 0x58], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x407cf3
lea edx, [esp + 0x54]
lea ecx, [esp + 0x14]
push edx
call fcn.00404220
mov esi, eax
cmp esi, ebx
jne 0x407d57
lea eax, [esp + 0x44]
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea edx, [esp + 0x64]
push ecx
push edx
push ebx
push eax
mov dword [esp + 0x58], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x407cb5
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x407d06
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x25c], 0x15
je 0x407d2f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x34]
cmp esi, ebx
jne 0x407d6a
cmp dword [edi + 0x70], ebx
jne 0x407d50
mov eax, dword [esp + 0x264]
mov ecx, edi
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
call fcn.0040eb00
push 0x41b91c
jmp 0x407d6f
lea ecx, [esp + 0x14]
mov byte [esp + 0x25c], 0x15
call fcn.00404200
jmp 0x407d2f
push 0x41b924
push 1
push ebx
mov ecx, ebp
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x407d8e
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x25c], 0x14
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x25c], 6
call sub.MFC42u.DLL_CString::CString
jmp 0x4080cf
lea ecx, [esp + 0x28]
call fcn.00413970
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 0x1b
call fcn.00413970
lea ecx, [esp + 0x264]
lea edx, [esp + 0x10]
push ecx
push str.HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices_
push edx
mov byte [esp + 0x268], 0x1c
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x260], 0x1d
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x1c
call sub.MFC42u.DLL_CString::CString
lea eax, [esp + 0x264]
lea ecx, [esp + 0x10]
push eax
push 0x41bc14
push ecx
call sub.MFC42u.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x260], 0x1e
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x1c
call sub.MFC42u.DLL_CString::CString
mov edx, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea ebp, [edi + 0x7c]
push edx
push ebx
push 1
mov ecx, ebp
mov dword [esp + 0x50], ebp
call sub.MFC42u.DLL_CListCtrl::InsertItem
lea eax, [esp + 0x10]
push 0xb
push eax
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CString::Mid
mov eax, dword [eax]
push 1
push eax
mov ecx, edi
mov byte [esp + 0x264], 0x1f
call fcn.0040d430
lea ecx, [esp + 0x10]
mov byte [esp + 0x25c], 0x1c
call sub.MFC42u.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x13
push ecx
lea ecx, [esp + 0x34]
call sub.MFC42u.DLL_CString::Mid
push ecx
mov byte [esp + 0x264], 0x20
mov ecx, esp
mov dword [esp + 0x18], esp
push str.HKEY_LOCAL_MACHINE
call sub.MFC42u.DLL_CString::CString_1
mov ecx, edi
mov byte [esp + 0x264], 0x1c
call fcn.0040e7b0
cmp esi, ebx
je 0x407ef1
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x48], esp
push edx
call fcn.00413b2c
mov ecx, edi
call fcn.00406050
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x2c]
push eax
push 0xf003f
push ebx
push str.SYSTEMCurrentControlSetServices
push 0x80000002
mov dword [esp + 0x40], ebx
call esi
cmp eax, ebx
jne 0x407f1e
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x264]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x44], eax
lea edx, [esp + 0x10]
mov byte [esp + 0x25c], 0x21
push edx
push 0x2001f
push ebx
push eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x20], ebx
push eax
call esi
mov esi, eax
cmp esi, ebx
jne 0x407f73
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ecx, ebx
je 0x407f63
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
cmp eax, ebx
mov esi, eax
mov dword [esp + 0x14], ecx
je 0x407f97
jmp 0x407f77
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov byte [esp + 0x25c], 0x1c
je 0x408040
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
jmp 0x408040
lea edx, [esp + 0x4c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edx
push ebx
push ebx
lea eax, [esp + 0x38]
push ebx
lea edx, [esp + 0x64]
push eax
push edx
mov ebp, 0x100
push ebx
push ecx
mov dword [esp + 0x4c], ebp
call esi
test eax, eax
jne 0x407ffc
lea eax, [esp + 0x54]
lea ecx, [esp + 0x14]
push eax
call fcn.00404220
cmp eax, ebx
mov dword [esp + 0x38], eax
jne 0x408064
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push ebx
push ebx
push ebx
lea eax, [esp + 0x64]
push edx
push eax
push ebx
push ecx
mov dword [esp + 0x4c], ebp
call esi
test eax, eax
je 0x407fc0
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40800f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x25c], 0x1c
je 0x40803c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x34]
cmp esi, ebx
jne 0x408087
cmp dword [edi + 0x70], ebx
jne 0x40805d
mov ecx, dword [esp + 0x264]
push ecx
push str.SYSTEMCurrentControlSetServices
mov ecx, edi
call fcn.0040eb00
push 0x41b91c
jmp 0x40808c
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x25c], 0x1c
cmp ecx, ebx
je 0x408083
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], ebx
mov esi, eax
jmp 0x40803c
push 0x41b924
push 1
push ebx
mov ecx, ebp
call sub.MFC42u.DLL_CListCtrl::SetItemText
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4080a9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x25c], 0x1b
call sub.MFC42u.DLL_CString::CString
mov byte [esp + 0x25c], 6
lea ecx, [esp + 0x28]
call sub.MFC42u.DLL_CString::CString
mov esi, dword [esp + 0x1c]
cmp esi, ebx
je 0x4080da
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x25c], 4
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x25c], 3
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x25c], 2
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x25c], 1
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x25c], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x264]
mov dword [esp + 0x25c], 0xffffffff
call sub.MFC42u.DLL_CString::CString
mov ecx, dword [esp + 0x254]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x250
ret 4