Function at 0x446810
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8efb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
xor esi, esi
mov eax, dword [ebx + 0xc]
push edi
cmp eax, esi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
je 0x44685c
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41a700
push ecx
push 0x20
push eax
call fcn.00478598
push edi
call fcn.0048fc88
add esp, 4
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x44686c
push eax
call fcn.0048fc88
add esp, 4
lea edi, [ebx + 0x14]
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMenuOrderFavorites_
mov ecx, edi
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 8], esi
mov dword [ebp - 0x28], esi
call fcn.0048f7ca
mov edx, dword [ebp + 8]
mov ecx, edi
push edx
call fcn.0048fa1d
mov edi, dword [edi]
lea eax, [ebp - 0x1c]
push eax
push edi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
cmp eax, esi
jne 0x446b2c
mov eax, dword [ebp - 0x1c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x20]
push ecx
push esi
push edx
push esi
push str.Order
push eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], esi
call edi
mov eax, dword [ebp - 0x14]
cmp eax, esi
jbe 0x446b22
push eax
mov dword [ebp - 4], esi
call fcn.0048fc5f
add esp, 4
lea ecx, [ebp - 0x14]
mov esi, eax
mov eax, dword [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push esi
push edx
push 0
push str.Order
push eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0xffffffff
call edi
cmp dword [ebp - 0x20], 3
jne 0x446b19
lea edx, [ebp + 8]
lea ecx, [esi + 8]
push 0
push edx
mov dword [ebp + 8], ecx
call fcn.00446630
mov dword [ebx], eax
lea eax, [ebp + 8]
push 0
push eax
call fcn.00446630
lea ecx, [ebp + 8]
push 0
push ecx
mov dword [ebx + 4], eax
call fcn.00446630
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [ebx + 8], edi
jle 0x4469e1
mov edx, edi
mov dword [ebp - 4], 2
shl edx, 5
add edx, 4
push edx
call fcn.0048fc5f
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x44698f
push 0x41a700
mov dword [eax], edi
push 0x446b70
add eax, 4
push edi
push 0x20
push eax
mov dword [ebp - 0x2c], eax
call fcn.00478516
mov eax, dword [ebp - 0x2c]
jmp 0x446991
xor eax, eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 8]
shl eax, 2
push eax
mov byte [ebp - 4], 2
call fcn.0048fc5f
mov ecx, dword [ebx + 8]
mov edi, eax
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x4469da
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x446b19
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x446b19
mov ecx, dword [ebp - 0x14]
mov edi, dword [ebp + 8]
lea edx, [ebp + 8]
lea eax, [ecx + esi]
mov esi, dword [ebp - 0x18]
push eax
push edx
shl esi, 5
call fcn.00446630
mov ecx, dword [ebx + 0xc]
mov dword [esi + ecx], eax
mov edx, dword [ebx + 0xc]
mov eax, dword [esi + edx]
add edi, eax
lea eax, [ebp + 8]
push edi
push eax
call fcn.00446630
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 4], eax
call fcn.00446650
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 8], ax
call fcn.00446650
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0xa], ax
call fcn.00446630
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 0xc], eax
call fcn.00446650
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x10], ax
call fcn.00446650
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x12], ax
call fcn.00446650
mov ecx, dword [ebx + 0xc]
add esp, 0x40
mov word [esi + ecx + 0x14], ax
mov edx, dword [ebx + 0xc]
push edi
test byte [esi + edx + 0xa], 4
je 0x446aba
lea eax, [ebp + 8]
push eax
call fcn.00446740
jmp 0x446ac3
lea edx, [ebp + 8]
push edx
call fcn.00446680
mov ecx, dword [ebx + 0xc]
add esp, 8
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 0x18], eax
call fcn.00446680
mov ecx, dword [ebx + 0xc]
add esp, 8
mov dword [esi + ecx + 0x1c], eax
mov edx, dword [ebx + 0xc]
mov esi, dword [esi + edx + 4]
test esi, esi
jl 0x446afa
cmp esi, dword [ebx + 8]
jge 0x446afa
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [eax + esi*4], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebx + 8]
mov esi, dword [ebp - 0x24]
inc eax
cmp eax, ecx
mov dword [ebp + 8], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x18], eax
jl 0x4469f3
push esi
call fcn.0048fc88
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4