Function at 0x1004612f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10048c56
call fcn.1000cf04
sub esp, 0x38
push esi
push edi
mov edi, ecx
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
xor esi, esi
inc esi
mov dword [ebp - 4], esi
call fcn.10044c5a
mov eax, dword [eax + 8]
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.10026178
mov eax, dword [edi + 8]
test eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], esi
je 0x1004664e
add edi, 4
mov dword [ebp - 0x40], edi
push ebx
mov ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push eax
call fcn.1000674f
mov ebx, dword [eax]
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x44], ebx
call fcn.10003f43
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.10003f43
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 3
call fcn.10003f43
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 4
call fcn.10003f43
cmp dword [ebp + 8], 0
mov dword [ebp - 4], 5
je 0x1004627f
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
call fcn.10044c5a
push dword [ebp - 0x30]
mov eax, dword [eax + 8]
push edi
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov edi, eax
test edi, edi
lea eax, [ebp - 0x34]
je 0x10046251
push dword [ebp - 0x30]
push 0x1004c508
push eax
call fcn.10007f40
add esp, 0xc
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x10046261
push 0
push 0x1004c508
push eax
call fcn.10007f40
add esp, 0xc
mov edi, dword [ebp - 0x34]
push dword [edi - 0xc]
lea ecx, [ebp - 0x38]
push edi
call fcn.10026178
lea ecx, [edi - 0x10]
mov dword [ebp - 4], 5
call fcn.1000398e
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 7
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 8
call fcn.10034457
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx]
push 5
lea ecx, [ebp - 0x10]
push ecx
mov ecx, ebx
mov dword [ebp - 4], 9
call dword [eax + 0x64]
test eax, eax
mov edi, dword [ebp - 0x38]
je 0x100465f3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x100465f3
mov eax, dword [ebx]
push 6
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, ebx
call dword [eax + 0x64]
test eax, eax
jne 0x1004630c
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10005220
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x10]
call fcn.10026178
test eax, eax
jne 0x10046349
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
jmp 0x10046469
cmp dword [ebp + 8], 0
je 0x10046376
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._sDefaultIcon
push eax
call fcn.10007f40
add esp, 0xc
push 0
push edi
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x10046445
mov eax, dword [ebx]
push 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, ebx
call dword [eax + 0x64]
test eax, eax
je 0x100463be
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x100463be
push str.___1_
lea ecx, [ebp - 0x28]
call fcn.100040b8
cmp dword [ebp + 8], 0
je 0x100464b9
push str.__p___1_
lea ecx, [ebp - 0x24]
call fcn.100040b8
push str.__pt___1____2____3____4_
jmp 0x100464a7
mov ebx, str.ddeexec
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.10007f40
add esp, 0x10
push 0
push str._open___1___
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x10046445
cmp dword [ebp + 8], 0
je 0x100464ac
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.10007f40
add esp, 0x10
push 0
push str._print___1___
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x10046445
push ebx
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.10007f40
add esp, 0x10
push 0
push str._printto___1____2____3____4___
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
jne 0x1004648f
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1000398e
lea ecx, [edi - 0x10]
call fcn.1000398e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
jmp 0x10046638
mov ebx, str.__dde
push ebx
lea ecx, [ebp - 0x28]
call fcn.100040b8
push ebx
lea ecx, [ebp - 0x24]
call fcn.100040b8
push ebx
lea ecx, [ebp - 0x20]
jmp 0x100464b4
push str.___1_
lea ecx, [ebp - 0x28]
call fcn.100040b8
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellopen_s
push eax
call fcn.10007f40
mov ebx, dword [ebp - 0x28]
add esp, 0x10
push 0
push ebx
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x100465f6
cmp dword [ebp + 8], 0
je 0x1004654a
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprint_s
push eax
call fcn.10007f40
add esp, 0x10
push 0
push dword [ebp - 0x24]
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x100465f6
push str.command
push dword [ebp - 0x10]
lea eax, [ebp - 0x14]
push str._s_shellprintto_s
push eax
call fcn.10007f40
add esp, 0x10
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.10026178
test eax, eax
je 0x100465f6
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
push 4
lea edx, [ebp - 0x18]
push edx
call dword [eax + 0x64]
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
je 0x100465f6
mov eax, 0x208
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], eax
call fcn.10003c5f
lea ecx, [ebp - 0x44]
push ecx
push eax
push dword [ebp - 0x18]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x34], eax
call fcn.10003f1e
cmp dword [ebp - 0x34], 0
jne 0x100465b4
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
je 0x100465b4
push dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
call fcn.10008157
test eax, eax
jne 0x100465f6
push 0
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call fcn.10026178
test eax, eax
je 0x100465f6
cmp dword [ebp + 8], 0
je 0x100465f6
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str._sShellNew
push eax
call fcn.10007f40
add esp, 0xc
push str.NullFile
push 0x1004c470
push dword [ebp - 0x14]
call fcn.10026178
jmp 0x100465f6
mov ebx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.1000398e
lea ecx, [edi - 0x10]
call fcn.1000398e
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.1000398e
lea ecx, [ebx - 0x10]
mov dword [ebp - 4], esi
call fcn.1000398e
inc dword [ebp - 0x30]
cmp dword [ebp - 0x3c], 0
jne 0x10046198
pop ebx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.1000398e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4