Function at 0x410690
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4669ac
mov eax, dword fs:[0]
push eax
sub esp, 0x6d8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x6d0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x6e8]
mov dword fs:[0], eax
push edx
mov edx, ecx
xor ebx, ebx
lea ecx, [esp + 0x80]
call fcn.00405700
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x6f0], ebx
cmp dword [esp + 0x90], 8
lea eax, [esp + 0x7c]
push ecx
cmovae eax, dword [esp + 0x80]
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4109f5
push 0x206
push eax
mov word [esp + 0xcc], ax
lea eax, [esp + 0xce]
push eax
call fcn.0043a7a0
add esp, 0xc
mov dword [esp + 0x24], 0x104
lea eax, [esp + 0x40]
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0xec]
push eax
push dword [esp + 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
add eax, 0xa
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00438f0e
xor esi, esi
add esp, 4
mov edi, eax
cmp dword [esp + 0x10], esi
jbe 0x4109eb
jmp 0x4107c0
mov eax, dword [esp + 0x1c]
add eax, 2
mov dword [esp + 0x20], eax
lea eax, [esp + 0x40]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
push edi
push esi
push dword [esp + 0x34]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4109e0
cmp dword [esp + 0x20], eax
jbe 0x4109e0
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
cmp word [edi], ax
je 0x410823
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410814
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [esp + 0x6c]
call fcn.00403dd0
mov byte [esp + 0x6f0], 1
lea ecx, [esp + 0x4c]
push 1
xor eax, eax
mov dword [esp + 0x64], 7
push 0x472938
mov dword [esp + 0x64], 0
mov word [esp + 0x54], ax
call fcn.00403dd0
lea eax, [esp + 0x4c]
mov byte [esp + 0x6f0], 2
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0xb0]
call fcn.00411ce0
add esp, 4
lea ecx, [esp + 0x64]
mov byte [esp + 0x6f0], 3
push ecx
mov edx, eax
lea ecx, [esp + 0x98]
call fcn.00404cf0
add esp, 4
cmp dword [esp + 0xc0], 8
jb 0x4108b7
push dword [esp + 0xac]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [esp + 0xc0], 7
cmp dword [esp + 0x60], 8
mov dword [esp + 0xbc], 0
mov word [esp + 0xac], ax
jb 0x4108ea
push dword [esp + 0x4c]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [esp + 0x60], 7
mov byte [esp + 0x6f0], al
cmp dword [esp + 0x78], 8
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], ax
jb 0x41091b
push dword [esp + 0x64]
call fcn.0043986c
add esp, 4
cmp dword [esp + 0xa8], 8
lea ecx, [esp + 0x14]
push ecx
push 0x20019
lea eax, [esp + 0x9c]
cmovae eax, dword [esp + 0x9c]
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4109c7
push 0x208
push eax
lea eax, [esp + 0x2d4]
mov dword [esp + 0x30], 0x208
push eax
mov dword [esp + 0x38], 0x208
call fcn.0043a7a0
add esp, 0xc
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x2d0]
push eax
push 0
push 0
push str.UninstallerPath
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4109bd
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x4d8]
push eax
push 0
push 0
push str.UninstallerArgs
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4109bd
inc ebx
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xa8], 8
jb 0x4109e0
push dword [esp + 0x94]
call fcn.0043986c
add esp, 4
inc esi
cmp esi, dword [esp + 0x10]
jb 0x4107c0
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x90], 8
jb 0x410a0b
push dword [esp + 0x7c]
call fcn.0043986c
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x6e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6d0]
xor ecx, esp
call fcn.00438f17
mov esp, ebp
pop ebp
ret