Function at 0x407160
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c7f
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x43c400]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
cmp dword [ebp + 8], 0
je 0x40719e
cmp dword [ebp + 0xc], 0
jne 0x4071a5
xor eax, eax
jmp 0x407410
lea eax, [ebp - 0x14]
push eax
push 0x436e14
push 1
push 0
push 0x436e54
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40740d
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x50]
call edx
cmp dword [ebp + 0x10], 0
je 0x4071f4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
cmp dword [ebp + 0x14], 0
je 0x40720c
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x2c]
call eax
cmp dword [ebp + 0x18], 0
je 0x407222
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00420cf0
add esp, 4
test eax, eax
jne 0x40723a
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x44]
call ecx
jmp 0x407250
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x44]
call ecx
push 0x5c
mov edx, dword [ebp + 8]
push edx
call fcn.0040aaa0
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x407274
xor eax, eax
jmp 0x407410
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x424]
push edx
call fcn.004031b0
add esp, 0xc
mov eax, dword [ebp - 0x220]
sub eax, dword [ebp + 8]
mov byte [ebp + eax - 0x424], 0
lea ecx, [ebp - 0x424]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x24]
call edx
lea eax, [ebp - 0x428]
push eax
push 0x436e44
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x4073ff
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00420d90
add esp, 8
push 4
push 0x432c5c
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00420cf0
add esp, 4
lea edx, [ebp + eax - 0x220]
push edx
call fcn.0040aa80
add esp, 0xc
test eax, eax
je 0x40732e
push 0x432c64
lea eax, [ebp - 0x21c]
push eax
call fcn.00420da0
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x62c]
push edx
call fcn.00420d90
add esp, 8
push 0x5c
lea eax, [ebp - 0x62c]
push eax
call fcn.0040aac0
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x40737c
mov ecx, dword [ebp - 0x220]
mov byte [ecx], 0
lea edx, [ebp - 0x62c]
push edx
call fcn.00405c40
add esp, 4
push 1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0040c800
mov dword [ebp - 0x840], eax
mov ecx, dword [ebp - 0x840]
mov dword [ebp - 0x844], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x844]
call fcn.0040d820
push eax
mov edx, dword [ebp - 0x428]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x428]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x83c]
call fcn.0040c830
cmp dword [ebp - 0x10], 0
jne 0x4073eb
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x428]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0041f2bc
mov esp, ebp
pop ebp
ret