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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
lea eax, [ebp - 4]
push ebx
push eax
mov eax, dword [0x483760]
or eax, 0x20019
xor ebx, ebx
push eax
push ebx
push str.SoftwareJavaSoftJava_Runtime_Environment
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424994
push esi
push edi
push 0xc
lea edi, [ebp - 0x9b]
pop ecx
mov byte [ebp - 0x9c], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
push str.CurrentVersion
push dword [ebp - 4]
mov dword [ebp - 0xc], 0x32
call esi
test eax, eax
jne 0x424989
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
call fcn.0041f0d8
push ebx
push 0x2e
mov ecx, edi
call fcn.0041f873
cmp eax, 0xffffffff
je 0x424754
inc eax
mov ecx, edi
push eax
push 0x2e
call fcn.0041f873
cmp eax, 0xffffffff
jne 0x424989
push edi
lea ecx, [ebp - 0x34]
call fcn.0041f009
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x203]
mov byte [ebp - 0x204], bl
mov dword [ebp - 0x10], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x483760]
or eax, 0x20019
push eax
lea eax, [ebp - 0x9c]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424803
push 0xc
lea edi, [ebp - 0x67]
pop ecx
mov byte [ebp - 0x68], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x32
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push str.MicroVersion
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x4247dc
mov ecx, dword [ebp + 8]
push 0x2e
call fcn.0041f1be
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041f20d
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x104
push eax
lea eax, [ebp - 0x204]
push eax
push ebx
push ebx
push str.JavaHome
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x48261c], ebx
jne 0x424981
push 0x18
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
mov byte [ebp - 0x100], bl
mov dword [ebp - 0x18], ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x64
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x100]
push eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x424981
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
mov eax, dword [0x483760]
or eax, 0x20019
push eax
lea eax, [ebp - 0x100]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424917
push 0xc
lea edi, [ebp - 0x67]
pop ecx
mov byte [ebp - 0x68], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x307]
mov byte [ebp - 0x308], bl
mov dword [ebp - 0x20], 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x32
push eax
lea eax, [ebp - 0x308]
push eax
push ebx
push ebx
push str.JavaHome
push dword [ebp - 8]
call esi
test eax, eax
jne 0x42490e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push str.MicroVersion
push dword [ebp - 8]
call esi
test eax, eax
jne 0x42490e
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.0042b990
pop ecx
test eax, eax
pop ecx
jne 0x42490e
lea eax, [ebp - 0x68]
push 0x42fbd8
push eax
call fcn.00428830
pop ecx
test eax, eax
pop ecx
jg 0x424951
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x18]
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0xff]
mov byte [ebp - 0x100], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x64
push eax
push ebx
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x18]
jmp 0x424842
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041f146
mov ecx, dword [ebp + 8]
push ebx
push 0x42ff6c
call fcn.0041f20d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041f20d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.0041f06b
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret