Function at 0x4a9400
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b1e3
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [0x5c30d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x288], ebx
mov ecx, dword [ebx + 0x5a0]
mov eax, dword [ecx]
call dword [eax + 0x4c]
test eax, eax
jle 0x4a99f9
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x284]
push eax
push 0xf003f
push 0
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x274], 0
call esi
test eax, eax
jne 0x4a99f9
lea eax, [ebp - 0x280]
push eax
push 0xf003f
push 0
push 0x562d14
push dword [ebp - 0x284]
call esi
test eax, eax
jne 0x4a99f9
lea eax, [ebp - 0x274]
push eax
push 0xf003f
push 0
push str.SoftInfo
push dword [ebp - 0x280]
call esi
test eax, eax
jne 0x4a99f9
lea ecx, [ebp - 0x27c]
mov dword [ebp - 0x27c], eax
mov dword [ebp - 0x278], eax
call fcn.004b5790
mov dword [ebp - 0x27c], eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x270], 0x100
push eax
xor esi, esi
mov dword [ebp - 0x268], 4
push esi
lea eax, [ebp - 0x270]
mov dword [ebp - 0x264], esi
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x26c], 4
push eax
push esi
push dword [ebp - 0x274]
call edi
test eax, eax
jne 0x4a965a
nop word [eax + eax]
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x4a9588
xor ecx, ecx
jmp 0x4a959a
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9591
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x230]
call fcn.004a5cb0
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x290]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004a82a0
mov ecx, dword [ebp - 0x290]
mov eax, dword [ebp - 0x264]
mov byte [ebp - 4], 0
mov dword [ecx + 0x28], eax
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x4a95fb
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a5db0
lea eax, [ebp - 0x268]
mov dword [ebp - 0x264], 0
push eax
lea eax, [ebp - 0x264]
mov dword [ebp - 0x270], 0x100
push eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x268], 4
push eax
push 0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x26c], 4
push eax
lea eax, [ebp - 0x110]
inc esi
push eax
push esi
push dword [ebp - 0x274]
call edi
test eax, eax
je 0x4a9560
mov eax, dword [ebp - 0x274]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x4a966d
push eax
call esi
mov eax, dword [ebp - 0x280]
test eax, eax
je 0x4a967a
push eax
call esi
push dword [ebp - 0x284]
call esi
call fcn.0050153c
mov ecx, dword [ebx + 0x5a0]
mov dword [ebp - 0x268], eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 8]
je 0x4a99c9
nop
mov edi, dword [esi + 0x18]
lea ecx, [ebp - 0x248]
push 0x10
xor eax, eax
mov dword [ebp - 0x264], edi
push str.InstallCheckName
mov dword [ebp - 0x234], 7
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00499940
mov eax, dword [edi]
lea ecx, [ebp - 0x248]
push ecx
mov ecx, edi
mov byte [ebp - 4], 2
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x234]
mov ebx, eax
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x4a970e
inc ecx
push ecx
push dword [ebp - 0x248]
lea ecx, [ebp - 0x248]
call fcn.00499ac0
xor eax, eax
mov dword [ebp - 0x234], 7
push 0x13
push str.InstallIntervarTime
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], eax
mov word [ebp - 0x230], ax
call fcn.00499940
mov eax, dword [edi]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, edi
mov byte [ebp - 4], 3
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x21c]
mov edi, eax
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x4a978a
inc ecx
push ecx
push dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call fcn.00499ac0
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
test ebx, ebx
je 0x4a99b1
test edi, edi
je 0x4a99b1
cmp dword [edi + 0x14], 8
jb 0x4a97bf
mov edi, dword [edi]
push edi
call fcn.0051061f
push 0x104
mov edi, eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00507800
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00507800
add esp, 0x1c
mov dword [ebp - 0x270], 0xbb8
cmp dword [ebx + 0x14], 8
jb 0x4a9802
mov ebx, dword [ebx]
lea eax, [ebp - 0x114]
push eax
push ebx
call fcn.0050280b
add esp, 8
mov dword [ebp - 0x24c], 0xf
cmp byte [ebp - 0x114], 0
mov dword [ebp - 0x250], 0
mov byte [ebp - 0x260], 0
jne 0x4a983a
xor ecx, ecx
jmp 0x4a984c
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9843
sub ecx, edx
push ecx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x260]
call fcn.004a5cb0
lea ecx, [ebp - 0x114]
mov byte [ebp - 4], 4
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a9870
lea eax, [ebp - 0x270]
sub ecx, edx
push eax
lea eax, [ebp - 0x218]
push eax
push ecx
lea eax, [ebp - 0x114]
push eax
call fcn.005038eb
add esp, 0x10
mov dword [ebp - 0x21c], 0xf
cmp byte [ebp - 0x218], 0
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
jne 0x4a98bf
xor ecx, ecx
jmp 0x4a98d1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a98c8
sub ecx, edx
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004a5cb0
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x27c]
call fcn.004b1fc0
mov eax, dword [ebp - 0x21c]
cmp eax, 0x10
jb 0x4a991b
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.004a5db0
mov eax, dword [ebp - 0x26c]
cmp eax, dword [ebp - 0x27c]
je 0x4a998f
mov ecx, dword [eax + 0x28]
mov eax, dword [ebp - 0x268]
sub eax, ecx
cmp eax, edi
jge 0x4a998f
push 0x56146c
lea ecx, [ebp - 0x248]
call fcn.004a0c80
push str.InstallNeedInstall
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.004a0c80
mov ecx, dword [ebp - 0x264]
lea edx, [ebp - 0x248]
push edx
lea edx, [ebp - 0x230]
mov byte [ebp - 4], 6
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x230]
call fcn.004a0f40
lea ecx, [ebp - 0x248]
call fcn.004a0f40
mov eax, dword [ebp - 0x24c]
mov byte [ebp - 4], 0
cmp eax, 0x10
jb 0x4a99b1
inc eax
lea ecx, [ebp - 0x260]
push eax
push dword [ebp - 0x260]
call fcn.004a5db0
mov eax, dword [ebp - 0x288]
add esi, 0x1c
mov eax, dword [eax + 0x5a0]
cmp esi, dword [eax + 8]
jne 0x4a96a0
mov eax, dword [ebp - 0x27c]
lea ecx, [ebp - 0x27c]
push eax
mov dword [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x288]
push eax
call fcn.004b1760
push dword [ebp - 0x27c]
call fcn.004fd02f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bcc20
mov esp, ebp
pop ebp
ret