Function at 0x42e5c5
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 0x80]
jmp 0x42f7e1
mov eax, 0x432fe4
call fcn.0040d5f0
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.004242bb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004242bb
mov byte [ebp - 4], 1
call fcn.0042edba
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0042425b
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x42fa3d
push edi
mov esi, str.command
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + 8]
call fcn.004242bb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004242bb
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004242bb
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 0x42fa10
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42fa10
lea eax, [ebp - 0x20]
push 6
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
jne 0x42f89a
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.004244ff
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sDefaultIcon
push eax
call fcn.0041db96
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042f6fe
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
je 0x42f8ce
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x42f931
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.0041db96
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042f6fe
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 0x42fa10
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.004247f8
push eax
push edi
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00424847
test edi, edi
jne 0x42f9ec
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42f9ec
push dword [ebp - 0x14]
push eax
call fcn.0040d880
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
test al, al
je 0x42fa10
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str._sShellNew
push eax
call fcn.0041db96
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042f6fe
push dword [ebp - 0x18]
call fcn.0042f6fe
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.00424406
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00424406
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.00424406
test ebx, ebx
jne 0x42f82d
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00424406
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00424406
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret