Function at 0x418804
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x433355
call fcn.0041b53c
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.0041b010
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.0041b010
add esp, 0x18
mov edi, 0x20019
push edi
push 0x438f14
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
call fcn.00423970
test eax, eax
je 0x4188c4
lea ecx, [ebp - 0x28]
call fcn.0040a137
lea ecx, [ebp - 0x1c]
call fcn.0040a137
lea ecx, [ebp - 0x34]
call fcn.0040a137
lea ecx, [ebp - 0x40]
call fcn.0040a137
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push edi
push 0x438f20
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call fcn.00423970
test eax, eax
jne 0x418893
push edi
push 0x438f2c
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call fcn.00423970
test eax, eax
jne 0x418893
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.00423970
test eax, eax
je 0x418934
lea ecx, [ebp - 0x28]
call fcn.0040a137
lea ecx, [ebp - 0x1c]
call fcn.0040a137
lea ecx, [ebp - 0x34]
call fcn.0040a137
lea ecx, [ebp - 0x40]
call fcn.0040a137
mov eax, ebx
jmp 0x4188b5
push edi
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.00423970
test eax, eax
jne 0x41897a
lea eax, [ebp + 0x10]
push eax
push 0x438f58
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.00423970
test eax, eax
jne 0x41897a
push dword [ebp + 0xc]
call fcn.00423970
pop ecx
test eax, eax
je 0x41897a
cmp dword [ebp + 8], ebx
jne 0x41897a
xor ebx, ebx
inc ebx
jmp 0x418910
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.0041b010
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 0x418a4f
push eax
lea eax, [ebp - 0x444]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jle 0x418a44
push 0x20019
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call fcn.00423970
test eax, eax
jne 0x418a41
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x28]
call fcn.00423970
test eax, eax
jne 0x418a41
cmp dword [ebp + 0x10], ebx
jbe 0x418a41
lea eax, [ebp - 0xc44]
push eax
call fcn.00423970
pop ecx
test eax, eax
je 0x418a41
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x844]
push 0x438f70
push eax
call dword [sym.imp.user32.dll_wsprintfA]
lea eax, [ebp - 0xc44]
push eax
push 0x438f74
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 0x4189aa
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418a65
sub eax, edx
je 0x418910
lea eax, [ebp - 0x844]
push eax
push 0x438f78
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 0x418975