Function at 0x4189d0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45cf5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x30]
mov ebx, 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x24]
push eax
push 0x20019
push 0
push 0x46f5b4
push 0x80000000
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 0xff
call edi
test eax, eax
je 0x418a52
mov esi, dword [esp + 0x140]
push 0x4e100c
mov ecx, esi
call fcn.0045b2ce
jmp 0x418c26
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0x4e100c
push ecx
call ebp
test eax, eax
je 0x418a9c
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x140]
push 0x4e100c
mov ecx, esi
call fcn.0045b2ce
jmp 0x418c26
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov dword [esp + 0x138], ebx
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x14]
push str._shellopencommand_
lea eax, [esp + 0x30]
push edx
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x13c], 2
call fcn.0045b232
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push 0x20019
push 0
push edx
push 0x80000000
call edi
test eax, eax
je 0x418b35
mov esi, dword [esp + 0x140]
push 0x4e100c
mov ecx, esi
call fcn.0045b2ce
mov dword [esp + 0x20], ebx
jmp 0x418c15
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x30]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push 0
push 0x4e100c
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], 0xff
call ebp
test eax, eax
je 0x418b95
mov ecx, dword [esp + 0x1c]
push ecx
call esi
mov esi, dword [esp + 0x140]
push 0x4e100c
mov ecx, esi
call fcn.0045b2ce
mov dword [esp + 0x20], ebx
jmp 0x418c15
mov edx, dword [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
call fcn.0045b2ce
push str.__1_
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 3
call sub.MFC42.DLL_CString::TrimRight_2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
push 0x46f560
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight_2
push 0x46f560
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft_1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft
mov esi, dword [esp + 0x140]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], ebx
mov byte [esp + 0x138], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x130]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret 4