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

Disassembly:
mov eax, 0x3014
call fcn.1003a680
mov eax, dword [0x100bc054]
xor eax, esp
mov dword [esp + 0x3010], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3024]
lea eax, [esp + 0x1c]
push edi
mov edi, 0x1000
xor ebx, ebx
push edi
push ebx
push eax
mov ebp, ebx
call fcn.1003cd40
push edi
lea eax, [esp + 0x1030]
push ebx
push eax
call fcn.1003cd40
add esp, 0x18
mov dword [esp + 0x10], 0x800
cmp dword [esp + 0x3030], ebx
lea eax, [esp + 0x14]
mov edi, 0x20019
push eax
push edi
push ebx
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
je 0x1001cd47
push 0x10084474
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ce68
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
push eax
push ecx
jmp 0x1001cd30
lea eax, [esp + 0x20]
push eax
push str.SOFTWAREJavaSoftJava_Plug_in
push 0x100844f4
lea eax, [esp + 0x102c]
push 0x800
push eax
call fcn.1000758d
add esp, 0x14
lea eax, [esp + 0x18]
xor edx, edx
push eax
push edi
push edx
lea eax, [esp + 0x102c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001cd16
mov eax, dword [esp + 0x302c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x24]
push eax
xor eax, eax
push eax
push 0x10084500
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001cd16
push dword [esp + 0x302c]
push esi
call fcn.10020ba0
pop ecx
pop ecx
inc ebp
mov dword [esp + 0x10], 0x800
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001cc9b
jmp 0x1001ce68
push 0x10084520
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ce68
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push ecx
push ecx
push ecx
push eax
lea eax, [esp + 0x34]
push eax
push ecx
jmp 0x1001ce56
lea eax, [esp + 0x20]
push eax
push 0x10084578
push 0x10084514
lea eax, [esp + 0x102c]
push 0x800
push eax
call fcn.1000758d
add esp, 0x14
lea eax, [esp + 0x18]
push eax
push edi
xor eax, eax
push eax
lea eax, [esp + 0x102c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ce3c
push 0x1000
push eax
lea eax, [esp + 0x2028]
push eax
call fcn.1003cd40
add esp, 0xc
mov dword [esp + 0x10], 0x800
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2024]
push eax
lea eax, [esp + 0x24]
push eax
xor eax, eax
push eax
push 0x100845d0
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001ce3c
cmp dword [esp + 0x10], eax
jbe 0x1001ce3c
mov eax, dword [esp + 0x302c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push esi
lea eax, [esp + 0x24]
push eax
xor eax, eax
push eax
push 0x100845e8
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001ce3c
push dword [esp + 0x302c]
push esi
call fcn.10020ba0
pop ecx
pop ecx
inc ebp
mov dword [esp + 0x10], 0x800
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push ebp
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001cd71
lea ecx, [esi + 2]
xor edx, edx
mov ax, word [esi]
add esi, 2
cmp ax, dx
jne 0x1001ce6d
sub esi, ecx
xor eax, eax
mov ecx, dword [esp + 0x3020]
sar esi, 1
cmp eax, esi
pop edi
pop esi
pop ebp
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.1003a5a7
add esp, 0x3014
ret