Function at 0x40da30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e586
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x5d7f50]
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 dword [ebp - 0x10], esp
xor ebx, ebx
mov dword [ebp - 0x224], ebx
call fcn.0044b779
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40da83
push 0x80004005
call fcn.00402bc0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
push 0x207
lea ecx, [ebp - 0x21b]
push ebx
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp - 0x21c], bl
call fcn.00543bb0
add esp, 0xc
push 0x5e
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall37B9F70D_8F66_4238_BB9B_A19B35E6FE5F_is1
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x22c], 0x208
mov dword [ebp - 0x238], ebx
call fcn.00402a20
push str.IsWow64Process
mov byte [ebp - 4], 1
push str.kernel32
mov dword [ebp - 0x228], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x40db0c
lea edx, [ebp - 0x228]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
mov esi, dword [ebp - 0x228]
mov edi, dword [ebp - 0x220]
mov ecx, dword [edi - 8]
neg esi
sbb esi, esi
mov eax, 1
sub eax, dword [edi - 4]
and esi, 0xffffff00
add esi, 0x200
or ecx, eax
jge 0x40db49
push ebx
lea ecx, [ebp - 0x220]
call fcn.00402950
mov edi, dword [ebp - 0x220]
lea eax, [ebp - 0x224]
push eax
or esi, 0x20019
push esi
push ebx
push edi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
je 0x40db7f
push 0x5c9e00
lea ecx, [ebp - 0x234]
push ecx
mov dword [ebp - 0x234], eax
call fcn.00543f24
push 0x208
lea edx, [ebp - 0x21c]
push ebx
push edx
call fcn.00543bb0
add esp, 0xc
lea eax, [ebp - 0x22c]
push eax
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x238]
push edx
push ebx
push str.UninstallString
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x40dbd7
push 0x5c9e00
lea ecx, [ebp - 0x230]
push ecx
mov dword [ebp - 0x230], eax
call fcn.00543f24
lea eax, [ebp - 0x21c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40dbe0
sub eax, edx
cmp eax, ebx
jbe 0x40dc39
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
push str._SP____VERYSILENT__norestart
call fcn.00402770
push ecx
lea edx, [ebp - 0x21c]
mov ecx, esp
mov dword [ebp - 0x23c], esp
push edx
mov byte [ebp - 4], 2
call fcn.00402770
mov eax, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040ea70
add esp, 0xc
jmp 0x40dc39
mov eax, dword [ebp - 0x224]
cmp eax, ebx
je 0x40dc4a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x64
mov dword [ebp - 0x224], ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [edi - 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0053c99c
mov esp, ebp
pop ebp
ret