Function at 0x404e10
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x454
mov eax, dword [0x4293c0]
xor eax, esp
mov dword [esp + 0x450], eax
push ebx
mov ebx, dword [esp + 0x460]
push ebp
push esi
push edi
mov edi, dword [esp + 0x468]
push 0x103
xor ebp, ebp
lea eax, [esp + 0x361]
mov esi, ecx
push ebp
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov byte [esp + 0x368], 0
call fcn.0040d980
push 0x103
lea ecx, [esp + 0x61]
push ebp
push ecx
mov byte [esp + 0x68], 0
call fcn.0040d980
push 0x103
lea edx, [esp + 0x171]
push ebp
push edx
mov byte [esp + 0x178], 0
call fcn.0040d980
push ebx
push edi
push str.UninstCommandClass::QueryClassKeyNamesForDelete__s__s__n
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x60], 1
call fcn.00404160
add esp, 0x30
cmp ebx, 0x41d9bd
je 0x404ec5
push ebx
push 0x41d598
lea eax, [esp + 0x58]
push eax
jmp 0x404ed0
push edi
push str.SYSTEMCurrentControlSetControlClass_s
lea ecx, [esp + 0x58]
push ecx
call fcn.0040dd41
add esp, 0xc
lea edx, [esp + 0x50]
push edx
push str.Enumerating_Reg_Path:_s_n
call fcn.00404160
add esp, 8
lea eax, [esp + 0x18]
push eax
push 0x20019
push ebp
lea ecx, [esp + 0x5c]
push ecx
push 0x80000002
call dword [0x41d078]
test eax, eax
jne 0x4052c5
lea ecx, [ecx]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x38]
push ecx
push 0
push 0
lea edx, [esp + 0x38]
push edx
push 0
push 0
push 0
push eax
call dword [0x41d05c]
test eax, eax
jne 0x4052c5
cmp ebx, 0x41d9bd
je 0x4051a4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4051a4
mov ecx, 1
add dword [esp + 0x20], ecx
add dword [esp + 0x14], ecx
push eax
push str.Number_of_reg_names:__d_n
call fcn.00404160
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040d90b
mov edx, dword [esp + 0x20]
push edx
mov ebp, eax
call fcn.0040d90b
mov edi, eax
xor eax, eax
add esp, 0x10
cmp ebp, eax
mov dword [esp + 0x34], edi
je 0x405192
cmp edi, eax
je 0x405192
cmp dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
jbe 0x405146
jmp 0x404fc0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push eax
push 0
push ebp
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call fcn.0040d980
mov edx, dword [esp + 0x20]
push edx
push 0
push edi
call fcn.0040d980
add esp, 0x18
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x28]
push edi
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x54]
push edx
push ebp
push eax
push ecx
call dword [0x41d054]
xor ebx, ebx
cmp dword [0x42ec3c], ebx
jle 0x405104
lea ebx, [ebx]
push str.set_AddRegName__0
mov ecx, esi
call fcn.004026a0
push ebp
lea edx, [esp + 0x25c]
push str.if__s
push edx
call fcn.0040dd41
lea edi, [esp + 0x264]
add esp, 0xc
add edi, 0xffffffff
lea esp, [esp]
mov al, byte [edi + 1]
add edi, 1
test al, al
jne 0x405050
mov ecx, dword [ebx*4 + 0x42a9a8]
mov ax, word [0x41f42c]
push ecx
lea edx, [esp + 0x25c]
push edx
mov word [edi], ax
mov eax, edx
push str._s_s_then_set_AddRegName__1
push eax
call fcn.0040dd41
add esp, 0x10
lea ecx, [esp + 0x258]
push ecx
mov ecx, esi
call fcn.004026a0
push str.AddRegName
mov ecx, esi
mov edi, 0x41f3fc
call fcn.004010e0
mov esi, eax
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4050c5
mov esi, dword [esp + 0x2c]
add ebx, 1
cmp ebx, dword [0x42ec3c]
jl 0x405020
jmp 0x405100
cmp dword [esp + 0x10], edx
push ebp
jne 0x4050e0
push 0x41d598
push 0x42aae8
call fcn.0040dd41
add esp, 0xc
jmp 0x4050f7
push 0x42aae8
push str._s__s
push 0x42aae8
call fcn.0040dd41
add esp, 0x10
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
cmp eax, 0x40
jge 0x40512c
mov eax, dword [esp + 0x24]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], eax
jb 0x404fc0
jmp 0x405142
push eax
push str.g_ClassRegNamelist_has_reached_its_max_level_to_store_the_names_count___d_._Will_delete_the_current_elements_and_query_the_names_again__n
call fcn.00404160
add esp, 8
mov dword [esp + 0x30], 1
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
push eax
push str.Number_of_elements_inside_g_ClassRegNamelist:_d_n
call fcn.00404160
push 0x42aae8
push str.Elements_inside_g_ClassRegNamelist:__s_n
call fcn.00404160
add esp, 0x10
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00404d40
push ebp
call fcn.0040d975
push edi
call fcn.0040d975
add esp, 8
cmp dword [esp + 0x30], 1
je 0x404f10
jmp 0x4052af
push str.Could_not_allocate_memory_for_szName_and_pValue_n
call fcn.00404160
add esp, 4
jmp 0x404f10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x404f10
push eax
push str.Number_of_subkeys:__d_n
call fcn.00404160
xor edi, edi
add esp, 8
cmp dword [esp + 0x1c], edi
jbe 0x4052af
mov ebx, dword [0x41d058]
mov ebp, 0x104
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x168]
push eax
push edi
push ecx
mov dword [esp + 0x60], ebp
call ebx
test eax, eax
jne 0x4052a2
lea edx, [esp + 0x154]
push edx
push str.Current_subkey:__s_n
call fcn.00404160
add esp, 8
xor eax, eax
jmp 0x405220
mov cl, byte [esp + eax + 0x50]
mov byte [esp + eax + 0x35c], cl
add eax, 1
test cl, cl
jne 0x405220
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x54]
push ecx
mov edx, ecx
push str._s_s
push edx
call fcn.0040dd41
lea eax, [esp + 0x164]
push str.Properties
push eax
call fcn.0040d89a
add esp, 0x18
test eax, eax
je 0x405276
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.00404e10
push str.Placing_back_the_original_Class_Path_n
call fcn.00404160
add esp, 4
xor eax, eax
jmp 0x405290
mov cl, byte [esp + eax + 0x35c]
mov byte [esp + eax + 0x50], cl
add eax, 1
test cl, cl
jne 0x405290
add edi, 1
cmp edi, dword [esp + 0x1c]
jb 0x4051d5
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4052be
push eax
call dword [0x41d080]
mov eax, 1
jmp 0x4052c7
xor eax, eax
mov ecx, dword [esp + 0x460]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040dd32
add esp, 0x454
ret 8