Function at 0x4210f0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4403b3
mov eax, dword fs:[0]
push eax
sub esp, 0x2d8
mov eax, dword [0x45407c]
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 0x421141
mov eax, dword [ebx]
jmp 0x421143
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 0x421566
mov dword [ebp - 0x2c8], esi
xor eax, eax
lea esp, [esp]
cmp eax, esi
jne 0x421559
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 0x42121f
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 0x4211d5
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
lea esi, [ebp - 0x270]
call fcn.004040e0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x260], 0
jne 0x421238
mov byte [ebp - 4], 0
cmp dword [ebp - 0x25c], 8
jb 0x42121f
mov ecx, dword [ebp - 0x270]
push ecx
call fcn.00427715
add esp, 4
inc dword [ebp - 0x2c8]
mov eax, dword [ebp - 0x2e0]
mov ebx, dword [ebp - 0x2d0]
xor esi, esi
jmp 0x421170
xor edx, edx
push 1
mov eax, 0x44aa28
lea esi, [ebp - 0x28c]
mov dword [ebp - 0x278], edi
mov dword [ebp - 0x27c], 0
mov word [ebp - 0x28c], dx
call fcn.004040e0
lea eax, [ebp - 0x2c4]
push eax
mov eax, esi
mov byte [ebp - 4], 2
call fcn.00412ef0
add esp, 4
mov ecx, eax
lea eax, [ebp - 0x270]
lea ebx, [ebp - 0x254]
mov byte [ebp - 4], 3
call fcn.00415a50
mov edi, 8
cmp dword [ebp - 0x2b0], edi
jb 0x4212ab
mov ecx, dword [ebp - 0x2c4]
push ecx
call fcn.00427715
add esp, 4
mov ebx, 7
xor esi, esi
xor edx, edx
mov dword [ebp - 0x2b0], ebx
mov dword [ebp - 0x2b4], esi
mov word [ebp - 0x2c4], dx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x278], edi
jb 0x4212e2
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00427715
add esp, 4
mov dword [ebp - 0x27c], esi
xor ecx, ecx
mov dword [ebp - 0x228], esi
xor edx, edx
push 0xc
mov eax, str.fullKeyPath
lea esi, [ebp - 0x238]
mov dword [ebp - 0x278], ebx
mov word [ebp - 0x28c], cx
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x238], dx
call fcn.004040e0
mov byte [ebp - 4], bl
lea eax, [ebp - 0x254]
mov ecx, esi
lea ebx, [ebp - 0x2a8]
call fcn.00415a50
mov esi, 8
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], esi
jb 0x421344
mov eax, dword [eax]
mov ecx, dword [0x458868]
push eax
push str.INFO
call fcn.00404920
cmp dword [ebp - 0x294], esi
jb 0x42136c
mov eax, dword [ebp - 0x2a8]
push eax
call fcn.00427715
add esp, 4
xor ebx, ebx
xor ecx, ecx
mov edi, 7
mov byte [ebp - 4], 6
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x298], ebx
mov word [ebp - 0x2a8], cx
cmp dword [ebp - 0x224], esi
jb 0x4213a3
mov edx, dword [ebp - 0x238]
push edx
call fcn.00427715
add esp, 4
xor eax, eax
mov word [ebp - 0x238], ax
push esi
mov eax, str.JavaHome
lea esi, [ebp - 0x238]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
call fcn.004040e0
mov edx, esi
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 9
call fcn.00421590
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x224], 8
mov dword [ebp - 0x2d4], esi
jb 0x4213fe
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00427715
add esp, 4
xor edx, edx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
mov word [ebp - 0x238], dx
cmp dword [esi + 0x10], ebx
jne 0x421461
cmp dword [ebp - 0x240], 8
jb 0x421430
mov eax, dword [ebp - 0x254]
push eax
call fcn.00427715
add esp, 4
xor ecx, ecx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x25c], 8
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], cx
jb 0x42121f
mov edx, dword [ebp - 0x270]
push edx
jmp 0x421217
push 0xc8
call fcn.00427771
add esp, 4
cmp eax, ebx
je 0x42147b
call fcn.00411b80
mov esi, eax
jmp 0x42147d
xor esi, esi
push ebx
push 0x456c70
or eax, 0xffffffff
mov ecx, esi
call fcn.00403ee0
mov eax, dword [ebp - 0x2d4]
push ebx
push eax
lea ecx, [esi + 0x8c]
or eax, 0xffffffff
call fcn.00403ee0
push ebx
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [esi + 0x38]
or eax, 0xffffffff
call fcn.00403ee0
mov ebx, dword [ebp - 0x2d8]
mov ecx, esi
call fcn.004206a0
mov esi, 8
cmp dword [ebp - 0x240], esi
jb 0x4214df
mov edx, dword [ebp - 0x254]
push edx
call fcn.00427715
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 0x421448
mov eax, dword [ebp - 0x2cc]
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.004276fb
mov esp, ebp
pop ebp
ret 4