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

Disassembly:
push ebp
lea ebp, [esp - 0x5004]
mov eax, 0x5004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100ce8e4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10130aa4]
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 0x100ecab4
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002abf4
push str._Cannot_open_reg_key
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
push 0x100ecafc
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.10001719
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1002abcf
call fcn.10001b13
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002abd8
mov ebx, dword [esi]
push ebx
call fcn.100c0f6c
pop ecx
test esi, esi
je 0x1002abea
mov ecx, esi
call fcn.10001b13
xor esi, esi
lea eax, [esi + 1]
jmp 0x1002afcd
push 0x1000
lea eax, [ebp + 0x3000]
mov dword [ebp - 0x1c], 0x800
push ebx
push eax
mov edi, ebx
mov esi, ebx
call fcn.100621d0
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 0x1002ac59
push 0x14
lea eax, [ebp + 0x3000]
push str._java.com_JavaPlugin
push eax
call fcn.100c0f6c
add esp, 0xc
test eax, eax
jne 0x1002ac41
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 0x1002ac26
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x1002afbf
cmp esi, 1
ja 0x1002afbf
push 0x1000
lea eax, [ebp + 0x1000]
push ebx
push eax
call fcn.100621d0
push ebx
xor esi, esi
lea eax, [ebp + 0x1000]
inc esi
mov edi, 0x800
push esi
push edi
push eax
call fcn.100281ff
add esp, 0x1c
test eax, eax
jne 0x1002acc2
push str.getLatestInstalled_Java_Plug_in_version_failed
call fcn.100c0f6c
pop ecx
mov eax, esi
jmp 0x1002afcd
push 0x1000
lea eax, [ebp]
push ebx
push eax
call fcn.100621d0
push ebx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp]
push edi
push eax
call fcn.10028435
add esp, 0x1c
test eax, eax
jne 0x1002acf1
push 0x100ecc18
jmp 0x1002acb5
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x24]
call fcn.10001719
push 0x100ecc44
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.10001719
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x24]
call fcn.1000186b
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1002ad31
call fcn.10001b13
push str.plugin2_npjp2.dll
lea ecx, [ebp - 0x14]
call fcn.10001719
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x24]
call fcn.1000186b
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x1002ad5e
call fcn.10001b13
push str.SOFTWAREMozillaPlugins_java.com_JavaPlugin_version11.421.2
lea ecx, [ebp - 0x14]
call fcn.10001719
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
test eax, eax
je 0x1002ad7a
mov eax, dword [eax]
jmp 0x1002ad7c
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 0x1002adbb
push str._Cannot_open_registry_key
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
jmp 0x1002af84
push 0x1000
lea eax, [ebp + 0x2000]
mov dword [ebp - 0x1c], 0x800
push ebx
push eax
call fcn.100621d0
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 0x1002af4a
test edi, edi
je 0x1002ae05
mov eax, dword [edi]
jmp 0x1002ae07
mov eax, ebx
lea ecx, [ebp + 0x2000]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002ae33
test dx, dx
je 0x1002ae2f
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002ae33
add ecx, 4
add eax, 4
test dx, dx
jne 0x1002ae0d
mov eax, ebx
jmp 0x1002ae37
sbb eax, eax
or eax, esi
test eax, eax
je 0x1002aed7
push str._Mismatched_plugin_dll_full_name:_expected
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
push 0x100ecd48
lea ecx, [ebp - 0x18]
call fcn.1000dcc0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x1002ae89
call fcn.10001b13
lea eax, [ebp + 0x2000]
push eax
lea ecx, [ebp - 0x18]
call fcn.10001719
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002aeb4
call fcn.10001b13
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002aebd
mov ebx, dword [esi]
push ebx
call fcn.100c0f6c
pop ecx
test esi, esi
je 0x1002aecf
mov ecx, esi
call fcn.10001b13
push 2
pop ebx
jmp 0x1002afa2
push 0x1000
lea eax, [ebp + 0x4000]
push ebx
push eax
call fcn.100621d0
push 0x800
lea eax, [ebp + 0x4000]
push eax
push esi
call fcn.10032d3a
add esp, 0x18
test eax, eax
je 0x1002af3d
lea eax, [ebp + 0x4000]
push eax
call fcn.1001f7cc
pop ecx
test eax, eax
jne 0x1002af3d
push 0x800
lea eax, [ebp + 0x4000]
push eax
push ebx
call fcn.10032d3a
add esp, 0xc
test eax, eax
je 0x1002afa2
lea eax, [ebp + 0x4000]
push eax
call fcn.1001f7cc
pop ecx
test eax, eax
je 0x1002afa2
push str._Detected_Java_Plug_in_dlls_in_FF_or_Moz_plugins_directory
call fcn.100c0f6c
pop ecx
jmp 0x1002aecf
push str._Cannot_query_PATH_value_of_registry_key
lea ecx, [ebp - 0x10]
call fcn.1000dcc0
push str.SOFTWAREMozillaPlugins
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.10001719
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x10]
call fcn.1000186b
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1002af84
call fcn.10001b13
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x1002af8d
mov ebx, dword [esi]
push ebx
call fcn.100c0f6c
pop ecx
test esi, esi
je 0x1002af9f
mov ecx, esi
call fcn.10001b13
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1002afb0
mov ecx, eax
call fcn.10001b13
test edi, edi
je 0x1002afbb
mov ecx, edi
call fcn.10001b13
mov eax, ebx
jmp 0x1002afcd
push str.None_or_more_than_1_Java_Plug_in_is_registered
call fcn.100c0f6c
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.1005e187
add ebp, 0x5004
leave
ret