Function at 0x421532
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
xor ebx, ebx
push eax
push 0x20019
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 0x42180b
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 0x421800
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x9c]
push eax
mov ecx, edi
call fcn.0041c8f8
push ebx
push 0x2e
mov ecx, edi
call fcn.0041d093
cmp eax, 0xffffffff
je 0x4215d7
inc eax
mov ecx, edi
push eax
push 0x2e
call fcn.0041d093
cmp eax, 0xffffffff
jne 0x421800
push edi
lea ecx, [ebp - 0x34]
call fcn.0041c87f
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
push 0x20019
lea eax, [ebp - 0x9c]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x421680
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 0x421659
mov ecx, dword [ebp + 8]
push 0x2e
call fcn.0041c9de
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041ca2d
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 [0x47f20c], ebx
jne 0x4217f8
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 0x4217f8
lea eax, [ebp - 8]
mov dword [ebp - 8], ebx
push eax
push 0x20019
lea eax, [ebp - 0x100]
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42178e
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 0x421785
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 0x421785
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x308]
push eax
call fcn.004284a0
pop ecx
test eax, eax
pop ecx
jne 0x421785
lea eax, [ebp - 0x68]
push 0x42ccb0
push eax
call fcn.00425540
pop ecx
test eax, eax
pop ecx
jg 0x4217c8
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 0x4216bf
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x34]
push eax
call fcn.0041c966
mov ecx, dword [ebp + 8]
push ebx
push 0x42ead8
call fcn.0041ca2d
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push ebx
push eax
call fcn.0041ca2d
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x34]
call fcn.0041c8e1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret