Function at 0x42d104
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x42d5b2
call fcn.0040ee70
sub esp, 0x38
push esi
push edi
mov esi, ecx
lea ecx, [ebp - 0x18]
call fcn.0041a074
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0041a074
mov byte [ebp - 4], 1
lea eax, [ebp - 0x18]
push eax
call fcn.0042ab93
push dword [eax + 8]
call fcn.0041b4fa
mov dword [ebp - 0x40], 1
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x42d544
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x20]
call fcn.0041a084
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041a084
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041a084
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x3c]
call fcn.0041a084
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
je 0x42d215
lea ecx, [ebp - 0x38]
call fcn.0041a074
push dword [ebp - 0x40]
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
call fcn.0042ab93
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov esi, eax
test esi, esi
je 0x42d1ed
push dword [ebp - 0x40]
push 0x431dec
lea ecx, [ebp - 0x38]
push ecx
call fcn.00417a6b
add esp, 0xc
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x42d200
push 0
lea eax, [ebp - 0x38]
push 0x431dec
push eax
call fcn.00417a6b
add esp, 0xc
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041a58f
mov byte [ebp - 4], 5
call fcn.0042d56a
lea ecx, [ebp - 0x1c]
call fcn.0041a074
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0041a074
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x34]
call fcn.0041a074
mov eax, dword [ebp - 0x28]
push 5
mov byte [ebp - 4], 9
mov ecx, dword [eax]
lea eax, [ebp - 0x14]
push eax
mov esi, dword [ecx + 0x68]
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
je 0x42d4f8
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 0
je 0x42d4f8
push 6
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
jne 0x42d27c
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x34]
push eax
call fcn.0041a2cc
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x14]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
cmp dword [ebp + 8], 0
je 0x42d2c0
push dword [ebp - 0x14]
push str._sDefaultIcon
lea ecx, [ebp - 0x10]
push ecx
call fcn.00417a6b
add esp, 0xc
push 0
push dword [ebp - 0x3c]
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
call esi
test eax, eax
je 0x42d306
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x42d306
push str.___1_
lea ecx, [ebp - 0x20]
call fcn.0041a552
cmp dword [ebp + 8], 0
je 0x42d3c6
push str.__p___1_
lea ecx, [ebp - 0x2c]
call fcn.0041a552
push str.__pt___1____2____3____4_
jmp 0x42d3be
push str.ddeexec
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push str._open___1___
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
cmp dword [ebp + 8], 0
jne 0x42d346
push str.___1_
lea ecx, [ebp - 0x20]
jmp 0x42d3c1
push str.ddeexec
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push str._print___1___
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
push str.ddeexec
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push str._printto___1____2____3____4___
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
mov edi, str.__dde
lea ecx, [ebp - 0x20]
push edi
call fcn.0041a552
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041a552
push edi
lea ecx, [ebp - 0x30]
call fcn.0041a552
push str.command
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellopen_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
cmp dword [ebp + 8], 0
je 0x42d456
push str.command
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprint_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
push str.command
lea ecx, [ebp - 0x10]
push dword [ebp - 0x14]
push str._s_shellprintto_s
push ecx
call fcn.00417a6b
add esp, 0x10
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
call esi
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 8], 0
je 0x42d4f8
mov eax, 0x208
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x44], eax
push eax
lea ecx, [ebp - 0x10]
call fcn.0041a5a7
push eax
push dword [ebp - 0x1c]
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov esi, eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0041a5fc
test esi, esi
jne 0x42d4bb
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
je 0x42d4bb
push dword [ebp - 0x14]
push eax
call fcn.0040e9c0
add esp, 8
test eax, eax
jne 0x42d4f8
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.0042d5c4
test eax, eax
je 0x42d4f8
cmp dword [ebp + 8], 0
je 0x42d4f8
push dword [ebp - 0x1c]
push str._sShellNew
lea ecx, [ebp - 0x10]
push ecx
call fcn.00417a6b
add esp, 0xc
push str.NullFile
push 0x431e8c
push dword [ebp - 0x10]
call fcn.0042d5c4
mov byte [ebp - 4], 8
call fcn.0042d572
mov byte [ebp - 4], 7
call fcn.0042d57a
mov byte [ebp - 4], 5
call fcn.0042d582
mov byte [ebp - 4], 4
call fcn.0042d58a
mov byte [ebp - 4], 3
call fcn.0042d592
mov byte [ebp - 4], 2
call fcn.0042d59a
mov byte [ebp - 4], 1
call fcn.0042d5a2
inc dword [ebp - 0x40]
cmp dword [ebp - 0x24], 0
jne 0x42d156
mov byte [ebp - 4], 0
call fcn.0042d5aa
mov dword [ebp - 4], 0xffffffff
call fcn.0042d5bc
mov eax, dword [ebp - 0xc]
pop edi
mov dword fs:[0], eax
pop esi
mov esp, ebp
pop ebp
ret 4