Function at 0x10024d7d
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x10070898
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10095dec]
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.1003c260
add esp, 0xc
mov eax, 0x20019
mov dword [ebp - 0x20], 0x800
mov esi, eax
cmp ebx, edi
je 0x10024e09
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 0x10024e30
push str.SOFTWAREJavaSoftJava_Plug_in
push reloc.OLEAUT32.dll_SysReAllocString
jmp 0x10024e4e
push str.SOFTWAREJavaSoftJRE
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call fcn.10042f0f
cmp eax, edi
je 0x10024e84
push esi
push 0x1007e280
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10042f0f
cmp eax, edi
je 0x10024e84
lea ecx, [ebp - 0x2c]
call fcn.100159e6
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.1003c09c
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 0x10024f3c
cmp dword [ebp + 0x1014], edi
je 0x10024ee9
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
call fcn.10021ef5
pop ecx
pop ecx
test eax, eax
je 0x10024ece
push dword [ebp - 0x1c]
lea eax, [ebp]
push eax
call fcn.10022208
pop ecx
pop ecx
test eax, eax
jne 0x10024ee9
push str.Ignore_invalid_deploy_version:
call fcn.10042f0f
lea eax, [ebp]
push eax
call fcn.10042f0f
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
cmp word [ebp], di
je 0x10024f20
cmp dword [ebp - 0x14], edi
je 0x10024f06
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
jle 0x10024f20
lea eax, [ebp]
push eax
push 0x1007e318
push dword [ebp + 0x1010]
push dword [ebp - 0x10]
call fcn.10042f0f
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 0x10024ea2
cmp dword [ebp + 0x1014], edi
je 0x10024f5a
push str.Latest_deploy_version:
jmp 0x10024f5f
push str.Latest_JRE_version:
call fcn.10042f0f
pop ecx
push dword [ebp - 0x10]
call fcn.10042f0f
pop ecx
cmp ebx, edi
je 0x10024f7a
cmp ebx, 0x103
jne 0x10024f81
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 0x10024f87
sub eax, edx
sar eax, 1
jne 0x10024f9b
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x2c]
call fcn.100159e6
mov edi, dword [ebp - 0x18]
jmp 0x10024e57