Function at 0x10025872
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003a680
push 0xffffffffffffffff
push 0x100672c3
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x100bc054]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push 0x2001f
xor ebx, ebx
lea ecx, [ebp - 0x2c]
push 0x1007ddf0
inc ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], bl
call fcn.10047a5c
push 0x2001f
test eax, eax
lea ecx, [ebp - 0x20]
push 0x1007de30
mov esi, edi
push reloc.OLEAUT32.dll_SysReAllocString
cmovne esi, ebx
call fcn.10047a5c
test eax, eax
je 0x1002590d
test esi, esi
jne 0x10025a71
push 0x800
lea eax, [ebp]
mov esi, edi
push eax
push edi
mov edi, dword [ebp - 0x2c]
jmp 0x10025974
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.1001e51b
pop ecx
pop ecx
test eax, eax
jne 0x1002596a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1001ae15
mov ecx, eax
test ecx, ecx
jne 0x100259a5
lea ecx, [ebp - 0x2c]
call fcn.1001ad8c
push 0x2001f
push 0x1007debc
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x2c]
xor esi, esi
call fcn.10047a5c
test eax, eax
jne 0x1002599b
mov edi, dword [ebp - 0x2c]
push 0x800
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1002591e
lea ecx, [ebp - 0x2c]
call fcn.1001ad8c
mov edi, dword [ebp - 0x20]
lea eax, [ebp]
push 0x800
xor esi, esi
push eax
push esi
jmp 0x10025a5e
push str.Error_open_Java_Plug_in_key
jmp 0x10025aab
cmp ecx, 5
mov edx, 0x1007de84
mov eax, 0x1007de74
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.10012712
push 0x1007de94
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100259ef
call fcn.100016f0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000155e
mov byte [ebp - 4], 4
jmp 0x10025b10
lea eax, [ebp]
inc esi
push 0
push eax
call fcn.1001e865
pop ecx
pop ecx
test eax, eax
jne 0x10025a54
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
call fcn.1001ae15
mov ecx, eax
test ecx, ecx
jne 0x10025ab6
lea ecx, [ebp - 0x20]
call fcn.1001ad8c
push 0x2001f
push 0x1007df68
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.10047a5c
test eax, eax
jne 0x10025aa6
mov edi, dword [ebp - 0x20]
push 0x800
lea eax, [ebp]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x10025a04
lea ecx, [ebp - 0x20]
call fcn.1001ad8c
lea ecx, [ebp - 0x20]
call fcn.1001ad8c
lea ecx, [ebp - 0x2c]
call fcn.1001ad8c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003a5a7
add ebp, 0x1004
leave
ret
push str.Error_open_Java_Web_Start_key
call fcn.10047a5c
pop ecx
jmp 0x10025b47
cmp ecx, 5
mov edx, str.runtime_error
mov eax, str.access_denied
lea ecx, [ebp - 0x14]
cmovne eax, edx
push eax
call fcn.10012712
push str._when_deleting_key
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.1000155e
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10025b00
call fcn.100016f0
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000155e
mov byte [ebp - 4], 7
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001697
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10025b28
call fcn.100016f0
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10025b33
mov eax, dword [esi]
jmp 0x10025b35
xor eax, eax
push eax
call fcn.10047a5c
pop ecx
test esi, esi
je 0x10025b47
mov ecx, esi
call fcn.100016f0
xor ebx, ebx
jmp 0x10025a71