Function at 0x427f57
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx + 0x80]
jmp 0x4290fa
mov eax, 0x42aca8
call fcn.0040aaf0
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 0x24]
call fcn.0041d7bd
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041d7bd
mov byte [ebp - 4], 1
call fcn.004286dd
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.0041f178
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x429356
push edi
mov esi, str.command
mov eax, ebx
mov ebx, dword [ebx]
lea ecx, [ebp - 0x18]
mov edi, dword [eax + 8]
call fcn.0041d7bd
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041d7bd
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041d7bd
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 0x429329
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x429329
lea eax, [ebp - 0x20]
push 6
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
jne 0x4291b3
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041da01
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push str._sDefaultIcon
push eax
call fcn.00418d12
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00429017
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, edi
call dword [ebp - 0x1c]
test eax, eax
je 0x4291e7
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x42924a
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
push str.ddeexec
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
push esi
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.00418d12
add esp, 0x10
push dword [ebp - 0x10]
call fcn.00429017
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 0x429329
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.0041dc45
push eax
push edi
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.0041dc94
test edi, edi
jne 0x429305
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], edi
je 0x429305
push dword [ebp - 0x14]
push eax
call fcn.0040ad80
neg eax
sbb eax, eax
pop ecx
inc eax
pop ecx
test al, al
je 0x429329
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push str._sShellNew
push eax
call fcn.00418d12
add esp, 0xc
push dword [ebp - 0x10]
call fcn.00429017
push dword [ebp - 0x18]
call fcn.00429017
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0041d908
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0041d908
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0041d908
test ebx, ebx
jne 0x429146
pop edi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041d908
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.0041d908
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret