Function at 0x42c790
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451653
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x469090]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, ecx
mov dword [ebp - 4], esi
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d0], ebx
jb 0x42c7e1
mov eax, dword [ebx]
jmp 0x42c7e3
mov eax, ebx
lea ecx, [ebp - 0x2cc]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42cc04
mov dword [ebp - 0x2c8], esi
xor eax, eax
lea esp, [esp]
cmp eax, esi
jne 0x42cbf7
mov ecx, dword [ebp - 0x2c8]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x2dc]
push edx
mov edx, dword [ebp - 0x2cc]
lea eax, [ebp - 0x21c]
push eax
push ecx
push edx
mov dword [ebp - 0x2dc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2e0], eax
cmp eax, esi
jne 0x42c8bf
xor eax, eax
mov word [ebp - 0x270], ax
mov edi, 7
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x260], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x42c875
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x270]
call fcn.00402510
mov byte [ebp - 4], 1
cmp dword [ebp - 0x260], 0
jne 0x42c8d8
mov byte [ebp - 4], 0
cmp dword [ebp - 0x25c], 8
jb 0x42c8bf
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00437245
add esp, 4
inc dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2d0]
xor esi, esi
jmp 0x42c810
xor edx, edx
push 1
mov eax, 0x45aeb0
lea esi, [ebp - 0x28c]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], dx
call fcn.00402510
mov eax, ebx
mov ecx, esi
lea ebx, [ebp - 0x2c4]
mov byte [ebp - 4], 2
call fcn.00420dc0
mov ecx, eax
lea eax, [ebp - 0x270]
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00423530
mov edi, 8
cmp dword [ebp - 0x2b0], edi
jb 0x42c949
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.00437245
add esp, 4
mov ebx, 7
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2b4], esi
mov word [ebp - 0x2c4], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x278], edi
jb 0x42c980
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
mov dword [ebp - 0x27c], esi
mov word [ebp - 0x28c], ax
mov dword [ebp - 0x228], esi
xor ecx, ecx
push 0xc
mov eax, str.fullKeyPath
lea esi, [ebp - 0x238]
mov dword [ebp - 0x278], ebx
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x238], cx
call fcn.00402510
mov byte [ebp - 4], bl
lea eax, [ebp - 0x254]
mov ecx, esi
lea ebx, [ebp - 0x2a8]
call fcn.00423530
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], esi
jb 0x42c9e2
mov eax, dword [eax]
mov ecx, dword [0x46dbc4]
push eax
push str.INFO
call fcn.0040c980
cmp dword [ebp - 0x294], esi
jb 0x42ca0a
mov edx, dword [ebp - 0x2a8]
push edx
call fcn.00437245
add esp, 4
xor ebx, ebx
xor eax, eax
mov edi, 7
mov byte [ebp - 4], 6
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], ax
cmp dword [ebp - 0x224], esi
jb 0x42ca41
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00437245
add esp, 4
xor edx, edx
push esi
mov eax, str.JavaHome
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
call fcn.00402510
mov edx, esi
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.0042cc30
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], 8
mov dword [ebp - 0x2d4], esi
jb 0x42ca9c
mov eax, dword [ebp - 0x238]
push eax
call fcn.00437245
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], cx
cmp dword [esi + 0x10], ebx
jne 0x42caeb
cmp dword [ebp - 0x240], 8
jb 0x42cace
mov edx, dword [ebp - 0x254]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
mov byte [ebp - 4], bl
jmp 0x42c8a7
push 0xc8
call fcn.004372a1
add esp, 4
cmp eax, ebx
je 0x42cb05
call fcn.0041fa80
mov esi, eax
jmp 0x42cb07
xor esi, esi
push ebx
push 0x46c030
or eax, 0xffffffff
mov ecx, esi
call fcn.004022c0
mov edx, dword [ebp - 0x2d4]
push ebx
push edx
lea ecx, [esi + 0x8c]
or eax, 0xffffffff
call fcn.004022c0
push ebx
lea eax, [ebp - 0x270]
push eax
lea ecx, [esi + 0x38]
or eax, 0xffffffff
call fcn.004022c0
mov ebx, dword [ebp - 0x2d8]
mov ecx, esi
call fcn.0042bd60
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x42cb69
mov ecx, dword [ebp - 0x254]
push ecx
call fcn.00437245
add esp, 4
xor eax, eax
xor edx, edx
mov byte [ebp - 4], al
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], eax
mov word [ebp - 0x254], dx
cmp dword [ebp - 0x25c], esi
jb 0x42c8bf
mov eax, dword [ebp - 0x270]
push eax
jmp 0x42c8b7
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043722b
mov esp, ebp
pop ebp
ret 4