Function at 0x4476f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a964b
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 0x44773c
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41b520
push ecx
push 0x20
push eax
call fcn.00479857
push edi
call fcn.004901b8
add esp, 4
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x44774c
push eax
call fcn.004901b8
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.0048fcfa
mov edx, dword [ebp + 8]
mov ecx, edi
push edx
call fcn.0048ff4d
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 0x447a0c
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 0x447a02
push eax
mov dword [ebp - 4], esi
call fcn.0049018f
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 0x4479f9
lea edx, [ebp + 8]
lea ecx, [esi + 8]
push 0
push edx
mov dword [ebp + 8], ecx
call fcn.00447510
mov dword [ebx], eax
lea eax, [ebp + 8]
push 0
push eax
call fcn.00447510
lea ecx, [ebp + 8]
push 0
push ecx
mov dword [ebx + 4], eax
call fcn.00447510
mov edi, eax
add esp, 0x18
test edi, edi
mov dword [ebx + 8], edi
jle 0x4478c1
mov edx, edi
mov dword [ebp - 4], 2
shl edx, 5
add edx, 4
push edx
call fcn.0049018f
add esp, 4
mov dword [ebp - 0x30], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x44786f
push 0x41b520
mov dword [eax], edi
push 0x447a50
add eax, 4
push edi
push 0x20
push eax
mov dword [ebp - 0x2c], eax
call fcn.004797d5
mov eax, dword [ebp - 0x2c]
jmp 0x447871
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.0049018f
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 0x4478ba
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 8]
mov dword [ebp - 0x18], 0
test eax, eax
jle 0x4479f9
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4479f9
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.00447510
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.00447510
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 4], eax
call fcn.00447530
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 8], ax
call fcn.00447530
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0xa], ax
call fcn.00447510
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 0xc], eax
call fcn.00447530
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x10], ax
call fcn.00447530
mov ecx, dword [ebx + 0xc]
lea edx, [ebp + 8]
push edi
push edx
mov word [esi + ecx + 0x12], ax
call fcn.00447530
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 0x44799a
lea eax, [ebp + 8]
push eax
call fcn.00447620
jmp 0x4479a3
lea edx, [ebp + 8]
push edx
call fcn.00447560
mov ecx, dword [ebx + 0xc]
add esp, 8
lea edx, [ebp + 8]
push edi
push edx
mov dword [esi + ecx + 0x18], eax
call fcn.00447560
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 0x4479da
cmp esi, dword [ebx + 8]
jge 0x4479da
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 0x4478d3
push esi
call fcn.004901b8
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