Function at 0x42fb3d
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 0x80]
jmp 0x42fb2f
mov eax, 0x431ad0
call fcn.00407d30
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.0041bfdb
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041bfdb
mov byte [ebp - 4], 1
call fcn.0042d8a4
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0041e3b3
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x42fd8b
push edi
mov esi, str.command
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + 8]
call fcn.0041bfdb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041bfdb
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041bfdb
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 0x42fd5e
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42fd5e
lea eax, [ebp - 0x20]
push 6
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
jne 0x42fbe8
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041c21f
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sDefaultIcon
push eax
call fcn.00416a56
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042fa4c
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
je 0x42fc1c
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x42fc7f
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00416a56
add esp, 0x10
push dword [ebp - 0x10]
call fcn.0042fa4c
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 0x42fd5e
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.0041c4d7
push eax
push edi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041c526
test edi, edi
jne 0x42fd3a
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x42fd3a
push dword [ebp - 0x14]
push eax
call fcn.00407d50
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
test al, al
je 0x42fd5e
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str._sShellNew
push eax
call fcn.00416a56
add esp, 0xc
push dword [ebp - 0x10]
call fcn.0042fa4c
push dword [ebp - 0x18]
call fcn.0042fa4c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041c126
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c126
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041c126
test ebx, ebx
jne 0x42fb7b
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041c126
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041c126
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret