Function at 0x410a90
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x466a22
mov eax, dword fs:[0]
push eax
sub esp, 0x708
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
push edx
mov edx, ecx
mov dword [ebp - 0x6e4], ebx
lea ecx, [ebp - 0x674]
call fcn.00405700
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x6e4]
mov edx, dword [ebx + 4]
push ecx
mov ecx, dword [ebx]
call fcn.00411f60
mov eax, dword [ebx]
lea ecx, [ebp - 0x6dc]
add esp, 8
mov dword [ebx + 4], eax
cmp dword [ebp - 0x660], 8
lea eax, [ebp - 0x674]
cmovae eax, dword [ebp - 0x674]
push ecx
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410e9e
push 0x206
push eax
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push eax
call fcn.0043a7a0
add esp, 0xc
mov dword [ebp - 0x6f0], 0x104
lea eax, [ebp - 0x708]
mov dword [ebp - 0x6e0], 0
push eax
lea eax, [ebp - 0x700]
push eax
lea eax, [ebp - 0x710]
push eax
lea eax, [ebp - 0x6fc]
push eax
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x714]
push eax
lea eax, [ebp - 0x6e8]
push eax
lea eax, [ebp - 0x6e0]
push eax
push 0
lea eax, [ebp - 0x6f0]
push eax
lea eax, [ebp - 0x424]
push eax
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 0x6e8]
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 [ebp - 0x6e0], esi
jbe 0x410e92
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ebx, [ebx]
mov eax, dword [ebp - 0x6e8]
add eax, 2
mov dword [ebp - 0x6ec], eax
lea eax, [ebp - 0x708]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x6ec]
push eax
push edi
push esi
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x410e85
cmp dword [ebp - 0x6ec], eax
jbe 0x410e85
mov dword [ebp - 0x648], 7
mov dword [ebp - 0x64c], eax
mov word [ebp - 0x65c], ax
cmp word [edi], ax
je 0x410c65
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410c56
sub eax, edx
sar eax, 1
push eax
push edi
lea ecx, [ebp - 0x65c]
call fcn.00403dd0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x644]
push 1
xor eax, eax
mov dword [ebp - 0x630], 7
push 0x472938
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], ax
call fcn.00403dd0
lea eax, [ebp - 0x644]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x674]
lea ecx, [ebp - 0x68c]
call fcn.00411ce0
add esp, 4
lea ecx, [ebp - 0x65c]
mov byte [ebp - 4], 3
push ecx
mov edx, eax
lea ecx, [ebp - 0x6a4]
call fcn.00404cf0
add esp, 4
cmp dword [ebp - 0x678], 8
jb 0x410cf6
push dword [ebp - 0x68c]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [ebp - 0x678], 7
mov dword [ebp - 0x67c], 0
mov word [ebp - 0x68c], ax
cmp dword [ebp - 0x630], 8
jb 0x410d2a
push dword [ebp - 0x644]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [ebp - 0x630], 7
mov dword [ebp - 0x634], 0
mov word [ebp - 0x644], ax
mov byte [ebp - 4], 7
cmp dword [ebp - 0x648], 8
jb 0x410d62
push dword [ebp - 0x65c]
call fcn.0043986c
add esp, 4
xor eax, eax
mov dword [ebp - 0x648], 7
cmp dword [ebp - 0x690], 8
lea ecx, [ebp - 0x6d8]
push ecx
mov word [ebp - 0x65c], ax
lea eax, [ebp - 0x6a4]
cmovae eax, dword [ebp - 0x6a4]
push 0x20019
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x64c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x410e6a
push 0x208
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x6f4], 0x208
push eax
mov dword [ebp - 0x6f8], 0x208
call fcn.0043a7a0
add esp, 0xc
lea eax, [ebp - 0x6f4]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push str.UninstallerPath
push dword [ebp - 0x6d8]
call ebx
test eax, eax
jne 0x410e5e
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x62c]
push eax
push 0
push 0
push str.UninstallerArgs
push dword [ebp - 0x6d8]
call ebx
test eax, eax
jne 0x410e5e
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x6d4]
call fcn.00405630
lea eax, [ebp - 0x6d4]
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x6e4]
push eax
call fcn.00411760
lea ecx, [ebp - 0x6d4]
call fcn.004033d0
push dword [ebp - 0x6d8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 0
cmp dword [ebp - 0x690], 8
jb 0x410e85
push dword [ebp - 0x6a4]
call fcn.0043986c
add esp, 4
inc esi
cmp esi, dword [ebp - 0x6e0]
jb 0x410bf0
push dword [ebp - 0x6dc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x660], 8
jb 0x410eb5
push dword [ebp - 0x674]
call fcn.0043986c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00438f17
mov esp, ebp
pop ebp
ret