Function at 0x10024738
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x1005892f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10080f6c]
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
mov eax, dword [ebp + 0x100c]
mov ebx, dword [ebp + 0x1018]
mov dword [ebp - 0x10], eax
xor eax, eax
push 0xffe
mov word [ebp], ax
xor edi, edi
lea eax, [ebp + 2]
push edi
push eax
mov dword [ebp - 0x1c], ebx
call fcn.10039d40
add esp, 0xc
mov eax, 0x20019
mov dword [ebp - 0x20], 0x800
mov esi, eax
cmp ebx, edi
je 0x100247c4
mov esi, dword [ebx]
neg esi
sbb esi, esi
mov ecx, pe_nt_image_headers32
and esi, ecx
add esi, ecx
or esi, eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
push esi
lea ecx, [ebp - 0x2c]
cmp dword [ebp + 0x1014], edi
je 0x100247eb
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x10024809
push str.SOFTWAREJavaSoftJRE
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call fcn.1003b4c0
cmp eax, edi
je 0x1002483f
push esi
push 0x10068570
push ebx
lea ecx, [ebp - 0x2c]
call fcn.1003b4c0
cmp eax, edi
je 0x1002483f
lea ecx, [ebp - 0x2c]
call fcn.10016b3c
mov eax, edi
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.10039bc2
add ebp, 0x1004
leave
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], edi
push edi
jmp 0x100248f7
cmp dword [ebp + 0x1014], edi
je 0x100248a4
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
call fcn.1002192e
pop ecx
pop ecx
test eax, eax
je 0x10024889
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
call fcn.10021c41
pop ecx
pop ecx
test eax, eax
jne 0x100248a4
push str.Ignore_invalid_deploy_version:
call fcn.1003b4c0
lea eax, [ebp]
push eax
call fcn.1003b4c0
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
cmp word [ebp], di
je 0x100248db
cmp dword [ebp - 0x14], edi
je 0x100248c1
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.1003b4c0
pop ecx
pop ecx
test eax, eax
jle 0x100248db
lea eax, [ebp]
push eax
push 0x10068608
push dword [ebp + 0x1010]
push dword [ebp - 0x10]
call fcn.1003b4c0
add esp, 0x10
inc dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x20], 0x800
push dword [ebp - 0x2c]
call esi
mov ebx, eax
cmp ebx, edi
je 0x1002485d
cmp dword [ebp + 0x1014], edi
je 0x10024915
push str.Latest_deploy_version:
jmp 0x1002491a
push str.Latest_JRE_version:
call fcn.1003b4c0
pop ecx
push dword [ebp - 0x10]
call fcn.1003b4c0
pop ecx
cmp ebx, edi
je 0x10024935
cmp ebx, 0x103
jne 0x1002493c
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10024942
sub eax, edx
sar eax, 1
jne 0x10024956
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x2c]
call fcn.10016b3c
mov edi, dword [ebp - 0x18]
jmp 0x10024812