Function at 0x405f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41224e
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x419038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00405c20
test eax, eax
jne 0x4061d6
mov eax, dword [0x4194f8]
test al, 1
jne 0x405fef
or eax, 1
mov dword [0x4194f8], eax
xor eax, eax
mov dword [ebp - 4], 0
push 0x413110
mov dword [0x4194f4], 7
mov dword [0x4194f0], 0
mov word [0x4194e0], ax
call fcn.00410d1b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x4194f0], 0
mov esi, 0x4194e0
jne 0x40614e
push str.BrowserWCFirefoxExtncomponentsWCFirefoxExtn.dll
lea ecx, [ebp - 0x40]
call fcn.00404ff0
push str.SOFTWAREAdobeAdobe_Acrobat_
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00404ff0
push 2
push 0x414d70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00407090
push 0xc
push str.InstallPath
lea ecx, [ebp - 0x28]
call fcn.00407090
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
push 1
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060fd
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4060f4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4060f4
inc eax
push 0x419517
push eax
call fcn.00410c0c
mov edi, eax
add esp, 8
test edi, edi
je 0x4060f4
mov ecx, dword [ebp - 0x48]
inc ecx
push ecx
push 0
push edi
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
push edi
push 0
push 0
push 0
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4060eb
push edi
mov ecx, esi
call fcn.00407290
push 0x415030
mov ecx, esi
call fcn.00407040
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00406f80
push edi
call sub.MSVCR120.dll_void___cdecl_operator_delete___void__
add esp, 4
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 8
jb 0x40610e
push dword [ebp - 0x28]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
cmp dword [ebp - 0x2c], 8
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xffffffff
jb 0x40613a
push dword [ebp - 0x40]
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [0x4194b8], 0
jne 0x4061d6
push 1
call fcn.00401270
add esp, 4
test eax, eax
jne 0x406188
cmp dword [0x4194f0], eax
je 0x406188
cmp dword [0x4194f4], 8
cmovae esi, dword [0x4194e0]
push esi
call fcn.00409110
mov dword [0x4194b8], eax
jmp 0x40618d
mov eax, dword [0x4194b8]
test eax, eax
je 0x4061f6
push str._CPP_SetParentWindowClass
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4061b7
call fcn.00405ce0
test eax, eax
je 0x4061b0
push 0
jmp 0x4061b2
push 1
call esi
add esp, 4
push 2
push 0
push 0x4068e0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.00402170
add esp, 0x10
mov dword [0x4194b4], eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00410c15
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x4061db