Function at 0x410386
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x42bcc2
call fcn.00412054
sub esp, 0xc28
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x433]
push ebx
push eax
mov byte [ebp - 4], 3
mov byte [ebp - 0x434], bl
call fcn.00411920
push esi
lea eax, [ebp - 0xc33]
push ebx
push eax
mov byte [ebp - 0xc34], bl
call fcn.00411920
add esp, 0x18
mov edi, 0x20019
push edi
push 0x43045c
push 0x80000002
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], ebx
call fcn.0040108b
test eax, eax
je 0x41043a
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x14]
call fcn.00401070
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401070
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push edi
push 0x430468
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.0040108b
test eax, eax
jne 0x410409
push edi
push 0x430474
push dword [ebp - 0x28]
lea ecx, [ebp - 0x14]
call fcn.0040108b
test eax, eax
jne 0x410409
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
push str.CurrentVersion
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x14]
call fcn.004010c0
test eax, eax
je 0x4104aa
lea ecx, [ebp - 0x20]
call fcn.00401070
lea ecx, [ebp - 0x14]
call fcn.00401070
lea ecx, [ebp - 0x28]
call fcn.00401070
lea ecx, [ebp - 0x30]
call fcn.00401070
mov eax, ebx
jmp 0x41042b
push edi
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.0040108b
test eax, eax
jne 0x4104f0
lea eax, [ebp + 0x10]
push eax
push 0x4304a0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
call fcn.004010c0
test eax, eax
jne 0x4104f0
push dword [ebp + 0xc]
call fcn.0040eba2
pop ecx
test eax, eax
je 0x4104f0
cmp dword [ebp + 8], ebx
jne 0x4104f0
xor ebx, ebx
inc ebx
jmp 0x410486
push esi
lea eax, [ebp - 0x833]
push ebx
push eax
mov byte [ebp - 0x834], bl
call fcn.00411920
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
add esp, 0xc
mov esi, 0x400
push esi
lea eax, [ebp - 0x434]
push eax
push ebx
jmp 0x4105c5
push eax
lea eax, [ebp - 0x434]
push eax
mov dword [ebp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jle 0x4105ba
push 0x20019
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.0040108b
test eax, eax
jne 0x4105b7
lea eax, [ebp + 0x10]
push eax
push str.JavaHome
lea eax, [ebp - 0xc34]
push eax
lea ecx, [ebp - 0x20]
call fcn.004010c0
test eax, eax
jne 0x4105b7
cmp dword [ebp + 0x10], ebx
jbe 0x4105b7
lea eax, [ebp - 0xc34]
push eax
call fcn.0040eba2
pop ecx
test eax, eax
je 0x4105b7
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x834]
push 0x4304b8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc34]
push eax
push 0x4304bc
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
inc dword [ebp - 0x18]
push esi
lea eax, [ebp - 0x434]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call edi
test eax, eax
lea eax, [ebp - 0x834]
je 0x410520
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4105db
sub eax, edx
je 0x410486
lea eax, [ebp - 0x834]
push eax
push 0x4304c0
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 0x4104eb