Function at 0x48e3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x27c]
sub esp, 0x27c
push 0xffffffffffffffff
push 0x4dfb2c
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5021c0]
xor eax, ebp
mov dword [ebp + 0x278], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [ebp + 0x284]
mov ecx, dword [ebp + 0x28c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x288]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], ecx
mov dword [eax], 0
cmp dword [esi + 0x30], 0
jne 0x48e773
cmp dword [esi + 0xc], 0
je 0x48e773
mov eax, dword [esi + 0x18]
cmp eax, dword [esi + 0x1c]
je 0x48e773
mov ecx, 0x40
lea eax, [ebp + 0x30]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x48e477
lea eax, [ebp + 0x30]
push eax
push 0x4f090c
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
neg eax
lea ecx, [ebp + 0x30]
sbb edi, edi
inc edi
lea ecx, [ecx + edi*4]
push ecx
push 0x4f0dc0
push 0x80000000
lea ebx, [edi + 1]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x48e4bb
mov ebx, edi
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], ebx
cmp dword [eax + 0x14], 7
jbe 0x48e4c9
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x48e513
lea eax, [ebp + 0x30]
lea eax, [eax + ebx*4]
inc ebx
push eax
push str.Folder
push 0x80000000
call edi
test eax, eax
je 0x48e4f5
mov ebx, dword [ebp - 0x10]
lea eax, [ebp + 0x30]
mov dword [ebp - 0x10], ebx
lea eax, [eax + ebx*4]
inc ebx
push eax
push str.Directory
push 0x80000000
call edi
test eax, eax
je 0x48e513
mov ebx, dword [ebp - 0x10]
mov edx, dword [esi + 0x18]
mov ecx, edx
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x48e523
mov ecx, dword [edx]
test eax, eax
je 0x48e553
dec eax
cmp eax, 0xffffffff
jb 0x48e530
or eax, 0xffffffff
cmp word [ecx + eax*2], 0x2e
lea eax, [ecx + eax*2]
je 0x48e54d
lea ebx, [ebx]
cmp eax, ecx
je 0x48e553
sub eax, 2
cmp word [eax], 0x2e
jne 0x48e540
sub eax, ecx
sar eax, 1
jmp 0x48e556
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp + 0x2c], 7
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
mov dword [ebp + 0x20], ecx
mov dword [ebp + 0x24], ecx
mov dword [ebp + 0x28], ecx
mov word [ebp + 0x18], cx
mov dword [ebp - 4], ecx
cmp eax, 0xffffffff
je 0x48e662
mov dword [ebp], ecx
mov dword [ebp + 4], ecx
mov dword [ebp + 8], ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], ecx
mov ecx, dword [edx + 0x10]
cmp ecx, eax
jb 0x48e79a
sub ecx, eax
cmp ecx, 0xffffffff
jb 0x48e5a5
or ecx, 0xffffffff
cmp dword [edx + 0x14], 7
jbe 0x48e5ad
mov edx, dword [edx]
push ecx
lea eax, [edx + eax*2]
push eax
lea ecx, [ebp]
call fcn.00403450
lea ecx, [ebp + 0x18]
call fcn.004027a0
mov eax, dword [ebp + 4]
lea ecx, [ebp + 0x30]
mov edx, dword [ebp]
lea ecx, [ecx + ebx*4]
mov dword [ebp + 0x1c], eax
inc ebx
mov eax, dword [ebp + 8]
mov dword [ebp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], ecx
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x18], edx
mov dword [ebp + 0x2c], eax
mov dword [ebp - 0x1c], ebx
cmp eax, 7
jbe 0x48e5fd
mov ecx, edx
push dword [ebp - 0x10]
push ecx
push 0x80000000
call edi
test eax, eax
jne 0x48e662
push 0x208
push eax
lea eax, [ebp + 0x70]
push eax
call fcn.004affe0
add esp, 0xc
mov dword [ebp - 0x10], 0x104
lea ecx, [ebp - 0x10]
lea eax, [ebp + 0x30]
lea eax, [eax + ebx*4]
push ecx
lea ecx, [ebp + 0x70]
mov dword [ebp - 0x20], eax
push ecx
push 0
push 0
push 0x4eb5ac
push dword [eax - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48e662
push dword [ebp - 0x20]
lea eax, [ebp + 0x70]
inc ebx
push eax
push 0x80000000
call edi
test eax, eax
je 0x48e662
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x48e670
mov eax, dword [ecx]
push 1
call dword [eax + 0x34]
push 0xc
call fcn.004acccd
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
mov esi, dword [esi + 0xc]
mov dword [edi], vtable.CIShellFolderHook.0
push esi
mov ecx, dword [esi]
call dword [ecx + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp + 0x30]
mov dword [edi + 4], esi
push ecx
push ebx
push 0x490990
push edi
mov dword [edi + 8], eax
mov byte [ebp - 4], 0
push dword [eax + 0x10]
mov dword [eax + 0x30], edi
push dword [eax + 0x14]
mov dword [ebp - 0x14], 0
push dword [ebp - 0x28]
push 0
call dword [sym.imp.SHELL32.dll_CDefFolderMenu_Create2]
test eax, eax
js 0x48e765
xor esi, esi
test ebx, ebx
je 0x48e6eb
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ecx]
push dword [ebp + esi*4 + 0x30]
call edi
inc esi
cmp esi, ebx
jl 0x48e6e0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x48e765
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ecx]
push ebx
push 0x4e2730
push ecx
call dword [eax]
test eax, eax
jne 0x48e70f
mov eax, dword [ebp - 0x18]
mov dword [eax], 3
jmp 0x48e72a
mov ecx, dword [ebp - 0x14]
push ebx
push 0x4e2700
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x48e72a
mov dword [eax], 2
cmp dword [ebx], 0
je 0x48e749
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea ecx, [ebp + 0x18]
mov esi, 1
call fcn.004027a0
mov eax, esi
jmp 0x48e775
mov dword [eax], 1
lea ecx, [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov esi, 1
mov dword [ebx], eax
call fcn.004027a0
mov eax, esi
jmp 0x48e775
lea ecx, [ebp + 0x18]
xor esi, esi
call fcn.004027a0
mov eax, esi
jmp 0x48e775
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x278]
xor ecx, ebp
call fcn.004accbf
lea esp, [ebp + 0x27c]
pop ebp
ret 0xc
call fcn.00404b30
int3