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

Disassembly:
push ebp
lea ebp, [esp - 0x5004]
mov eax, 0x5004
call fcn.1003c230
push 0xffffffffffffffff
push 0x10070920
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10095dec]
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]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1007e4dc
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10025068
push str._Cannot_open_reg_key
lea ecx, [ebp - 0x14]
call fcn.1000b23a
push 0x1007e524
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x10025041
call fcn.10001238
mov edi, dword [ebp - 0x14]
cmp edi, esi
je 0x1002504c
mov eax, dword [edi]
jmp 0x1002504e
xor eax, eax
push eax
call fcn.10042f0f
pop ecx
cmp edi, esi
je 0x10025060
mov ecx, edi
call fcn.10001238
xor eax, eax
inc eax
jmp 0x1002549d
xor eax, eax
push 0xffe
mov word [ebp + 0x2000], ax
lea eax, [ebp + 0x2002]
push esi
mov edi, 0x800
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], edi
call fcn.1003c260
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add esp, 0xc
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x2000]
push eax
push esi
jmp 0x100250e1
push 0x14
lea eax, [ebp + 0x2000]
push str._java.com_JavaPlugin
push eax
call fcn.10042f0f
add esp, 0xc
test eax, eax
jne 0x100250c9
inc dword [ebp - 0x14]
inc dword [ebp - 0x10]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x2000]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], edi
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x100250ac
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], esi
je 0x1002548f
cmp dword [ebp - 0x14], 1
ja 0x1002548f
xor eax, eax
mov ebx, 0xffe
push ebx
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
call fcn.1003c260
push esi
push 1
lea eax, [ebp]
push edi
push eax
call fcn.10024d7d
add esp, 0x1c
test eax, eax
jne 0x10025140
push str.getLatestInstalled_Java_Plug_in_version_failed
call fcn.10042f0f
pop ecx
jmp 0x10025060
xor eax, eax
push ebx
mov word [ebp + 0x1000], ax
lea eax, [ebp + 0x1002]
push esi
push eax
call fcn.1003c260
push esi
lea eax, [ebp]
push eax
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.1001befb
add esp, 0x1c
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x1002517a
push 0x1007e5ac
jmp 0x10025135
lea eax, [ebp + 0x1000]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100010b1
push 0x1007e698
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x100251bd
call fcn.10001238
push str.plugin2_npjp2.dll
lea ecx, [ebp - 0x10]
call fcn.100010b1
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.1000132e
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x100251ea
call fcn.10001238
push str.SOFTWAREMozillaPlugins_java.com_JavaPlugin_version11.241.2
lea ecx, [ebp - 0x14]
call fcn.100010b1
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, esi
je 0x10025206
mov eax, dword [eax]
jmp 0x10025208
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1002527a
push str._Cannot_open_registry_key
lea ecx, [ebp - 0x10]
call fcn.1000b23a
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.1000132e
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x1002524a
mov eax, dword [edi]
jmp 0x1002524c
xor eax, eax
push eax
call fcn.10042f0f
pop ecx
cmp edi, esi
je 0x1002525e
mov ecx, edi
call fcn.10001238
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x1002526a
call fcn.10001238
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x10025060
jmp 0x1002505b
xor eax, eax
push ebx
mov word [ebp + 0x3000], ax
lea eax, [ebp + 0x3002]
push esi
push eax
mov dword [ebp - 0x24], edi
call fcn.1003c260
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0x3000]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
push str.PATH
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002544c
mov eax, dword [ebp - 0x1c]
cmp eax, esi
je 0x100252c8
mov ecx, dword [eax]
jmp 0x100252ca
xor ecx, ecx
lea eax, [ebp + 0x3000]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100252f6
cmp dx, si
je 0x100252f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100252f6
add eax, 4
add ecx, 4
cmp dx, si
jne 0x100252d0
xor eax, eax
jmp 0x100252fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0x100253b8
push str._Mismatched_plugin_dll_full_name:_expected
lea ecx, [ebp - 0x10]
call fcn.1000b23a
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.1000132e
push 0x1007e79c
lea ecx, [ebp - 0x18]
call fcn.1000b23a
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 7
cmp ecx, esi
je 0x1002534d
call fcn.10001238
lea eax, [ebp + 0x3000]
push eax
lea ecx, [ebp - 0x18]
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x10025378
call fcn.10001238
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x10025383
mov eax, dword [edi]
jmp 0x10025385
xor eax, eax
push eax
call fcn.10042f0f
pop ecx
cmp edi, esi
je 0x10025397
mov ecx, edi
call fcn.10001238
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x100253a3
call fcn.10001238
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x1002549a
call fcn.10001238
jmp 0x1002549a
xor eax, eax
push ebx
mov word [ebp + 0x4000], ax
lea eax, [ebp + 0x4002]
push esi
push eax
call fcn.1003c260
push edi
lea eax, [ebp + 0x4000]
push eax
push 1
call fcn.10031dd4
add esp, 0x18
test eax, eax
je 0x100253f5
lea eax, [ebp + 0x4000]
push eax
call fcn.1001f2f9
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], esi
jne 0x10025420
push edi
lea eax, [ebp + 0x4000]
push eax
push esi
call fcn.10031dd4
add esp, 0xc
test eax, eax
je 0x10025430
lea eax, [ebp + 0x4000]
push eax
call fcn.1001f2f9
pop ecx
test eax, eax
je 0x10025430
push str._Detected_Java_Plug_in_dlls_in_FF_or_Moz_plugins_directory
call fcn.10042f0f
pop ecx
jmp 0x10025397
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
je 0x1002543c
call fcn.10001238
mov ecx, dword [ebp - 0x1c]
cmp ecx, esi
je 0x10025448
call fcn.10001238
xor eax, eax
jmp 0x1002549d
push str._Cannot_query_PATH_value_of_registry_key
lea ecx, [ebp - 0x10]
call fcn.1000b23a
push str.SOFTWAREMozillaPlugins
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.100010b1
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xb
call fcn.1000132e
mov ecx, dword [ebp - 0x18]
cmp ecx, esi
je 0x1002523f
call fcn.10001238
jmp 0x1002523f
push str.None_or_more_than_1_Java_Plug_in_is_registered
call fcn.10042f0f
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.1003c09c
add ebp, 0x5004
leave
ret