Function at 0x40166f
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x44b4e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
push esi
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], edx
je 0x401b6a
cmp dword [edx + 0x14], ebx
je 0x401b6a
cmp eax, ebx
push 7
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], bx
je 0x4016e7
lea esi, [ebp - 0x58]
call fcn.0040158f
jmp 0x4016fe
lea eax, [ebp - 0x58]
push eax
mov edi, ecx
call fcn.0040bea2
test al, al
pop ecx
je 0x401b5f
push 7
pop edi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0xc0]
push eax
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], bx
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], bx
call fcn.0040be56
test al, al
pop ecx
je 0x401b49
cmp dword [ebp - 0x60], ebx
je 0x401b49
lea eax, [ebp - 0x3c]
push eax
call fcn.0040bea2
test al, al
pop ecx
je 0x401b49
lea eax, [ebp - 0x3c]
push 0x20
push eax
call fcn.0040cb4b
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cdd6
add esp, 0xc
test al, al
jne 0x401768
lea ecx, [ebp - 0x3c]
call fcn.0040bdc5
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cdd6
test al, al
pop ecx
je 0x401b49
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cea0
test al, al
pop ecx
je 0x401b49
call fcn.0040cc25
lea esi, [ebp - 0x3c]
push eax
call fcn.004020cf
mov eax, esi
lea esi, [ebp - 0x20]
call fcn.00401083
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x74]
call fcn.004021b2
lea eax, [ebp - 0xb4]
push eax
push 0x43e33c
xor edi, edi
inc edi
push edi
push ebx
push 0x43e34c
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401b27
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
je 0x401b27
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push 0x43e35c
push eax
call dword [ecx]
test eax, eax
jl 0x401b1b
cmp dword [ebp - 0xc4], ebx
je 0x401b1b
mov edi, dword [ebp - 0xbc]
cmp dword [edi + 0x18], 8
jb 0x401825
add edi, 4
mov eax, dword [edi]
jmp 0x40182a
add edi, 4
mov eax, edi
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
cmp dword [ebp - 0x40], 8
mov ecx, dword [ebp - 0x54]
jae 0x401843
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov esi, dword [ebp - 0xd0]
cmp dword [esi + 0x14], ebx
je 0x401878
push esi
call fcn.0040ce39
test al, al
pop ecx
je 0x401878
cmp dword [esi + 0x18], 8
jb 0x401871
mov esi, dword [esi + 4]
jmp 0x401874
add esi, 4
push ebx
push esi
jmp 0x401888
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x18], 8
jb 0x401886
mov edi, dword [edi]
push ebx
push edi
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x18], 8
jb 0x4018a5
mov eax, dword [eax + 4]
jmp 0x4018a8
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 0x18], 8
jb 0x4018c6
mov eax, dword [eax + 4]
jmp 0x4018c9
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov eax, 0x43fda4
lea ecx, [ebp - 0xac]
call fcn.00401573
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc8], 0x2e
call fcn.00402139
or esi, 0xffffffff
cmp eax, esi
push esi
jne 0x401918
push ebx
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.004021b2
jmp 0x401971
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], bx
lea ecx, [ebp - 0x90]
mov ebx, eax
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x78], 7
call fcn.004010b8
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x90]
call fcn.0040c1ce
test eax, eax
je 0x401960
push esi
push 0
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.004021b2
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.00401140
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xb5], bl
call fcn.0040cdd6
xor edi, edi
inc edi
test al, al
pop ecx
je 0x401a83
lea eax, [ebp - 0xbc]
push eax
push 0x43e33c
push edi
push ebx
push 0x43e34c
mov byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401a3f
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x401a3f
lea edx, [ebp - 0xc0]
push edx
push 0x43e35c
mov dword [ebp - 0xc0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x401a25
mov ecx, dword [ebp - 0xc0]
cmp ecx, ebx
je 0x401a25
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4019f4
lea eax, [ebp - 0x1c]
mov edx, dword [ecx]
push 0x30
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x401a19
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
call fcn.00401d55
pop ecx
mov byte [ebp - 0xad], al
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
jne 0x401a7c
mov eax, dword [ebp - 0xcc]
cmp byte [eax], bl
jne 0x401a83
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x401a55
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.00401573
lea eax, [ebp - 0x90]
push eax
call fcn.0040bdca
pop ecx
push ebx
push edi
lea esi, [ebp - 0x90]
call fcn.00401140
jmp 0x401a83
mov byte [ebp - 0xb5], 1
cmp byte [ebp - 0xb5], bl
mov byte [ebp - 0xad], 1
jne 0x401ac6
mov esi, dword [ebp - 0xcc]
cmp byte [esi], bl
jne 0x401ac2
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x401aa8
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x18]
neg eax
sbb al, al
inc al
mov byte [ebp - 0xad], al
mov byte [esi + 1], 1
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push edi
lea esi, [ebp - 0xac]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x58]
call fcn.00401140
mov al, byte [ebp - 0xad]
jmp 0x401b6c
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401140
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401140
push ebx
push edi
jmp 0x401b62
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.00401140
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401140
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.00401140
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f583
leave
ret 0x14