Function at 0x40dde0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ecdc8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x54b1b4]
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 0x4f8c4c
push 0x15
push ebx
push 0x4fa30c
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40e02c
cmp dword [ebp - 0x18], ebx
je 0x40e02c
lea esi, [ebp - 0x44]
call fcn.0040fea0
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 0x40e15a
cmp edi, ebx
je 0x40e15a
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40dfe1
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 0x40e12b
cmp eax, ebx
je 0x40e12b
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 0x40e122
cmp eax, ebx
je 0x40e122
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 0x40e02c
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 0x40dfff
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40dfff
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.004bc24c
add esp, 0xc
test eax, eax
je 0x40e08e
mov eax, dword [ebp - 0x24]
push 6
push 0x511584
push eax
call fcn.004bc24c
add esp, 0xc
test eax, eax
je 0x40e08e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x44]
push edx
jmp 0x40e003
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, ebx
jne 0x40debf
push 0x8007000e
call fcn.00407ad0
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 0x40e01c
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 0x40df30
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40e03f
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 0x40e052
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 0x40e064
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 0x40e07a
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 0x40e0c0
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 0x40e0d3
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 0x40e0e6
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 0x40e0f8
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 0x40e10e
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 0x40e033
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x40e141
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 0x40e052
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40e052
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40e170
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 0x40e186
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 0x40e195
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 0x40e07a
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