Function at 0x40cd00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e8728
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5441b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edi
call esi
mov eax, dword [ebp + 8]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x18]
push ecx
push 0x4f3c3c
push 0x15
push ebx
push 0x4f52fc
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40cf4c
cmp dword [ebp - 0x18], ebx
je 0x40cf4c
lea esi, [ebp - 0x44]
call fcn.0040edc0
mov byte [ebp - 4], 4
mov edi, dword [eax]
mov edx, dword [ebp - 0x18]
mov esi, dword [edx]
lea ecx, [ebp - 0x14]
push ecx
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x24]
push edx
call ecx
lea edx, [ebp - 0x44]
push edx
mov esi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edi, dword [ebp - 0x14]
cmp esi, ebx
jl 0x40d07a
cmp edi, ebx
je 0x40d07a
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40cf01
xor esi, esi
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 5
mov eax, dword [edi]
mov edx, dword [eax + 0x30]
push esi
push edi
call edx
push esi
mov edi, eax
mov byte [ebp - 4], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x20]
cmp edi, ebx
jl 0x40d04b
cmp eax, ebx
je 0x40d04b
mov ecx, dword [eax]
lea edx, [ebp - 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
cmp eax, ebx
mov eax, dword [ebp - 0x1c]
jl 0x40d042
cmp eax, ebx
je 0x40d042
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
xor ecx, ecx
mov dword [ebp - 0x30], ecx
cmp dword [ebp - 0x2c], ebx
jle 0x40cf4c
lea esp, [esp]
mov dword [ebp - 0x28], ebx
mov edx, 3
mov word [ebp - 0x44], dx
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 7
mov edi, dword [ebp - 0x44]
mov edx, dword [ebp - 0x1c]
mov esi, dword [edx]
lea eax, [ebp - 0x28]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
mov edi, dword [ebp - 0x40]
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x38]
push edx
mov edx, dword [esi + 0x28]
mov dword [eax + 0xc], ecx
call edx
cmp eax, ebx
jl 0x40cf1f
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40cf1f
mov dword [ebp - 0x24], ebx
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 8
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x24]
push 0xe
push str.Pin_to_Taskbar
push edx
call fcn.004b7e8c
add esp, 0xc
test eax, eax
je 0x40cfae
mov eax, dword [ebp - 0x24]
push 6
push 0x50c0e4
push eax
call fcn.004b7e8c
add esp, 0xc
test eax, eax
je 0x40cfae
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x44]
push edx
jmp 0x40cf23
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, ebx
jne 0x40cddf
push 0x8007000e
call fcn.00406a50
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40cf3c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [ebp - 0x30]
inc ecx
mov dword [ebp - 0x30], ecx
cmp ecx, dword [ebp - 0x2c]
jl 0x40ce50
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40cf5f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x40cf72
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40cf84
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40cf9a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40cfe0
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40cff3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x40d006
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40d018
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40d02e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov byte [ebp - 4], 2
jmp 0x40cf53
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x40d061
mov eax, dword [ecx]
push ecx
mov ecx, dword [eax + 8]
call ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40cf72
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40cf72
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40d090
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x40d0a6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp edi, ebx
je 0x40d0b5
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40cf9a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret