Function at 0x402aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa10
mov eax, dword [0x416710]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x7fc], 0
mov dword [ebp - 0x804], 0
mov eax, dword [ebp + 8]
mov dword [0x4189b4], eax
call fcn.00401770
test eax, eax
jne 0x402b04
push 0x10
push 0x73
call fcn.00401680
add esp, 4
push eax
push 0x72
call fcn.00401680
add esp, 4
push eax
push 0
call fcn.00401700
add esp, 0x10
mov eax, 1
jmp 0x402e4e
push 0x4189a0
call section..text
add esp, 4
test eax, eax
jne 0x402b35
push 0x10
push 0x416568
push str.Failed_to_open_EXE_archive._nCorrupt_file_
push 0
call fcn.00401700
add esp, 0x10
mov eax, 1
jmp 0x402e4e
push 0x4189a0
call fcn.00401120
add esp, 4
push 0x104
lea ecx, [ebp - 0x7f8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x7f8]
push edx
push str.res:___s_wizard.html
lea eax, [ebp - 0x648]
push eax
call fcn.00406568
add esp, 0xc
push 0xff
lea ecx, [ebp - 0xa10]
push ecx
push str.service_title
push 0x4189a0
call fcn.004012b0
add esp, 0x10
push 0xff
lea edx, [ebp - 0x908]
push edx
push str.service_url
push 0x4189a0
call fcn.004012b0
add esp, 0x10
lea eax, [ebp - 0x908]
push eax
lea ecx, [ebp - 0xa10]
push ecx
push str._s__s
lea edx, [ebp - 0x420]
push edx
call fcn.00406568
add esp, 0x10
mov dword [ebp - 0x428], 0x20
lea eax, [ebp - 0x424]
push eax
push 1
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402c58
lea ecx, [ebp - 0x428]
push ecx
lea edx, [ebp - 0x670]
push edx
push 0
push 0
push str.Version
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movsx edx, byte [ebp - 0x670]
cmp edx, 0x37
jge 0x402c58
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x7fc], eax
push 7
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x804], eax
mov eax, dword [ebp - 0x804]
mov ecx, dword [ebp - 0x7fc]
lea edx, [ecx + eax*2 + 0x195]
push edx
mov eax, dword [ebp - 0x804]
lea ecx, [eax + eax + 0x244]
push ecx
push str.dialogWidth:_dpx_dialogHeight:_dpx_status:no_center:yes_edge:raised_help:no
lea edx, [ebp - 0x6f0]
push edx
call fcn.00406568
add esp, 0x10
push str.MSHTML.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x650], eax
cmp dword [ebp - 0x650], 0
jne 0x402cc8
push 0x10
push 0x416660
push str.Failed_to_load_MSHTML.DLL_library.
push 0
call fcn.00401700
add esp, 0x10
mov eax, 1
jmp 0x402e4e
push str.ShowHTMLDialogEx
mov eax, dword [ebp - 0x650]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x64c], eax
cmp dword [ebp - 0x64c], 0
je 0x402e1c
lea ecx, [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea edx, [ebp - 0x440]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, 8
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x420]
push ecx
call fcn.004019e0
add esp, 4
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x648]
push edx
call fcn.004019e0
add esp, 4
mov dword [ebp - 4], eax
lea eax, [ebp - 0x6f0]
push eax
call fcn.004019e0
add esp, 4
mov dword [ebp - 0x90c], eax
lea ecx, [ebp - 0x800]
push ecx
mov edx, dword [ebp - 4]
push edx
push 0
call sub.urlmon.dll_CreateURLMoniker
cmp dword [ebp - 0x800], 0
je 0x402dd6
lea eax, [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x90c]
push ecx
lea edx, [ebp - 0x18]
push edx
push 0x120
mov eax, dword [ebp - 0x800]
push eax
push 0
call dword [ebp - 0x64c]
movzx ecx, word [ebp - 0x440]
cmp ecx, 8
jne 0x402dd4
mov edx, dword [ebp - 0x438]
push edx
call fcn.00401a50
add esp, 4
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x908]
push ecx
lea edx, [ebp - 0xa10]
push edx
call fcn.00401c70
add esp, 0xc
mov eax, dword [ebp - 0x42c]
push eax
call fcn.00405d1c
add esp, 4
jmp 0x402dec
push 0x10
push 0x4166a4
push str.Failed_to_create_URL_moniker.
push 0
call fcn.00401700
add esp, 0x10
mov ecx, dword [ebp - 0x90c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea ecx, [ebp - 0x440]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x402e32
push 0x10
push str.Setup_Error
push str.Failed_to_get_ShowHTMLDialog_address.
push 0
call fcn.00401700
add esp, 0x10
mov edx, dword [ebp - 0x650]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x4189a0
call fcn.004010c0
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00405c1a
mov esp, ebp
pop ebp
ret 0x10