Function at 0x426eda
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 0x80]
jmp 0x428077
mov eax, 0x429a10
call fcn.0040a1c0
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.0041c86d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041c86d
mov byte [ebp - 4], 1
call fcn.00427660
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0041f6b3
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x4282d3
push edi
mov esi, str.command
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + 8]
call fcn.0041c86d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c86d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041c86d
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 0x4282a6
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x4282a6
lea eax, [ebp - 0x20]
push 6
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
jne 0x428130
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041cab1
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sDefaultIcon
push eax
call fcn.00417d20
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00427f94
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
je 0x428164
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x4281c7
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00417d20
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00427f94
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 0x4282a6
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.0041ccf5
push eax
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041cd44
test edi, edi
jne 0x428282
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x428282
push dword [ebp - 0x14]
push eax
call fcn.0040a450
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
test al, al
je 0x4282a6
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str._sShellNew
push eax
call fcn.00417d20
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00427f94
push dword [ebp - 0x18]
call fcn.00427f94
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041c9b8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041c9b8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041c9b8
test ebx, ebx
jne 0x4280c3
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041c9b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041c9b8
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret