Function at 0x408940
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x40c0c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov ebp, ecx
xor esi, esi
lea ecx, [ebp + 0x1bc]
mov dword [esp + 0x48], esi
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [ebp + 0x1d8]
mov dword [esp + 0x34], ecx
call sub.MFC42.DLL_CObList::RemoveAll
lea ecx, [esp + 0x18]
call fcn.0040a5e4
lea eax, [esp + 0x2c]
mov byte [esp + 0x48], 1
push eax
push 0xf003f
push esi
push str.SOFTWAREEast_GoldBird_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
je 0x4089c9
push 0x77
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x18]
push esi
push esi
push ecx
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp 0x408bc2
push 0x4103f0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x48], 2
mov bl, 7
push 0x4103f0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
push 0x50
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 3
mov dword [esp + 0x34], 0x50
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esp + 0x2c]
push 0
push 0
push 0
lea edx, [esp + 0x3c]
mov esi, eax
mov eax, dword [esp + 0x34]
push 0
push edx
push esi
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x408ed1
push esi
lea edx, [esp + 0x14]
push 0x41003c
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x24]
push str.Execute
call sub.MFC42.DLL_CString::CString_2
push 0x4103f0
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 4
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x14]
lea edx, [esp + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_1
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
mov byte [esp + 0x58], 6
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], 5
call fcn.00408f40
test eax, eax
je 0x408b6c
push 0xff
call sub.MFC42.DLL_operatornew
mov esi, eax
mov ecx, 0x3f
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
add esp, 4
stosb byte es:[edi], al
mov ecx, dword [esp + 0x14]
push 0xff
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameA]
lea ecx, [esp + 0x20]
call fcn.0040a5e4
push esi
lea edx, [esp + 0x24]
push 0x41003c
push edx
mov byte [esp + 0x54], bl
call sub.MFC42.DLL_CString::Format
push esi
call sub.MFC42.DLL_operatordelete
add esp, 0x10
lea eax, [esp + 0x20]
lea ecx, [esp + 0x14]
push eax
call fcn.0040a632
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x408be8
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x20]
inc eax
mov byte [esp + 0x48], 5
mov dword [esp + 0x28], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4089e2
push 0x80
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [esp + 0x18]
push 0
push 0
push eax
mov ecx, ebp
call sub.MFC42.DLL_CWnd::MessageBoxA
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x408f1c
push 0x30
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x3c], esi
test esi, esi
mov byte [esp + 0x48], 8
je 0x408c91
lea ecx, [esi + 4]
call fcn.0040a5e4
lea ecx, [esi + 8]
mov byte [esp + 0x48], 9
call fcn.0040a5e4
lea ecx, [esi + 0xc]
mov byte [esp + 0x48], 0xa
call fcn.0040a5e4
lea ecx, [esi + 0x10]
mov byte [esp + 0x48], 0xb
call fcn.0040a5e4
lea ecx, [esi + 0x14]
mov byte [esp + 0x48], 0xc
call fcn.0040a5e4
lea ecx, [esi + 0x18]
mov byte [esp + 0x48], 0xd
call fcn.0040a5e4
lea ecx, [esi + 0x1c]
mov byte [esp + 0x48], 0xe
call fcn.0040a5e4
lea ecx, [esi + 0x20]
mov byte [esp + 0x48], 0xf
call fcn.0040a5e4
lea ecx, [esi + 0x24]
mov byte [esp + 0x48], 0x10
call fcn.0040a5e4
lea ecx, [esi + 0x28]
mov byte [esp + 0x48], 0x11
call fcn.0040a5e4
lea ecx, [esi + 0x2c]
mov byte [esp + 0x48], 0x12
call fcn.0040a5e4
jmp 0x408c93
xor esi, esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], bl
push ecx
lea ecx, [esi + 4]
call fcn.0040a632
lea edx, [esp + 0x14]
lea ecx, [esi + 0xc]
push edx
call fcn.0040a632
lea eax, [esi + 0x18]
mov dword [esi], 0
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.CurrentVersion
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x13
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x1c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.InstallDate
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x14
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x14]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.InstallVersion
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x15
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x20]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.LastUpgradeTime
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x16
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x54], bl
mov ecx, ebp
call fcn.00408f40
lea eax, [esi + 0x28]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Organization
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x17
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 8]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Path
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x18
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x2c]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Product
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x19
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x10]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.Serial
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x1a
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
lea eax, [esi + 0x24]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push str.UserName
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
mov byte [esp + 0x58], 0x1b
call sub.MFC42.DLL_CString::CString_1
mov ecx, ebp
mov byte [esp + 0x54], bl
call fcn.00408f40
mov ecx, dword [esp + 0x34]
push esi
call sub.MFC42.DLL_CObList::AddTail
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 4