Function at 0x1002e8f0
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x1840
call fcn.1003baf0
mov eax, dword [0x100530a0]
xor eax, esp
mov dword [esp + 0x183c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x184c]
lea eax, [esp + 0x44]
push esi
mov esi, dword [esp + 0x1854]
xor ebx, ebx
push edi
push 0x800
push ebx
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call sub.VCRUNTIME140.dll_memset
push 0x800
lea eax, [esp + 0x105c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
lea ecx, [esp + 0x3c]
xor edi, edi
push 0x20019
push str.Software
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.10003a10
test eax, eax
jne 0x1002ebc1
push 0x20019
push str.JavaSoft
push dword [esp + 0x44]
lea ecx, [esp + 0x3c]
call fcn.10003a10
test eax, eax
jne 0x1002ebc1
push 0x20019
push str.Java_Runtime_Environment
push dword [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.10003a10
test eax, eax
jne 0x1002ebbd
mov eax, dword [esp + 0x185c]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push str.CurrentVersion
lea eax, [esp + 0x54]
push eax
call fcn.10031390
test eax, eax
jne 0x1002ebbd
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push 0x20019
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.10003a10
test eax, eax
jne 0x1002ea69
lea eax, [esp + 0x185c]
push eax
push str.JavaHome
push esi
lea ecx, [esp + 0x1c]
call fcn.10031390
test eax, eax
jne 0x1002ea69
push esi
call fcn.1002e690
add esp, 4
test eax, eax
je 0x1002ea69
test ebp, ebp
jne 0x1002ea69
lea esi, [ebp + 1]
jmp 0x1002ebc3
push 0x800
lea eax, [esp + 0x850]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x4c]
push 0x400
push eax
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
test eax, eax
jne 0x1002eb63
lea eax, [esp + 0x84c]
mov dword [esp + 0x185c], 0x400
push eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jle 0x1002eb49
push 0x20019
lea eax, [esp + 0x50]
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.10003a10
test eax, eax
jne 0x1002eb48
lea eax, [esp + 0x185c]
push eax
push str.JavaHome
lea eax, [esp + 0x1054]
push eax
lea ecx, [esp + 0x1c]
call fcn.10031390
test eax, eax
jne 0x1002eb48
cmp dword [esp + 0x185c], eax
jbe 0x1002eb48
lea eax, [esp + 0x104c]
push eax
call fcn.1002e690
add esp, 4
test eax, eax
je 0x1002eb48
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x850]
push 0x100406a0
push eax
call ebp
lea eax, [esp + 0x1058]
push eax
push 0x100406a0
push esi
call ebp
add esp, 0x18
inc edi
push 0x400
lea eax, [esp + 0x50]
push eax
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1002eaa1
lea ecx, [esp + 0x84c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002eb70
sub ecx, edx
sar ecx, 1
je 0x1002ebc1
lea eax, [esp + 0x84c]
push eax
push 0x100406a0
push dword [esp + 0x34]
call ebp
add esp, 0xc
lea ecx, [esi + 2]
nop word [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1002eba0
sub esi, ecx
sar esi, 1
mov dword [esp + 0x185c], esi
mov esi, 1
jmp 0x1002ebc3
mov ebx, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x1002ebd4
push eax
call edi
test ebx, ebx
je 0x1002ebdb
push ebx
call edi
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1002ebe6
push eax
call edi
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1002ebf1
push eax
call edi
mov ecx, dword [esp + 0x184c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b4ee
add esp, 0x1840
ret