Function at 0x100f788e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10146254
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.100d99ea
test eax, eax
je 0x100f78d2
push 0xd3
push str.docmgr.cpp
call fcn.100db7d0
test eax, eax
je 0x100f78d2
int3
xor eax, eax
test eax, eax
jne 0x100f78af
lea ecx, [ebp - 0x1c]
call fcn.100d7da7
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.100d7da7
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push ecx
call fcn.100de57d
push eax
call fcn.1007f324
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.100d9af7
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 1
jmp 0x100f7922
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x18], 0
je 0x100f8170
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.100d9b19
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x34]
call fcn.1008bbea
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
call fcn.1008bbea
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x38]
call fcn.1008bbea
mov byte [ebp - 4], 4
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1008bbea
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
je 0x100f7a00
lea ecx, [ebp - 0x44]
call fcn.100d7da7
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100d7e4a
push eax
call fcn.100de57d
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconA]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x100f79d5
mov ecx, dword [ebp - 0x10]
push ecx
push 0x101ce538
lea edx, [ebp - 0x44]
push edx
call fcn.1005a366
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x100f79e8
push 0
push 0x101ce538
lea ecx, [ebp - 0x44]
push ecx
call fcn.1005a366
add esp, 0xc
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x2c]
call fcn.1008c73e
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.1008bfbc
lea ecx, [ebp - 0x28]
call fcn.100d7da7
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.100d7da7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.100d7da7
mov byte [ebp - 4], 9
push 5
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 0x6c]
test eax, eax
je 0x100f8117
lea ecx, [ebp - 0x3c]
call fcn.100d7e2c
test eax, eax
jne 0x100f8117
push 6
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 0x6c]
test eax, eax
jne 0x100f7a6e
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.1008c1b6
push 0x20
lea ecx, [ebp - 0x3c]
call fcn.1008caf5
cmp eax, 0xffffffff
je 0x100f7a91
push 0xfc
push str.docmgr.cpp
call fcn.100db7d0
test eax, eax
je 0x100f7a91
int3
xor ecx, ecx
test ecx, ecx
jne 0x100f7a6e
push 0
lea ecx, [ebp - 0x20]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7b0d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
cmp dword [ebp + 8], 0
je 0x100f7ba7
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._sDefaultIcon
lea edx, [ebp - 0x14]
push edx
call fcn.1005a366
add esp, 0xc
push 0
lea ecx, [ebp - 0x2c]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7ba7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 0x6c]
test eax, eax
je 0x100f7bcc
lea ecx, [ebp - 0x14]
call fcn.100d7e2c
test eax, eax
je 0x100f7dc1
push str.ddeexec
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellopen_s
lea eax, [ebp - 0x14]
push eax
call fcn.1005a366
add esp, 0x10
push 0
push str._open___1___
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7c5d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
cmp dword [ebp + 8], 0
je 0x100f7db2
push str.ddeexec
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellprint_s
lea ecx, [ebp - 0x14]
push ecx
call fcn.1005a366
add esp, 0x10
push 0
push str._print___1___
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7cf8
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
push str.ddeexec
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellprintto_s
lea edx, [ebp - 0x14]
push edx
call fcn.1005a366
add esp, 0x10
push 0
push str._printto___1____2____3____4___
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7d89
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
push str.__dde
lea ecx, [ebp - 0x34]
call fcn.1008c6c5
push str.__dde
lea ecx, [ebp - 0x30]
call fcn.1008c6c5
push str.__dde
lea ecx, [ebp - 0x38]
call fcn.1008c6c5
jmp 0x100f7dbf
push str.___1_
lea ecx, [ebp - 0x34]
call fcn.1008c6c5
jmp 0x100f7dee
push str.___1_
lea ecx, [ebp - 0x34]
call fcn.1008c6c5
cmp dword [ebp + 8], 0
je 0x100f7dee
push str.__p___1_
lea ecx, [ebp - 0x30]
call fcn.1008c6c5
push str.__pt___1____2____3____4_
lea ecx, [ebp - 0x38]
call fcn.1008c6c5
push str.command
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellopen_s
lea eax, [ebp - 0x14]
push eax
call fcn.1005a366
add esp, 0x10
push 0
lea ecx, [ebp - 0x34]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7e83
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
cmp dword [ebp + 8], 0
je 0x100f7fb7
push str.command
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellprint_s
lea ecx, [ebp - 0x14]
push ecx
call fcn.1005a366
add esp, 0x10
push 0
lea ecx, [ebp - 0x30]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7f22
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
push str.command
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
push str._s_shellprintto_s
lea edx, [ebp - 0x14]
push edx
call fcn.1005a366
add esp, 0x10
push 0
lea ecx, [ebp - 0x38]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f7fb7
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
push 4
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
call dword [edx + 0x6c]
lea ecx, [ebp - 0x28]
call fcn.100d7e2c
test eax, eax
jne 0x100f8117
push 0
lea ecx, [ebp - 0x28]
call fcn.100d8023
movsx eax, al
cmp eax, 0x2e
je 0x100f7ffe
push 0x153
push str.docmgr.cpp
call fcn.100db7d0
test eax, eax
je 0x100f7ffe
int3
xor ecx, ecx
test ecx, ecx
jne 0x100f7fd8
mov dword [ebp - 0x48], 0x208
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x14]
call fcn.1008c768
push eax
lea ecx, [ebp - 0x28]
call fcn.100d7e4a
push eax
push OleUIInsertObjectA
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov dword [ebp - 0x4c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.1008c8a3
cmp dword [ebp - 0x4c], 0
jne 0x100f8069
lea ecx, [ebp - 0x14]
call fcn.100d7e2c
test eax, eax
jne 0x100f8069
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.100d808b
and eax, 0xff
test eax, eax
je 0x100f8117
push 0
lea ecx, [ebp - 0x3c]
call fcn.100d7e4a
push eax
lea ecx, [ebp - 0x28]
call fcn.100d7e4a
push eax
call fcn.100f739d
test eax, eax
jne 0x100f80df
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
cmp dword [ebp + 8], 0
je 0x100f8117
lea ecx, [ebp - 0x28]
call fcn.100d7e4a
push eax
push str._sShellNew
lea eax, [ebp - 0x14]
push eax
call fcn.1005a366
add esp, 0xc
push str.NullFile
push 0x101ce4a0
lea ecx, [ebp - 0x14]
call fcn.100d7e4a
push eax
call fcn.100f739d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x20]
call fcn.1008bfbc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x3c]
call fcn.1008bfbc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.1008bfbc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1008bfbc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.1008bfbc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.1008bfbc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.1008bfbc
jmp 0x100f7919
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.1008bfbc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.1008bfbc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4