Function at 0x410c05
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x42b58e
call fcn.00413008
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.00412420
push esi
lea eax, [ebp - 0xc43]
push ebx
push eax
mov byte [ebp - 0xc44], bl
call fcn.00412420
add esp, 0x18
mov edi, 0x20019
push edi
push 0x430de4
push 0x80000002
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], ebx
call main
test eax, eax
je 0x410cc5
lea ecx, [ebp - 0x28]
call fcn.00401377
lea ecx, [ebp - 0x1c]
call fcn.00401377
lea ecx, [ebp - 0x34]
call fcn.00401377
lea ecx, [ebp - 0x40]
call fcn.00401377
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push edi
push 0x430df0
push dword [ebp - 0x40]
lea ecx, [ebp - 0x34]
call main
test eax, eax
jne 0x410c94
push edi
push 0x430dfc
push dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
call main
test eax, eax
jne 0x410c94
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 main
test eax, eax
je 0x410d35
lea ecx, [ebp - 0x28]
call fcn.00401377
lea ecx, [ebp - 0x1c]
call fcn.00401377
lea ecx, [ebp - 0x34]
call fcn.00401377
lea ecx, [ebp - 0x40]
call fcn.00401377
mov eax, ebx
jmp 0x410cb6
push edi
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call main
test eax, eax
jne 0x410d7b
lea eax, [ebp + 0x10]
push eax
push 0x430e28
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call main
test eax, eax
jne 0x410d7b
push dword [ebp + 0xc]
call main
pop ecx
test eax, eax
je 0x410d7b
cmp dword [ebp + 8], ebx
jne 0x410d7b
xor ebx, ebx
inc ebx
jmp 0x410d11
push esi
lea eax, [ebp - 0x843]
push ebx
push eax
mov byte [ebp - 0x844], bl
call fcn.00412420
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 0x410e50
push eax
lea eax, [ebp - 0x444]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
jle 0x410e45
push 0x20019
lea eax, [ebp - 0x444]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x28]
call main
test eax, eax
jne 0x410e42
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc44]
push eax
lea ecx, [ebp - 0x28]
call main
test eax, eax
jne 0x410e42
cmp dword [ebp + 0x10], ebx
jbe 0x410e42
lea eax, [ebp - 0xc44]
push eax
call main
pop ecx
test eax, eax
je 0x410e42
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x844]
push 0x430e40
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc44]
push eax
push 0x430e44
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 0x410dab
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x410e66
sub eax, edx
je 0x410d11
lea eax, [ebp - 0x844]
push eax
push 0x430e48
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 0x410d76