Function at 0x42e6ad
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 0x80]
jmp 0x42e69f
mov eax, 0x430610
call fcn.00407a90
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.0041c8db
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041c8db
mov byte [ebp - 4], 1
call fcn.0042d807
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0041c692
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x42e8fb
push edi
mov esi, str.command
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + 8]
call fcn.0041c8db
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c8db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041c8db
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push 5
push ecx
mov eax, dword [eax + 0x6c]
mov ecx, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], eax
call eax
test eax, eax
je 0x42e8ce
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42e8ce
lea eax, [ebp - 0x20]
push 6
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
jne 0x42e758
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041cb1f
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sDefaultIcon
push eax
call fcn.00416b23
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042e5bc
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
je 0x42e78c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x42e7ef
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00416b23
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042e5bc
lea eax, [ebp - 0x18]
push 4
push eax
mov ecx, edi
call dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx - 8], 0
je 0x42e8ce
mov edi, ecx
lea ecx, [ebp - 0x28]
mov eax, 0x208
push ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
call fcn.0041cda4
push eax
push edi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041cdf3
test edi, edi
jne 0x42e8aa
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42e8aa
push dword [ebp - 0x14]
push eax
call fcn.00407d20
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
test al, al
je 0x42e8ce
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str._sShellNew
push eax
call fcn.00416b23
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042e5bc
push dword [ebp - 0x18]
call fcn.0042e5bc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041ca26
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041ca26
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041ca26
test ebx, ebx
jne 0x42e6eb
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041ca26
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041ca26
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret