Function at 0x421df0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48e349
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4b5930]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
push ebp
push esi
mov eax, dword [0x4b5930]
xor eax, esp
push eax
lea eax, [esp + 0x144]
mov dword fs:[0], eax
mov eax, dword [esp + 0x158]
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x14]
push ecx
push 0x20019
xor esi, esi
mov dword [esp + 0x154], esi
mov edx, dword [esp + 0x15c]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x4220eb
mov ecx, dword [esp + 0x14]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x10], esi
je 0x4220eb
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], esi
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
push esi
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push ecx
mov ebx, 0x104
push edx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x4220d4
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x30]
call fcn.0040aea0
push 0x49adb9
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 1
call fcn.0040aea0
push 0x49adb9
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 2
call fcn.0040aea0
lea ecx, [esp + 0x28]
push ecx
push 0xf003f
push esi
lea edx, [esp + 0x44]
mov byte [esp + 0x158], 3
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x42205c
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x2c]
push eax
push esi
push str.DisplayName
mov dword [esp + 0x24], ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push ecx
mov dword [esp + 0x3c], esi
call ebx
cmp eax, esi
jne 0x42205c
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x20]
call fcn.0040b150
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push str.UninstallString
push eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x28], 0x104
call ebx
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x24]
mov ebx, eax
call fcn.0040b150
cmp ebx, esi
jne 0x42205c
mov esi, dword [esp + 0x30]
lea ebx, [esp + 0x2c]
call fcn.0040e210
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push edx
call ebp
push 0
push 0
push 0
push 0
push 0x49adb9
push eax
push 1
mov ecx, edi
call fcn.00458b9a
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x20]
push eax
push 1
push 0
push 0
push 0x1004
push ecx
call ebp
sub eax, 1
push eax
mov ecx, edi
call fcn.004587cc
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x20]
push edx
push 2
push 0
push 0
push 0x1004
push eax
call ebp
sub eax, 1
push eax
mov ecx, edi
call fcn.004587cc
mov ecx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push ecx
call ebp
mov edx, dword [edi + 0x20]
push 0
push 0
push 0x1004
push edx
mov ebx, eax
call ebp
add ebx, 0xffffffff
push ebx
push 0
push 0
push 0
push 0
push 4
sub eax, 1
push 0
push eax
mov ecx, edi
call fcn.00458be6
xor esi, esi
mov byte [esp + 0x14c], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x422084
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14c], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x14c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4220d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x18], 1
cmp dword [esp + 0x34], esi
mov dword [esp + 0x10], 0x104
je 0x421e92
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14c], 0xffffffff
mov eax, dword [esp + 0x154]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x422124
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0046da06
add esp, 0x140
ret