Function at 0x1002a8ae
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x5004]
mov eax, 0x5004
call fcn.100588e0
push 0xffffffffffffffff
push 0x100bb3cc
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1011ca44]
xor eax, ebp
mov dword [ebp + 0x5000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
push 0x20019
push ebx
push 0x100d4478
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002a969
push str._Cannot_open_reg_key
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
push 0x100d44c0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.10001727
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002a944
call fcn.10001b26
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002a94d
mov ebx, dword [esi]
push ebx
call fcn.10061e37
pop ecx
test esi, esi
je 0x1002a95f
mov ecx, esi
call fcn.10001b26
xor esi, esi
lea eax, [esi + 1]
jmp 0x1002ad4a
push 0x1000
lea eax, [ebp + 0x3000]
mov dword [ebp - 0x1c], 0x800
push ebx
push eax
mov edi, ebx
mov esi, ebx
call fcn.1005c640
add esp, 0xc
lea eax, [ebp - 0x1c]
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp + 0x3000]
push eax
push ebx
jmp 0x1002a9ce
push 0x14
lea eax, [ebp + 0x3000]
push 0x100d44f0
push eax
call fcn.10061e37
add esp, 0xc
test eax, eax
jne 0x1002a9b6
inc esi
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x800
push eax
lea eax, [ebp + 0x3000]
inc edi
push eax
push edi
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1002a99b
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1002ad3c
cmp esi, 1
ja 0x1002ad3c
push 0x1000
lea eax, [ebp + 0x1000]
push ebx
push eax
call fcn.1005c640
push ebx
xor esi, esi
lea eax, [ebp + 0x1000]
inc esi
mov edi, 0x800
push esi
push edi
push eax
call fcn.100281de
add esp, 0x1c
test eax, eax
jne 0x1002aa37
push str.getLatestInstalled_Java_Plug_in_version_failed
call fcn.10061e37
pop ecx
mov eax, esi
jmp 0x1002ad4a
push 0x1000
lea eax, [ebp]
push ebx
push eax
call fcn.1005c640
push ebx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp]
push edi
push eax
call fcn.1002840a
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x1002aa69
push 0x100d451c
jmp 0x1002aa2a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001727
push 0x100d4608
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.10001727
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1002aaa9
call fcn.10001b26
push 0x100d4614
lea ecx, [ebp - 0x14]
call fcn.10001727
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.1000187c
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1002aad6
call fcn.10001b26
push str.SOFTWAREMozillaPlugins_java.com_JavaPlugin_version11.281.2
lea ecx, [ebp - 0x14]
call fcn.10001727
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x1002aaf2
mov eax, dword [eax]
jmp 0x1002aaf4
mov eax, ebx
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [ebp - 0x24]
test eax, eax
je 0x1002ab33
push 0x100d463c
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
jmp 0x1002ad01
push 0x1000
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x1c], 0x800
push ebx
push eax
call fcn.1005c640
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x2000]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
push str.PATH
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002acc7
test edi, edi
je 0x1002ab7d
mov eax, dword [edi]
jmp 0x1002ab7f
mov eax, ebx
lea ecx, [ebp + 0x2000]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002abab
test dx, dx
je 0x1002aba7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002abab
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002ab85
mov eax, ebx
jmp 0x1002abaf
sbb eax, eax
or eax, esi
test eax, eax
je 0x1002ac4f
push str._Mismatched_plugin_dll_full_name:_expected
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
push 0x100d470c
lea ecx, [ebp - 0x18]
call fcn.1000d9ae
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1002ac01
call fcn.10001b26
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001727
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002ac2c
call fcn.10001b26
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002ac35
mov ebx, dword [esi]
push ebx
call fcn.10061e37
pop ecx
test esi, esi
je 0x1002ac47
mov ecx, esi
call fcn.10001b26
push 2
pop ebx
jmp 0x1002ad1f
push 0x1000
lea eax, [ebp + 0x4000]
push ebx
push eax
call fcn.1005c640
push 0x800
lea eax, [ebp + 0x4000]
push eax
push esi
call fcn.100330a4
add esp, 0x18
test eax, eax
je 0x1002ac89
lea eax, [ebp + 0x4000]
push eax
call fcn.1001fa30
pop ecx
jmp 0x1002ac8c
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x1002acba
push 0x800
lea eax, [ebp + 0x4000]
push eax
push ebx
call fcn.100330a4
add esp, 0xc
test eax, eax
je 0x1002ad1f
lea eax, [ebp + 0x4000]
push eax
call fcn.1001fa30
pop ecx
test eax, eax
je 0x1002ad1f
push str._Detected_Java_Plug_in_dlls_in_FF_or_Moz_plugins_directory
call fcn.10061e37
pop ecx
jmp 0x1002ac47
push str._Cannot_query_PATH_value_of_registry_key
lea ecx, [ebp - 0x10]
call fcn.1000d9ae
push 0x100d4744
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.10001727
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call fcn.1000187c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002ad01
call fcn.10001b26
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002ad0a
mov ebx, dword [esi]
push ebx
call fcn.10061e37
pop ecx
test esi, esi
je 0x1002ad1c
mov ecx, esi
call fcn.10001b26
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002ad2d
mov ecx, eax
call fcn.10001b26
test edi, edi
je 0x1002ad38
mov ecx, edi
call fcn.10001b26
mov eax, ebx
jmp 0x1002ad4a
push str.None_or_more_than_1_Java_Plug_in_is_registered
call fcn.10061e37
pop ecx
push 2
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x5000]
xor ecx, ebp
call fcn.100587af
add ebp, 0x5004
leave
ret