Function at 0x467d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20034
call fcn.00493680
push ebx
mov ebx, dword [0x4c0e18]
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x4c17f0]
push 0x49e30c
call fcn.0046dd60
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.0046dd60
test esi, esi
je case.0x467dfb.5
mov ecx, dword [ebp + 8]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne case.0x467dfb.5
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push eax
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [esp + 0x1c]
push esi
push eax
call edi
test eax, eax
je 0x467ded
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esp + 0x14]
dec eax
cmp eax, 6
ja case.0x467dfb.5
jmp dword [eax*4 + 0x4680ac]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0
push esi
push ecx
mov dword [esp + 0x28], 4
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
mov eax, dword [esp + 0x18]
push 0x18
push 0
push eax
mov eax, ebx
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0
push esi
push edx
mov dword [esp + 0x28], 0
call edi
test eax, eax
jne 0x467f8c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x467f8c
push 1
shr eax, 1
push 0
add eax, 2
push eax
push 0
mov ecx, ebx
call fcn.0046dd60
cmp eax, 1
je 0x467ebc
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 1
mov ecx, ebx
call fcn.00401240
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x10]
push ecx
mov esi, eax
mov eax, dword [esp + 0x10]
push esi
push 0
push 0
push edx
push eax
call edi
mov ecx, dword [esp + 0xc]
push ecx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x467f21
mov eax, dword [esp + 0x10]
test eax, eax
je 0x467f21
shr eax, 1
xor edx, edx
mov dword [esi + eax*2], edx
cmp dword [esp + 0x14], 7
jne 0x467f26
mov eax, esi
cmp word [eax], 0
jne 0x467f1c
cmp word [eax + 2], 0
mov edx, 0xa
mov word [eax], dx
je 0x467f26
add eax, 2
jmp 0x467f07
xor eax, eax
mov word [esi], ax
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x467f41
sub eax, edx
sar eax, 1
mov edi, eax
mov eax, ebx
call fcn.00412a20
cmp byte [ebx + 0x17], 0
jne 0x467f62
mov ebx, dword [ebx + 0xc]
cmp byte [ebx + 0x17], 2
jne 0x468098
cmp dword [0x4c3158], 0
je 0x468098
mov ecx, 0x4c314c
call fcn.00403d50
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x4c17f0]
push 1
push 0
push 0xffffffffffffffff
push 0x49b8d0
call fcn.0046dd60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x44]
push eax
push 0
push 0
push esi
push ecx
mov dword [esp + 0x28], 0x1fffe
call edi
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xea
je case.0x467dfb.5
mov eax, dword [esp + 0x10]
push 1
push 0
lea ecx, [eax + eax]
push ecx
push 0
mov ecx, ebx
call fcn.0046dd60
cmp eax, 1
jne 0x467eb1
push 0
push eax
mov ecx, ebx
call fcn.00401240
xor edx, edx
mov word [eax], dx
mov ecx, 8
mov esi, str.0123456789ABCDEF
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor esi, esi
cmp dword [esp + 0x10], edx
jbe 0x468061
movzx ecx, byte [esp + esi + 0x40]
mov edi, ecx
shr ecx, 4
and edi, 0xf
mov di, word [esp + edi*2 + 0x1c]
and ecx, 0xf
mov cx, word [esp + ecx*2 + 0x1c]
mov word [eax + edx*2 + 2], di
mov word [eax + edx*2], cx
inc esi
add edx, 2
cmp esi, dword [esp + 0x10]
jb 0x468034
xor ecx, ecx
push 1
push ecx
push 0xffffffffffffffff
mov word [eax + edx*2], cx
mov ecx, dword [0x4c17f0]
push 0x49b8d0
call fcn.0046dd60
cmp byte [ebx + 0x17], 0
jne 0x468085
mov ebx, dword [ebx + 0xc]
cmp byte [ebx + 0x17], 2
jne 0x468098
cmp dword [0x4c3158], 0
jne 0x467f79
and byte [ebx + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8