Function at 0x40e2e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e4508
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x53f1e4]
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 0x4eec7c
push 0x15
push ebx
push 0x4f033c
mov byte [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x40e52c
cmp dword [ebp - 0x18], ebx
je 0x40e52c
lea esi, [ebp - 0x44]
call fcn.0040fd60
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 0x40e65a
cmp edi, ebx
je 0x40e65a
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40e4e1
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 0x40e62b
cmp eax, ebx
je 0x40e62b
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 0x40e622
cmp eax, ebx
je 0x40e622
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 0x40e52c
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 0x40e4ff
mov eax, dword [ebp - 0x28]
cmp eax, ebx
je 0x40e4ff
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.004b4124
add esp, 0xc
test eax, eax
je 0x40e58e
mov eax, dword [ebp - 0x24]
push 6
push 0x50721c
push eax
call fcn.004b4124
add esp, 0xc
test eax, eax
je 0x40e58e
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea edx, [ebp - 0x44]
push edx
jmp 0x40e503
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x30], esi
cmp esi, ebx
jne 0x40e3bf
push 0x8007000e
call fcn.00408970
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 0x40e51c
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 0x40e430
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40e53f
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 0x40e552
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 0x40e564
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 0x40e57a
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 0x40e5c0
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 0x40e5d3
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 0x40e5e6
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 0x40e5f8
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 0x40e60e
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 0x40e533
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
cmp ecx, ebx
je 0x40e641
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 0x40e552
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x40e552
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40e670
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 0x40e686
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 0x40e695
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 0x40e57a
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