Function at 0x46c540
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a7b6
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5c5c30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0042f350
test eax, eax
je 0x46c58b
push 0xd1
push 0x550c48
call fcn.0045b590
test eax, eax
je 0x46c58b
int3
lea ecx, [ebp - 0x14]
call fcn.0040ac00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ac00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push ecx
call fcn.0043a110
push eax
call fcn.0046bc80
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0042f470
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 1
jmp 0x46c5d5
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x18], 0
je 0x46ce2e
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x50]
add ecx, 4
call fcn.0042f4b0
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x20]
call fcn.0040ac50
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040ac50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ac50
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040ac50
mov byte [ebp - 4], 5
cmp dword [ebp + 8], 0
je 0x46c6b3
lea ecx, [ebp - 0x44]
call fcn.0040ac00
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040d7e0
push eax
call fcn.0043a110
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x46c688
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x551a68
lea edx, [ebp - 0x44]
push edx
call fcn.0040db10
add esp, 0xc
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x46c69b
push 0
push 0x551a68
lea ecx, [ebp - 0x44]
push ecx
call fcn.0040db10
add esp, 0xc
lea edx, [ebp - 0x44]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040adf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44]
call fcn.0040ad40
lea ecx, [ebp - 0x3c]
call fcn.0040ac00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ac00
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ac00
mov byte [ebp - 4], 9
push 5
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
je 0x46cdd5
lea ecx, [ebp - 0x34]
call fcn.0040b370
movzx ecx, al
test ecx, ecx
jne 0x46cdd5
push 6
lea edx, [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24]
mov eax, dword [edx + 0x6c]
call eax
test eax, eax
jne 0x46c728
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0040ad90
push 0
push 0x20
lea ecx, [ebp - 0x34]
call fcn.0040af00
cmp eax, 0xffffffff
je 0x46c74d
push 0xfa
push 0x550c80
call fcn.0045b590
test eax, eax
je 0x46c74d
int3
push 0
lea ecx, [ebp - 0x2c]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46c7c3
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
cmp dword [ebp + 8], 0
je 0x46c85d
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._sDefaultIcon
lea eax, [ebp - 0x10]
push eax
call fcn.0040db10
add esp, 0xc
push 0
lea ecx, [ebp - 0x30]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46c85d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x6c]
call edx
test eax, eax
je 0x46c887
lea ecx, [ebp - 0x10]
call fcn.0040b370
movzx eax, al
test eax, eax
je 0x46ca7c
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040db10
add esp, 0x10
push 0
push str._open___1___
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46c918
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
cmp dword [ebp + 8], 0
je 0x46ca6d
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.0040db10
add esp, 0x10
push 0
push str._print___1___
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46c9b3
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
push str.ddeexec
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.0040db10
add esp, 0x10
push 0
push str._printto___1____2____3____4___
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46ca44
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
push str.__dde
lea ecx, [ebp - 0x20]
call fcn.0040ae10
push str.__dde
lea ecx, [ebp - 0x38]
call fcn.0040ae10
push str.__dde
lea ecx, [ebp - 0x28]
call fcn.0040ae10
jmp 0x46ca7a
push str.___1_
lea ecx, [ebp - 0x20]
call fcn.0040ae10
jmp 0x46caa9
push str.___1_
lea ecx, [ebp - 0x20]
call fcn.0040ae10
cmp dword [ebp + 8], 0
je 0x46caa9
push str.__p___1_
lea ecx, [ebp - 0x38]
call fcn.0040ae10
push str.__pt___1____2____3____4_
lea ecx, [ebp - 0x28]
call fcn.0040ae10
push str.command
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellopen_s
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040db10
add esp, 0x10
push 0
lea ecx, [ebp - 0x20]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46cb3e
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
cmp dword [ebp + 8], 0
je 0x46cc72
push str.command
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellprint_s
lea edx, [ebp - 0x10]
push edx
call fcn.0040db10
add esp, 0x10
push 0
lea ecx, [ebp - 0x38]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46cbdd
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
push str.command
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
push str._s_shellprintto_s
lea eax, [ebp - 0x10]
push eax
call fcn.0040db10
add esp, 0x10
push 0
lea ecx, [ebp - 0x28]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46cc72
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
push 4
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 0x6c]
call edx
lea ecx, [ebp - 0x3c]
call fcn.0040b370
movzx eax, al
test eax, eax
jne 0x46cdd5
push 0
lea ecx, [ebp - 0x3c]
call fcn.00415090
movzx ecx, ax
cmp ecx, 0x2e
je 0x46ccbe
push 0x151
push 0x550cb8
call fcn.0045b590
test eax, eax
je 0x46ccbe
int3
mov dword [ebp - 0x4c], 0x208
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040bf20
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d7e0
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov dword [ebp - 0x48], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00426f40
cmp dword [ebp - 0x48], 0
jne 0x46cd27
lea ecx, [ebp - 0x10]
call fcn.0040b370
movzx edx, al
test edx, edx
jne 0x46cd27
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040be30
add esp, 8
movzx edx, al
test edx, edx
je 0x46cdd5
push 0
lea ecx, [ebp - 0x34]
call fcn.0040d7e0
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
test eax, eax
jne 0x46cd9d
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
cmp dword [ebp + 8], 0
je 0x46cdd5
lea ecx, [ebp - 0x3c]
call fcn.0040d7e0
push eax
push str._sShellNew
lea eax, [ebp - 0x10]
push eax
call fcn.0040db10
add esp, 0xc
push str.NullFile
push 0x551b7c
lea ecx, [ebp - 0x10]
call fcn.0040d7e0
push eax
call fcn.0046bfd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
call fcn.0040ad40
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x34]
call fcn.0040ad40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x3c]
call fcn.0040ad40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040ad40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.0040ad40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.0040ad40
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.0040ad40
jmp 0x46c5cc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040ad40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040ad40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4