Function at 0x4194b2
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4347d0
call fcn.0041c8ac
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.0041bdb0
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.0041bdb0
add esp, 0x18
mov edi, 0x20019
push edi
push 0x43a640
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
call fcn.0040154e
test eax, eax
je 0x419572
lea ecx, [ebp - 0x28]
call fcn.00401533
lea ecx, [ebp - 0x1c]
call fcn.00401533
lea ecx, [ebp - 0x34]
call fcn.00401533
lea ecx, [ebp - 0x40]
call fcn.00401533
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push edi
push 0x43a64c
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call fcn.0040154e
test eax, eax
jne 0x419541
push edi
push 0x43a658
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.0040154e
test eax, eax
jne 0x419541
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.0040d133
test eax, eax
je 0x4195e2
lea ecx, [ebp - 0x28]
call fcn.00401533
lea ecx, [ebp - 0x1c]
call fcn.00401533
lea ecx, [ebp - 0x34]
call fcn.00401533
lea ecx, [ebp - 0x40]
call fcn.00401533
mov eax, ebx
jmp 0x419563
push edi
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0040154e
test eax, eax
jne 0x419628
lea eax, [ebp + 0x10]
push eax
push 0x43a684
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.0040d133
test eax, eax
jne 0x419628
push dword [ebp + 0xc]
call fcn.00418076
pop ecx
test eax, eax
je 0x419628
cmp dword [ebp + 8], ebx
jne 0x419628
xor ebx, ebx
inc ebx
jmp 0x4195be
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.0041bdb0
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 0x4196fd
push eax
lea eax, [ebp - 0x444]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x4196f2
push 0x20019
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.0040154e
test eax, eax
jne 0x4196ef
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040d133
test eax, eax
jne 0x4196ef
cmp dword [ebp + 0x10], ebx
jbe 0x4196ef
lea eax, [ebp - 0xc44]
push eax
call fcn.00418076
pop ecx
test eax, eax
je 0x4196ef
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x844]
push 0x43a69c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc44]
push eax
push 0x43a6a0
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 0x419658
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x419713
sub eax, edx
je 0x4195be
lea eax, [ebp - 0x844]
push eax
push 0x43a6a4
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 0x419623