Function at 0x4285ee
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x434eaa
call fcn.00408518
sub esp, 0x34
push esi
mov esi, ecx
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.00427354
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.0041c901
mov eax, dword [esi + 8]
test eax, eax
mov dword [ebp - 0x30], 1
je 0x428b16
push ebx
push edi
jmp 0x428648
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x40], edi
call fcn.004049a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004049a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004049a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004049a0
mov ebx, dword [ebp + 8]
test ebx, ebx
mov byte [ebp - 4], 5
je 0x428713
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 6
call fcn.00427354
push dword [ebp - 0x30]
mov eax, dword [eax + 8]
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov esi, eax
test esi, esi
lea eax, [ebp - 0x34]
je 0x4286e8
push dword [ebp - 0x30]
push 0x439fe0
push eax
call fcn.00403c20
add esp, 0xc
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4286f8
push 0
push 0x439fe0
push eax
call fcn.00403c20
add esp, 0xc
mov esi, dword [ebp - 0x34]
push dword [esi - 0xc]
lea ecx, [ebp - 0x38]
push esi
call fcn.004017b0
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 5
call fcn.004019d0
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
call fcn.00419c22
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
push 5
lea ecx, [ebp - 0x10]
push ecx
mov ecx, edi
mov byte [ebp - 4], 9
call dword [eax + 0x64]
test eax, eax
mov esi, dword [ebp - 0x38]
je 0x428ab9
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x428ab9
mov eax, dword [edi]
push 6
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, edi
call dword [eax + 0x64]
test eax, eax
jne 0x428797
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004048d0
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.004283f4
test eax, eax
jne 0x4287d4
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
jmp 0x4288ee
test ebx, ebx
je 0x4287ff
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._sDefaultIcon
push eax
call fcn.00403c20
add esp, 0xc
push 0
push esi
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
je 0x4288ca
mov eax, dword [edi]
push 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x64]
test eax, eax
je 0x428845
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x428845
push str.___1_
lea ecx, [ebp - 0x24]
call fcn.00401770
test ebx, ebx
je 0x42893e
push str.__p___1_
lea ecx, [ebp - 0x28]
call fcn.00401770
push str.__pt___1____2____3____4_
jmp 0x42892c
mov edi, str.ddeexec
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00403c20
add esp, 0x10
push 0
push str._open___1___
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
je 0x4288ca
test ebx, ebx
je 0x428931
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00403c20
add esp, 0x10
push 0
push str._print___1___
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
je 0x4288ca
push edi
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00403c20
add esp, 0x10
push 0
push str._printto___1____2____3____4___
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
jne 0x428914
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004019d0
lea ecx, [esi - 0x10]
call fcn.004019d0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
jmp 0x428afe
mov edi, str.__dde
push edi
lea ecx, [ebp - 0x24]
call fcn.00401770
push edi
lea ecx, [ebp - 0x28]
call fcn.00401770
push edi
lea ecx, [ebp - 0x20]
jmp 0x428939
push str.___1_
lea ecx, [ebp - 0x24]
call fcn.00401770
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00403c20
mov edi, dword [ebp - 0x24]
add esp, 0x10
push 0
push edi
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
jne 0x4289a8
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004019d0
lea ecx, [esi - 0x10]
call fcn.004019d0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
jmp 0x428af6
test ebx, ebx
mov ebx, dword [ebp - 0x28]
je 0x428a09
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00403c20
add esp, 0x10
push 0
push ebx
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
je 0x428abf
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00403c20
add esp, 0x10
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.004283f4
test eax, eax
je 0x428abf
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x64]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x428abf
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
mov ecx, 0x208
push eax
mov dword [ebp - 0x40], ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401890
push eax
push dword [ebp - 0x34]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], eax
call fcn.00404df0
cmp dword [ebp - 0x34], 0
jne 0x428a7a
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x428a7a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042855a
test al, al
pop ecx
pop ecx
je 0x428abf
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.004283f4
test eax, eax
je 0x428abf
cmp dword [ebp + 8], 0
je 0x428abf
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str._sShellNew
push eax
call fcn.00403c20
add esp, 0xc
push str.NullFile
push 0x439f48
push dword [ebp - 0x14]
call fcn.004283f4
jmp 0x428abf
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004019d0
lea ecx, [esi - 0x10]
call fcn.004019d0
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004019d0
lea ecx, [ebx - 0x10]
call fcn.004019d0
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.004019d0
inc dword [ebp - 0x30]
cmp dword [ebp - 0x3c], 0
jne 0x428645
pop edi
pop ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004019d0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4