Function at 0x4122c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x506550]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 0xbc
mov eax, 0x4c0952
call fcn.0043c032
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 0x41267f
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 0x41267f
lea eax, [ebp - 0x2c]
push eax
push edi
push ebx
push str.CommmonSoft
push dword [ebp - 0x30]
call esi
test eax, eax
jne 0x41267f
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
push str.SoftInfo
push dword [ebp - 0x2c]
call esi
cmp eax, ebx
jne 0x41267f
lea ecx, [ebp - 0x48]
call fcn.00415912
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 0x4123e2
lea eax, [ebp + 0x124]
push eax
lea ecx, [ebp - 0x74]
call fcn.00401550
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00411df4
mov ecx, dword [ebp - 0x24]
push ebx
mov dword [eax], ecx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], bl
call fcn.00401740
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 0x412392
cmp dword [ebp - 0x1c], ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x41240b
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x2c], ebx
je 0x412415
push dword [ebp - 0x2c]
call esi
push dword [ebp - 0x30]
call esi
call fcn.0041c553
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.0040e350
mov eax, dword [esi + 0x360]
jmp 0x412650
lea ecx, [ebp - 0x28]
call fcn.0040ce80
mov esi, dword [eax + 0x1c]
push str.InstallCheckName
lea ecx, [ebp - 0x74]
call fcn.004015c0
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.004017c0
push str.InstallIntervarTime
lea ecx, [ebp - 0x90]
call fcn.004015c0
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.004017c0
cmp dword [ebp - 0x14], ebx
je 0x41263f
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x41263f
cmp dword [eax + 0x18], 8
jb 0x4124d2
mov eax, dword [eax + 4]
jmp 0x4124d5
add eax, 4
push eax
call fcn.0043c4cc
mov dword [ebp - 0x10], eax
mov dword [esp], 0x103
lea eax, [ebp + 0x121]
push ebx
push eax
mov byte [ebp + 0x120], bl
call fcn.0043b4c0
push 0x103
lea eax, [ebp + 0x1d]
push ebx
push eax
mov byte [ebp + 0x1c], bl
call fcn.0043b4c0
mov eax, dword [ebp - 0x14]
add esp, 0x18
mov dword [ebp - 0x18], 0xbb8
cmp dword [eax + 0x18], 8
jb 0x412522
mov eax, dword [eax + 4]
jmp 0x412525
add eax, 4
lea ecx, [ebp + 0x120]
push ecx
push eax
call fcn.0041af40
pop ecx
pop ecx
lea eax, [ebp + 0x120]
push eax
lea ecx, [ebp]
call fcn.00401550
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.0043b9a0
pop ecx
push eax
lea eax, [ebp + 0x120]
push eax
call fcn.0041ae5d
add esp, 0x10
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00401550
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0040e72d
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.00401740
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x58]
call fcn.00415898
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.0040dde7
test al, al
jne 0x412631
lea ecx, [ebp - 0x50]
call fcn.0040dca9
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 0x20]
sub ecx, eax
cmp ecx, dword [ebp - 0x10]
jge 0x412631
push 0x4c742c
lea ecx, [ebp - 0xac]
call fcn.004015c0
push str.InstallNeedInstall
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 6
call fcn.004015c0
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.004017c0
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.004017c0
push ebx
push 1
lea ecx, [ebp]
mov byte [ebp - 4], bl
call fcn.00401740
lea ecx, [ebp - 0x28]
call fcn.0040dc85
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.0040e350
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040dde7
test al, al
je 0x412445
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00410e71
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.0043b4a5
add ebp, 0x228
leave
ret