Function at 0x413228
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, 0x4c3278
call fcn.0043e6f2
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 0x4135e6
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x30]
push eax
xor ebx, ebx
mov edi, 0xf003f
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 0x4135e6
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push str.CommmonSoft
push dword [ebp - 0x30]
call esi
test eax, eax
jne 0x4135e6
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.SoftInfo
push dword [ebp - 0x2c]
call esi
cmp eax, ebx
jne 0x4135e6
lea ecx, [ebp - 0x48]
call fcn.00417b93
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 0x413349
lea eax, [ebp + 0x124]
push eax
lea ecx, [ebp - 0x74]
call fcn.00401530
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00412603
mov ecx, dword [ebp - 0x24]
push ebx
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401720
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 0x4132f9
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x413372
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x2c], ebx
je 0x41337c
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
call fcn.0041e525
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.0040e876
mov eax, dword [esi + 0x360]
jmp 0x4135b7
lea ecx, [ebp - 0x28]
call fcn.0040e1fb
mov esi, dword [eax + 0x1c]
push str.InstallCheckName
lea ecx, [ebp - 0x74]
call fcn.004015a0
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.00401770
push 0x4cb5a8
lea ecx, [ebp - 0x90]
call fcn.004015a0
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.00401770
cmp dword [ebp - 0x14], ebx
je 0x4135a6
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x4135a6
cmp dword [eax + 0x18], 8
jb 0x413439
mov eax, dword [eax + 4]
jmp 0x41343c
add eax, 4
push eax
call fcn.0043eb8e
mov dword [ebp - 0x10], eax
mov dword [esp], 0x103
lea eax, [ebp + 0x121]
push ebx
push eax
mov byte [ebp + 0x120], bl
call fcn.0043db80
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.0043db80
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x18], 0xbb8
cmp dword [eax + 0x18], 8
jb 0x413489
mov eax, dword [eax + 4]
jmp 0x41348c
add eax, 4
lea ecx, [ebp + 0x120]
push ecx
push eax
call fcn.0041d3d1
pop ecx
pop ecx
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp]
call fcn.00401530
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.0043e060
pop ecx
push eax
lea eax, [ebp + 0x120]
push eax
call fcn.0041d2ee
add esp, 0x10
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00401530
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040ed28
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00401720
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
call fcn.00425070
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040a8bf
test al, al
jne 0x413598
lea ecx, [ebp - 0x50]
call fcn.0040e06e
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
cmp ecx, dword [ebp - 0x10]
jge 0x413598
push 0x4ca828
lea ecx, [ebp - 0xac]
call fcn.004015a0
push str.InstallNeedInstall
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.004015a0
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.00401770
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00401770
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00401720
lea ecx, [ebp - 0x28]
call fcn.0040e04a
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.0040e876
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040a8bf
test al, al
je 0x4133ac
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0041160a
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.0043db65
add ebp, 0x228
leave
ret