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

Disassembly:
push 0xffffffffffffffff
push 0x4796a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x138]
push ebx
mov dword [esp + 0x12c], eax
mov ecx, dword [esp + 0x140]
lea eax, [esp + 8]
push eax
push 0x20019
xor ebx, ebx
push ebx
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x432c18
mov eax, dword [esp + 8]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 4], ebx
je 0x432c18
push ebp
push esi
mov esi, dword [esp + 0x14c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x48]
push edx
push eax
mov ebp, 0x104
push ecx
mov dword [esp + 0x30], ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
cmp eax, ebx
mov dword [esp + 0x30], eax
jne 0x432bf8
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x30]
call fcn.00405920
push 0x47e490
lea ecx, [esp + 0x1c]
mov byte [esp + 0x148], 1
call fcn.00405920
push 0x47e490
lea ecx, [esp + 0x24]
mov byte [esp + 0x148], 2
call fcn.00405920
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
push 0xf003f
push ebx
lea ecx, [esp + 0x40]
push ecx
push edx
mov byte [esp + 0x158], 3
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x432b87
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x24]
push edx
push ebx
push str.DisplayName
mov dword [esp + 0x24], ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
mov dword [esp + 0x34], ebx
call ebp
cmp eax, ebx
jne 0x432b87
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402c40
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.UninstallString
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], 0x104
call ebp
mov ebp, eax
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x24]
call fcn.00402c40
cmp ebp, ebx
jne 0x432b87
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x158]
call fcn.0040b5f0
mov edx, dword [esi + 0x1c]
push ebx
push ebx
push 0x1004
push edx
call edi
push ebx
push ebx
push ebx
push ebx
push 0x47e490
push eax
push 1
mov ecx, esi
call fcn.004654fc
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x1004
push eax
call edi
mov ecx, dword [esp + 0x18]
push ecx
push 1
dec eax
push eax
mov ecx, esi
call fcn.004650b6
mov edx, dword [esi + 0x1c]
push ebx
push ebx
push 0x1004
push edx
call edi
mov ecx, dword [esp + 0x20]
push ecx
push 2
dec eax
push eax
mov ecx, esi
call fcn.004650b6
mov edx, dword [esi + 0x1c]
push ebx
push ebx
push 0x1004
push edx
call edi
push ebx
push ebx
mov ebp, eax
mov eax, dword [esi + 0x1c]
push 0x1004
push eax
call edi
dec eax
push eax
push ebx
push ebx
push ebx
push ebx
push 4
push ebx
dec ebp
push ebp
mov ecx, esi
call fcn.00465548
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x144], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432bad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x144], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x144], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x432bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
inc ecx
cmp eax, ebx
mov dword [esp + 0x10], 0x104
mov dword [esp + 0x24], ecx
je 0x4329d6
pop edi
pop esi
pop ebp
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x140]
add eax, 0xfffffff0
mov dword [esp + 0x138], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop ebx
jg 0x432c50
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x128]
xor ecx, dword [esp + 0x138]
add esp, 0x138
jmp fcn.00456aa7