Function at 0x494940
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6fc
mov eax, dword [0x4c32cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x6e8], edi
cmp dword [0x4cc350], edi
jle 0x494e31
call fcn.00401060
push eax
push str.IE_Helpers:__d
mov dword [0x4cd38c], eax
lea eax, [ebp - 0x3d8]
push 0x100
push eax
call fcn.00402830
push str.VerifyIEHelpers
lea esi, [ebp - 0x3d8]
call fcn.0047fb10
xor ebx, ebx
add esp, 0x14
mov dword [ebp - 0x6e4], ebx
cmp dword [0x4cd38c], ebx
jle 0x494e31
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x44]
sub eax, ecx
mov dword [ebp - 0x6f8], eax
lea esi, [ebp - 0x1d0]
mov edi, ebx
call fcn.0048fb30
lea edx, [ebp - 0x6e0]
push edx
mov edi, esi
call fcn.0047f640
mov eax, dword [ebx*4 + 0x4cd390]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
test esi, esi
je 0x494a36
push esi
call edi
test eax, eax
mov edx, 0x7ffffffe
mov ecx, 0x4c72a0
mov eax, 0x80
jne 0x494a1f
push str.Title_Not_Found
call fcn.00401000
push str.Title_Not_Found
jmp 0x494a26
push esi
call fcn.00401000
push esi
call edi
mov ecx, dword [ebx*4 + 0x4cd390]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebx*4 + 0x4cd390]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x494a8d
lea esi, [eax + 0x184]
push esi
call edi
test eax, eax
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x4e0]
mov eax, 0x104
jne 0x494a76
push str.No_path_available
call fcn.00401000
push str.No_path_available
jmp 0x494a7d
push esi
call fcn.00401000
push esi
call edi
mov eax, dword [ebx*4 + 0x4cd390]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebx*4 + 0x4cd390]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x494aad
mov edx, dword [ebx*4 + 0x4cd390]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebx*4 + 0x4cd390]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x494ad5
mov ecx, dword [ebx*4 + 0x4cd390]
mov esi, dword [eax + 0x288]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0x4b7c94
lea edx, [ebp - 0x24]
push 0x20
push edx
call fcn.00402830
add esp, 0x10
mov edx, 0x20
lea eax, [ebp - 0x44]
lea ecx, [edx + 0x7fffffde]
test ecx, ecx
je 0x494b10
mov ecx, dword [ebp - 0x6f8]
mov cl, byte [ecx + eax]
test cl, cl
je 0x494b10
mov byte [eax], cl
inc eax
dec edx
jne 0x494af1
jmp 0x494b14
test edx, edx
jne 0x494b15
dec eax
push 0x20
push 0x4c72a0
push str.SoftwareBillP_StudiosWinPatrolIEHelpers
lea ecx, [ebp - 0x24]
mov edx, 0x80000001
mov byte [eax], 0
xor esi, esi
call fcn.0048e050
add esp, 0xc
test eax, eax
je 0x494b48
lea edx, [ebp - 0x24]
push edx
call fcn.004a02f9
add esp, 4
mov esi, eax
mov dword [0x4c7290], esi
test esi, esi
jne 0x494e07
lea eax, [ebp - 0x1d0]
push eax
mov edx, 0x7ffffffe
mov eax, 0x104
mov ecx, 0x4cc358
call fcn.00401000
mov edi, str.SoftwareBillP_StudiosDetectedIEHelper
lea ebx, [ebp - 0x1d0]
call fcn.0049b470
push 0x336
mov ecx, 0x12e
call fcn.00495c90
add esp, 4
mov esi, 1
push 0x4cc358
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x2d8]
mov dword [0x4cd270], esi
call fcn.00401000
push 0x4c72a0
mov edx, 0x7ffffffe
lea eax, [esi + 0x7f]
lea ecx, [ebp - 0xc8]
call fcn.00401000
mov edx, dword [0x4c6444]
lea ecx, [ebp - 0x6ec]
push ecx
push edx
xor ebx, ebx
push ebx
push str.SoftwareBillP_StudiosWinPatrolRejects
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x494c38
lea eax, [ebp - 0x6f4]
push eax
mov eax, dword [ebp - 0x6ec]
lea ecx, [ebp - 0x6f0]
push ecx
lea edx, [ebp - 0x6fc]
push edx
push ebx
push 0x4cc358
push eax
mov dword [ebp - 0x6f4], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x494c90
mov ecx, dword [ebp - 0x6ec]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x4c6450], ebx
je 0x494c4c
cmp dword [0x4d2b24], ebx
je 0x494cca
mov edx, dword [0x4c78c4]
mov eax, dword [0x4cbe20]
mov ecx, dword [ebp - 0x6e4]
push ebx
push 0x479b00
push edx
push 0x8c
push eax
mov dword [0x4d2b00], esi
mov dword [0x4cc988], ecx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov ecx, dword [0x4cc988]
mov dword [ebp - 0x6e4], ecx
mov dword [0x4d2b00], ebx
jmp 0x494cd0
mov edx, dword [ebp - 0x6ec]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x6f0], 2
jbe 0x494c38
push 0x4c72a0
mov esi, 0x4cc358
call fcn.004877c0
mov eax, dword [ebp - 0x6e4]
add esp, 4
push eax
push esi
call fcn.00401a90
jmp 0x494de1
mov eax, dword [ebp - 0x6e8]
sub eax, 6
je 0x494d43
sub eax, esi
jne 0x494de4
lea edx, [ebp - 0xc8]
push edx
lea esi, [ebp - 0x2d8]
call fcn.004877c0
add esp, 4
lea eax, [ebp - 0xc8]
mov edi, str.SoftwareBillP_StudiosWinPatrolIEHelpers
mov ebx, 0x80000001
call fcn.0048e230
mov eax, dword [ebp - 0x6e4]
push eax
mov ecx, esi
push ecx
call fcn.00401a90
add esp, 8
xor al, al
mov byte [0x4d1cd0], al
mov dword [0x4d2b18], 8
mov byte [0x4d16b0], al
mov byte [0x4cc358], al
mov byte [0x4c72a0], al
mov byte [0x4cbe38], al
jmp 0x494de4
push 0x4c72a0
push str.SoftwareBillP_StudiosWinPatrolIEHelpers
lea ecx, [ebp - 0x44]
mov edx, 0x80000001
call fcn.0048e390
add esp, 8
lea edx, [ebp - 0x1d0]
push edx
mov edx, 0x7ffffffe
mov eax, 0x104
lea ecx, [ebp - 0x6e0]
call fcn.00401000
lea eax, [ebp - 0x1d0]
push eax
lea edi, [ebp - 0x6e0]
call fcn.0047f640
lea ecx, [ebp - 0xc8]
add esp, 4
push ecx
lea esi, [ebp - 0x24]
call fcn.0047fb10
add esp, 4
lea edx, [ebp - 0xc8]
push edx
push str.SoftwareBillP_StudiosWinPatrolIEHelpers
lea ecx, [ebp - 0x44]
mov edx, 0x80000001
call fcn.0048e390
mov byte [0x4d1cd0], bl
mov dword [0x4d2b18], 8
mov byte [0x4d16b0], bl
mov byte [0x4cc358], bl
mov byte [0x4c72a0], bl
mov byte [0x4cbe38], bl
add esp, 8
push 0x334
mov ecx, 0x65
call fcn.00495c90
mov eax, dword [0x4cd38c]
mov ebx, dword [ebp - 0x6e4]
add esp, 4
mov dword [ebp - 0x6e8], eax
inc ebx
mov dword [ebp - 0x6e4], ebx
cmp ebx, dword [0x4cd38c]
jl 0x4949c0
mov eax, dword [ebp - 0x6e8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a01d6
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a01d6
mov esp, ebp
pop ebp
ret