Function at 0x412ec3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x509690]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0xbc
mov eax, 0x4c3253
call fcn.0043e682
mov eax, ecx
mov ecx, dword [eax + 0x360]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
jle 0x413281
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
xor ebx, ebx
mov edi, GetMenuState
push edi
push ebx
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
call esi
test eax, eax
jne 0x413281
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push str.CommmonSoft
push dword [ebp - 0x30]
call esi
test eax, eax
jne 0x413281
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.SoftInfo
push dword [ebp - 0x2c]
call esi
cmp eax, ebx
jne 0x413281
lea ecx, [ebp - 0x48]
call fcn.004178bc
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push 4
pop edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x124]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
push ebx
jmp 0x412fe4
lea eax, [ebp + 0x124]
push eax
lea ecx, [ebp - 0x74]
call fcn.00401560
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.004122ef
mov ecx, dword [ebp - 0x24]
push ebx
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401750
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0x124]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0x100
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], edi
call esi
test eax, eax
je 0x412f94
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41300d
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x2c], ebx
je 0x413017
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
call fcn.0041ea0b
mov esi, dword [ebp - 0x34]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x360]
add eax, edi
mov ecx, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e7d0
mov eax, dword [esi + 0x360]
jmp 0x413252
lea ecx, [ebp - 0x28]
call fcn.0040e125
mov esi, dword [eax + 0x1c]
push str.InstallCheckName
lea ecx, [ebp - 0x74]
call fcn.004015d0
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
mov byte [ebp - 4], 2
call dword [eax + 0x1c]
push ebx
push 1
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], bl
call fcn.004017a0
push 0x4cb4c0
lea ecx, [ebp - 0x90]
call fcn.004015d0
mov eax, dword [esi]
lea ecx, [ebp - 0x90]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call dword [eax + 0x1c]
push ebx
push 1
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], bl
call fcn.004017a0
cmp dword [ebp - 0x14], ebx
je 0x413241
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x413241
cmp dword [eax + 0x18], 8
jb 0x4130d4
mov eax, dword [eax + 4]
jmp 0x4130d7
add eax, 4
push eax
call fcn.0043eb1e
mov dword [ebp - 0x10], eax
mov dword [esp], 0x103
lea eax, [ebp + 0x121]
push ebx
push eax
mov byte [ebp + 0x120], bl
call fcn.0043db10
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.0043db10
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x18], 0xbb8
cmp dword [eax + 0x18], 8
jb 0x413124
mov eax, dword [eax + 4]
jmp 0x413127
add eax, 4
lea ecx, [ebp + 0x120]
push ecx
push eax
call fcn.0041d3c9
pop ecx
pop ecx
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp]
call fcn.00401560
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0x120]
push eax
mov byte [ebp - 4], 4
call fcn.0043dff0
pop ecx
push eax
lea eax, [ebp + 0x120]
push eax
call fcn.0041d2e6
add esp, 0x10
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00401560
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040ec42
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00401750
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
call fcn.0040e77f
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.00424dec
test al, al
jne 0x413233
lea ecx, [ebp - 0x50]
call fcn.0040e024
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
cmp ecx, dword [ebp - 0x10]
jge 0x413233
push 0x4ca73c
lea ecx, [ebp - 0xac]
call fcn.004015d0
push str.InstallNeedInstall
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.004015d0
mov eax, dword [esi]
lea ecx, [ebp - 0xac]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
mov ecx, esi
mov byte [ebp - 4], 7
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0xc8]
call fcn.004017a0
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004017a0
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00401750
lea ecx, [ebp - 0x28]
call fcn.0040e048
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x360]
add eax, edi
mov ecx, dword [eax + 8]
push eax
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0040e7d0
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.00424dec
test al, al
je 0x413047
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041142b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.0043daf5
add ebp, 0x228
leave
ret