Function at 0x42c340
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4516d8
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
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 - 0x2bc], eax
mov dword [ebp - 0x2b4], ebx
jb 0x42c391
mov eax, dword [ebx]
jmp 0x42c393
mov eax, ebx
lea ecx, [ebp - 0x2b0]
push ecx
push 0x20019
push esi
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x42c76e
mov dword [ebp - 0x2ac], esi
xor eax, eax
lea esp, [esp]
cmp eax, esi
jne 0x42c761
mov ecx, dword [ebp - 0x2ac]
push esi
push esi
push esi
push esi
lea edx, [ebp - 0x2b8]
push edx
mov edx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x21c]
push eax
push ecx
push edx
mov dword [ebp - 0x2b8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [ebp - 0x2c4], eax
cmp eax, esi
jne 0x42c46f
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 0x42c425
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 0x42c488
mov byte [ebp - 4], 0
cmp dword [ebp - 0x25c], 8
jb 0x42c46f
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00437245
add esp, 4
inc dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2b4]
xor esi, esi
jmp 0x42c3c0
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 - 0x2a8]
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 - 0x294], edi
jb 0x42c4f9
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.00437245
add esp, 4
mov esi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x278], edi
jb 0x42c530
mov edx, dword [ebp - 0x28c]
push edx
call fcn.00437245
add esp, 4
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x27c], ebx
xor eax, eax
push str.fullKeyPath
push ecx
lea ebx, [ebp - 0x254]
mov dword [ebp - 0x278], esi
mov word [ebp - 0x28c], ax
call fcn.00423430
add esp, 8
mov ebx, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], ebx
jb 0x42c56f
mov eax, dword [eax]
mov ecx, dword [0x46dbc4]
push eax
push str.INFO
call fcn.0040c980
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], ebx
jb 0x42c59b
mov edx, dword [ebp - 0x238]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
mov edi, 7
push ebx
mov eax, str.JavaHome
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], 0
call fcn.00402510
mov edx, esi
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], bl
call fcn.0042cc30
mov esi, eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c0], esi
cmp dword [ebp - 0x224], ebx
jb 0x42c5fd
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00437245
add esp, 4
xor edx, edx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], 0
mov word [ebp - 0x238], dx
cmp dword [esi + 0x10], edx
jne 0x42c666
cmp dword [ebp - 0x240], ebx
jb 0x42c632
mov eax, dword [ebp - 0x254]
push eax
call fcn.00437245
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], cl
cmp dword [ebp - 0x25c], ebx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], 0
mov word [ebp - 0x254], cx
jb 0x42c46f
mov edx, dword [ebp - 0x270]
push edx
jmp 0x42c467
push 0xc8
call fcn.004372a1
add esp, 4
test eax, eax
je 0x42c680
call fcn.0041fa80
mov esi, eax
jmp 0x42c682
xor esi, esi
push 0
push 0x46c04c
or eax, 0xffffffff
mov ecx, esi
call fcn.004022c0
mov eax, dword [ebp - 0x2c0]
push 0
push eax
lea ecx, [esi + 0x8c]
or eax, 0xffffffff
call fcn.004022c0
push 0
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [esi + 0x38]
or eax, 0xffffffff
call fcn.004022c0
mov ebx, dword [ebp - 0x2bc]
mov ecx, esi
call fcn.0042bd60
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x42c6e7
mov edx, dword [ebp - 0x254]
push edx
call fcn.00437245
add esp, 4
xor eax, eax
xor ecx, ecx
mov byte [ebp - 4], al
cmp dword [ebp - 0x25c], esi
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x244], eax
jmp 0x42c64d
mov eax, dword [ebp - 0x2b0]
push eax
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