Function at 0x406cf0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x435699
mov eax, dword fs:[0]
push eax
sub esp, 0x838
mov eax, dword [0x441400]
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 0x406d2e
cmp dword [ebp + 0xc], 0
jne 0x406d35
xor eax, eax
jmp 0x406fa0
lea eax, [ebp - 0x14]
push eax
push 0x43bdcc
push 1
push 0
push 0x43be0c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x406f9d
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 0x406d84
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 0x406d9c
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 0x406db2
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00425850
add esp, 4
test eax, eax
jne 0x406dca
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 0x406de0
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.0040a630
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
jne 0x406e04
xor eax, eax
jmp 0x406fa0
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.00402cb0
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 0x43bdfc
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 0x406f8f
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.004258f0
add esp, 8
push 4
push 0x437c34
lea ecx, [ebp - 0x21c]
push ecx
call fcn.00425850
add esp, 4
lea edx, [ebp + eax - 0x220]
push edx
call fcn.0040a610
add esp, 0xc
test eax, eax
je 0x406ebe
push str..lnk
lea eax, [ebp - 0x21c]
push eax
call fcn.00425900
add esp, 8
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x62c]
push edx
call fcn.004258f0
add esp, 8
push 0x5c
lea eax, [ebp - 0x62c]
push eax
call fcn.0040a650
add esp, 8
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x406f0c
mov ecx, dword [ebp - 0x220]
mov byte [ecx], 0
lea edx, [ebp - 0x62c]
push edx
call fcn.004059a0
add esp, 4
push 1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x83c]
call fcn.0040c3c0
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.0040c3b0
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.0040c3f0
cmp dword [ebp - 0x10], 0
jne 0x406f7b
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.00423ff6
mov esp, ebp
pop ebp
ret