Function at 0x418bd8
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x433a67
call fcn.0041bbcc
sub esp, 0xc38
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x443]
push ebx
push eax
mov byte [ebp - 4], 3
mov byte [ebp - 0x444], bl
call fcn.0041b5c0
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.0041b5c0
add esp, 0x18
mov edi, 0x20019
push edi
push 0x4390a8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
call fcn.0040a38f
test eax, eax
je 0x418c98
lea ecx, [ebp - 0x28]
call fcn.0040a30c
lea ecx, [ebp - 0x1c]
call fcn.0040a30c
lea ecx, [ebp - 0x34]
call fcn.0040a30c
lea ecx, [ebp - 0x40]
call fcn.0040a30c
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push edi
push 0x4390b4
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call fcn.0040a38f
test eax, eax
jne 0x418c67
push edi
push 0x4390c0
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0040a38f
test eax, eax
jne 0x418c67
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push eax
push str.CurrentVersion
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040c8a6
test eax, eax
je 0x418d08
lea ecx, [ebp - 0x28]
call fcn.0040a30c
lea ecx, [ebp - 0x1c]
call fcn.0040a30c
lea ecx, [ebp - 0x34]
call fcn.0040a30c
lea ecx, [ebp - 0x40]
call fcn.0040a30c
mov eax, ebx
jmp 0x418c89
push edi
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0040a38f
test eax, eax
jne 0x418d4e
lea eax, [ebp + 0x10]
push eax
push 0x4390ec
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.0040c8a6
test eax, eax
jne 0x418d4e
push dword [ebp + 0xc]
call fcn.0041779c
pop ecx
test eax, eax
je 0x418d4e
cmp dword [ebp + 8], ebx
jne 0x418d4e
xor ebx, ebx
inc ebx
jmp 0x418ce4
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.0041b5c0
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
mov esi, 0x400
push esi
lea eax, [ebp - 0x444]
push eax
push ebx
jmp 0x418e23
push eax
lea eax, [ebp - 0x444]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x418e18
push 0x20019
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0040a38f
test eax, eax
jne 0x418e15
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c8a6
test eax, eax
jne 0x418e15
cmp dword [ebp + 0x10], ebx
jbe 0x418e15
lea eax, [ebp - 0xc44]
push eax
call fcn.0041779c
pop ecx
test eax, eax
je 0x418e15
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x844]
push 0x439104
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc44]
push eax
push 0x439108
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
inc dword [ebp - 0x10]
push esi
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
call edi
test eax, eax
lea eax, [ebp - 0x844]
je 0x418d7e
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418e39
sub eax, edx
je 0x418ce4
lea eax, [ebp - 0x844]
push eax
push 0x43910c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp + 0x10], eax
jmp 0x418d49