Function at 0x40932d
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x41c60c
call fcn.00411e88
mov eax, 0x41ec
call fcn.00412b10
push ebx
push esi
push edi
push 1
pop esi
mov edi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x48], esi
call fcn.00409aaa
xor ebx, ebx
push 0x9c
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.004126a0
mov eax, dword [ebp + 8]
add esp, 0xc
shl eax, 4
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x34], ebx
lea eax, [eax + edi + 4]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ebx
cmp eax, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x4c], esi
jne 0x4093a0
mov eax, 0x41d6b8
push eax
call fcn.0040ec64
mov esi, eax
pop ecx
cmp esi, ebx
je 0x4093c1
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push 0x41d4f8
push esi
call dword [eax]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4093d0
mov eax, 0x41d6b8
push eax
call fcn.0040ec64
mov esi, eax
pop ecx
cmp esi, ebx
je 0x409428
mov eax, dword [esi]
lea ecx, [ebp - 0x44]
push ecx
push 0x41d638
push esi
call dword [eax]
cmp eax, ebx
jl 0x40941f
mov eax, dword [ebp - 0x44]
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x24], ebx
mov dword [ebp - 0x40], 1
je 0x409416
cmp dword [ebp - 0x24], 2
je 0x409416
mov dword [ebp - 0x4c], ebx
jmp 0x409422
mov dword [ebp - 0x4c], 1
jmp 0x409422
mov dword [ebp - 0x44], ebx
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [ebp - 0x34], ebx
je 0x409919
lea eax, [ebp - 0x1f8]
push 0x104
push eax
call sub.hccutils.DLL_GetCommonRegKey
pop ecx
lea eax, [ebp - 0x2c]
pop ecx
push eax
push 0x20019
lea eax, [ebp - 0x1f8]
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4096e4
cmp dword [ebp + 8], ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x41f8]
push eax
push ebx
mov dword [ebp - 0x18], 0x4000
push ebx
jne 0x409488
push str.CUIModesCacheDisplay1
jmp 0x40948d
push str.CUIModesCacheDisplay2
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 8]
lea esi, [edi + eax*4 + 0x60]
mov dword [ebp - 0x54], esi
mov dword [esi], ebx
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xf4]
push edx
push 0x9c
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
mov edi, eax
cmp edi, ebx
jge 0x4094ca
cmp edi, 0x80070006
jne 0x4094e8
cmp edi, 0x80070006
jne 0x4094d6
inc dword [esi]
jmp 0x4094a5
inc dword [esi]
test byte [ebp - 0xcc], 0x80
je 0x4094a5
mov dword [ebp - 0x58], 1
cmp dword [ebp - 0x20], ebx
mov dword [esi], ebx
jne 0x4096c8
shr dword [ebp - 0x18], 4
mov dword [ebp - 0x50], ebx
je 0x4096c1
lea eax, [ebp - 0x41f0]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x58], ebx
push 1
pop ecx
je 0x409535
cmp dword [ebp - 0x40], ebx
je 0x409535
cmp dword [ebp - 0x4c], ebx
je 0x409524
mov edx, dword [eax - 4]
cmp edx, dword [eax]
jae 0x40952d
jmp 0x40952b
mov ecx, dword [eax - 4]
cmp ecx, dword [eax]
jbe 0x409535
xor ecx, ecx
cmp ecx, ebx
je 0x4096ac
mov ecx, dword [eax + 4]
or byte [ebp - 0xca], 0x40
mov dword [ebp - 0x7c], ecx
mov ecx, dword [eax - 8]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax]
mov eax, dword [eax - 4]
push 4
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x88], eax
call fcn.00411ea7
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
pop ecx
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x409576
mov eax, 0x41d6b8
lea ecx, [ebp - 0xd]
push ebx
push ecx
lea ecx, [ebp - 0xf4]
push dword [ebp - 0x38]
push ecx
push eax
call fcn.0040f2c4
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
add eax, 4
add esp, 0x14
shl eax, 4
lea edi, [eax + ecx]
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
mov dword [ebp - 0x20], edi
call fcn.00409d05
cmp dword [eax], ebx
jne 0x4095ff
push 0x10
call fcn.00411ea7
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x4095e3
mov al, byte [ebp + 0xb]
mov ecx, esi
mov byte [esi], al
mov al, byte [ebp + 0xb]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.0040aff3
jmp 0x4095e5
xor esi, esi
mov eax, dword [ebp - 0x8c]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00409d05
mov dword [eax], esi
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
lea edi, [ecx + eax*4 + 0x38]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
push eax
call fcn.00409d05
mov eax, dword [eax]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
mov dword [edi], eax
call fcn.00409d8f
cmp dword [eax], ebx
jne 0x409679
push 0x10
call fcn.00411ea7
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
mov dword [ebp - 4], 1
je 0x409663
mov al, byte [ebp + 0xb]
mov ecx, esi
mov byte [esi], al
mov al, byte [ebp + 0xb]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.0040b3e7
jmp 0x409665
xor esi, esi
mov ecx, dword [edi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x88]
push eax
call fcn.00409d8f
mov dword [eax], esi
mov ecx, dword [edi]
lea eax, [ebp - 0x88]
push eax
call fcn.00409d8f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx + edx*4 + 0x30], eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00409e17
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x54]
mov dword [eax], ecx
mov eax, dword [ebp - 0x30]
inc dword [ebp - 0x50]
add eax, 0x10
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
cmp ecx, dword [ebp - 0x18]
jb 0x409509
mov eax, dword [ebp - 0x18]
xor edi, edi
mov dword [esi], eax
cmp dword [ebp - 0x2c], ebx
je 0x4096d9
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x2c], ebx
cmp edi, ebx
mov edi, dword [ebp - 0x14]
jge 0x409904
mov eax, dword [ebp + 8]
lea esi, [edi + eax*4 + 0x60]
mov dword [ebp - 0x54], esi
mov dword [esi], ebx
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xf4]
push edx
push 0x9c
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x6c]
cmp eax, ebx
jge 0x409716
cmp eax, 0x80070006
jne 0x409904
cmp eax, 0x80070006
je 0x4098fd
test byte [ebp - 0xcc], 0x80
push 1
pop ecx
je 0x40975b
mov eax, dword [ebp - 0xc0]
sub eax, ebx
je 0x40974d
dec eax
je 0x409749
dec eax
je 0x409745
dec eax
jne 0x40974d
push 3
pop eax
jmp 0x40974f
push 2
jmp 0x409742
mov eax, ecx
jmp 0x40974f
xor eax, eax
cmp dword [ebp - 0x40], ebx
je 0x40975b
cmp dword [ebp - 0x24], eax
je 0x40975b
xor ecx, ecx
cmp dword [ebp - 0x8c], 4
jbe 0x4098fd
cmp dword [ebp - 0x88], 0x280
jb 0x4098fd
cmp dword [ebp - 0x84], 0x1e0
jb 0x4098fd
cmp ecx, ebx
je 0x4098fd
mov eax, 0x400000
test dword [ebp - 0xcc], eax
jne 0x4097a6
or dword [ebp - 0xcc], eax
mov dword [ebp - 0x7c], ebx
push 4
call fcn.00411ea7
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x3c]
pop ecx
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x4097c0
mov eax, 0x41d6b8
lea ecx, [ebp - 0xd]
push ebx
push ecx
lea ecx, [ebp - 0xf4]
push dword [ebp - 0x30]
push ecx
push eax
call fcn.0040f2c4
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
add eax, 4
add esp, 0x14
shl eax, 4
mov byte [ebp - 0xd], bl
lea edi, [eax + ecx]
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov dword [ebp - 0x20], edi
call fcn.00409d05
cmp dword [eax], ebx
jne 0x409850
push 0x10
call fcn.00411ea7
mov esi, eax
pop ecx
mov dword [ebp - 0x28], esi
cmp esi, ebx
mov dword [ebp - 4], 2
je 0x409834
mov al, byte [ebp + 0xb]
mov ecx, esi
mov byte [esi], al
mov al, byte [ebp + 0xb]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.0040aff3
jmp 0x409836
xor esi, esi
mov eax, dword [ebp - 0x8c]
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, edi
call fcn.00409d05
mov dword [eax], esi
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 8]
lea edi, [ecx + eax*4 + 0x38]
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push eax
call fcn.00409d05
mov eax, dword [eax]
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
mov dword [edi], eax
call fcn.00409d8f
cmp dword [eax], ebx
jne 0x4098ca
push 0x10
call fcn.00411ea7
mov esi, eax
pop ecx
mov dword [ebp - 0x28], esi
cmp esi, ebx
mov dword [ebp - 4], 3
je 0x4098b4
mov al, byte [ebp + 0xb]
mov ecx, esi
mov byte [esi], al
mov al, byte [ebp + 0xb]
mov byte [esi + 1], al
mov byte [esi + 8], bl
call fcn.0040b3e7
jmp 0x4098b6
xor esi, esi
mov ecx, dword [edi]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x88]
push eax
call fcn.00409d8f
mov dword [eax], esi
mov ecx, dword [edi]
lea eax, [ebp - 0x88]
push eax
call fcn.00409d8f
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ecx + edx*4 + 0x30], eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, eax
call fcn.00409e17
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x14]
mov dword [eax], ecx
inc dword [esi]
jmp 0x4096f0
cmp dword [esi], ebx
jbe 0x409923
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], 1
mov byte [eax + edi + 0x28], 1
jmp 0x409923
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], ebx
mov byte [eax + edi + 0x28], bl
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4