Function at 0x405a30
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x130
mov eax, dword [0x4243c0]
xor eax, esp
mov dword [esp + 0x12c], eax
mov eax, dword [esp + 0x140]
push ebx
push ebp
mov ebp, dword [esp + 0x140]
push esi
mov esi, dword [esp + 0x148]
mov ebx, ecx
mov ecx, dword [esp + 0x150]
push edi
mov edi, dword [esp + 0x144]
push str.UninstCommandClass::NvEnumKeys_n
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
call fcn.00403da0
add esp, 4
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405aa0
sub eax, edx
cmp esi, eax
jae 0x405c97
push 0x41c970
add esi, ebp
push esi
call fcn.0040b30d
mov esi, eax
add esp, 8
test esi, esi
jne 0x405ad3
mov edx, dword [esp + 0x10]
push edx
jmp 0x405c9c
lea eax, [esi + 3]
push 0x41c96c
push eax
mov dword [esp + 0x30], eax
call fcn.0040b30d
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x405afc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
push eax
jmp 0x405c9e
mov byte [ebx], 0
add ebx, 1
mov byte [esi], 0
cmp byte [ebx], 0x5c
jne 0x405b0d
add ebx, 1
lea ecx, [esp + 0x20]
push ecx
push 0x20019
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x405b30
xor eax, eax
jmp 0x405ca4
test eax, eax
jne 0x405c91
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x30]
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x405c86
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x405c86
lea esp, [esp]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x40]
push ecx
sub eax, 1
lea edx, [esp + 0x50]
push edx
push eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x3c]
push eax
mov dword [esp + 0x50], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
je 0x405bbd
push eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.00401360
test eax, eax
je 0x405c7a
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405bc2
sub eax, edx
mov edi, eax
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405bd6
sub eax, edx
mov edx, eax
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405be8
sub eax, esi
add eax, edx
lea edx, [eax + edi + 3]
push edx
call fcn.0040b5ab
add esp, 4
cmp byte [ebx], 0
mov esi, eax
je 0x405c20
push ebx
lea eax, [esp + 0x40]
push eax
push ebp
push str._s_s_s
push esi
call fcn.0040b9e1
add esp, 0x14
jmp 0x405c34
lea ecx, [esp + 0x3c]
push ecx
push ebp
push str._s_s
push esi
call fcn.0040b9e1
add esp, 0x10
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
jmp 0x405c40
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x405c40
mov ecx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
lea eax, [eax + edx + 2]
push eax
push esi
push ecx
mov ecx, dword [esp + 0x38]
call fcn.00405a30
add dword [esp + 0x1c], eax
push esi
call fcn.0040b615
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
ja 0x405b70
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
jmp 0x405ca4
mov eax, dword [esp + 0x10]
push eax
mov ecx, ebx
push ebp
push edi
call dword [esp + 0x24]
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b9d2
add esp, 0x130
ret 0x14