Function at 0x435520
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe58
mov eax, dword [0x4b1120]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xa3c], 0
xor eax, eax
mov word [ebp - 0x828], ax
xor ecx, ecx
mov dword [ebp - 0x826], ecx
xor edx, edx
mov word [ebp - 0x418], dx
push 0x206
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.00447660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x820], cx
push 0x1fe
push 0
lea edx, [ebp - 0x81e]
push edx
call fcn.00447660
add esp, 0xc
xor eax, eax
mov word [ebp - 0xc40], ax
push 0x1fe
push 0
lea ecx, [ebp - 0xc3e]
push ecx
call fcn.00447660
add esp, 0xc
xor edx, edx
mov word [ebp - 0xa30], dx
push 0x206
push 0
lea eax, [ebp - 0xa2e]
push eax
call fcn.00447660
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x620], cx
push 0x206
push 0
lea edx, [ebp - 0x61e]
push edx
call fcn.00447660
add esp, 0xc
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.00447660
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x435a91
cmp dword [ebp + 0x10], 0
je 0x435a91
mov eax, dword [ebp + 0x10]
push eax
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x435a91
cmp dword [ebp + 0x14], 0
je 0x435a91
cmp dword [ebp + 0xc], 0
je 0x435a91
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x435a91
cmp dword [ebp + 0x18], 0
je 0x435a91
cmp dword [ebp + 0x1c], 0
jl 0x435a91
cmp dword [ebp + 0x20], 0
je 0x435a91
cmp dword [ebp + 0x24], 0
je 0x435a91
cmp dword [ebp + 0x28], 0
jl 0x435a91
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4356ba
mov eax, dword [ebp + 0x10]
push eax
push 0x497900
call fcn.00437970
add esp, 8
xor eax, eax
jmp 0x435aab
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0xc44], eax
lea ecx, [ebp - 0xa34]
push ecx
push 0x49b8cc
push 1
push 0
push 0x49b91c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jl 0x435a8b
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [eax + 0x2c]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x435760
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0xa34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa34]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0xc44], eax
cmp dword [ebp + 0x1c], 0
jle 0x435784
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 0xa34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
mov dword [ebp - 0xc44], eax
mov edx, dword [ebp + 0x20]
push edx
push 0x104
lea eax, [ebp - 0xa30]
push eax
call fcn.0044a00d
add esp, 0xc
lea ecx, [ebp - 0xa30]
push ecx
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x4357d0
lea edx, [ebp - 0xa30]
push edx
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 0x24]
call eax
mov dword [ebp - 0xc44], eax
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.00447df8
add esp, 4
test eax, eax
jbe 0x435808
cmp dword [ebp + 0x28], 0
jl 0x435808
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp - 0xa34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa34]
push eax
mov ecx, dword [edx + 0x44]
call ecx
mov dword [ebp - 0xc44], eax
lea edx, [ebp - 0xa38]
push edx
push 0x49b93c
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jl 0x435a77
push 0x100
lea ecx, [ebp - 0xc40]
push ecx
push 0x100
lea edx, [ebp - 0x820]
push edx
push 0x104
lea eax, [ebp - 0x418]
push eax
push 3
lea ecx, [ebp - 0x828]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.0044af7d
add esp, 0x24
push 4
push 0x497948
lea eax, [ebp - 0x820]
push eax
call fcn.0044aea6
add esp, 0xc
test eax, eax
je 0x4358a6
push str..lnk
push 0x100
lea ecx, [ebp - 0x820]
push ecx
call fcn.00447b21
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x620]
push eax
call fcn.0044a00d
add esp, 0xc
lea ecx, [ebp - 0x620]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4358ff
lea eax, [ebp - 0x620]
push eax
push str.CreateShortCut___s_doesnt_exist_
call fcn.00437970
add esp, 8
lea ecx, [ebp - 0x620]
push ecx
call fcn.0040cdb0
add esp, 4
lea edx, [ebp - 0x820]
push edx
lea eax, [ebp - 0x620]
push eax
push 0x4979a8
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.00447c36
add esp, 0x14
cmp dword [ebp + 0x2c], 0
je 0x4359f7
lea edx, [ebp - 0xe54]
push edx
push 0x49b8fc
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx]
call eax
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jne 0x4359f7
mov dword [ebp - 0xe58], 0
lea ecx, [ebp - 0xe58]
push ecx
mov edx, dword [ebp - 0xe54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe54]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0xc44], eax
cmp dword [ebp - 0xc44], 0
jne 0x4359f7
mov eax, dword [ebp - 0xe58]
and eax, 0x2000
jne 0x4359f7
mov ecx, dword [ebp - 0xe58]
or ecx, 0x2000
push ecx
mov edx, dword [ebp - 0xe54]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe54]
push ecx
mov edx, dword [eax + 0x1c]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xe58]
or eax, 0x2000
push eax
push str.SetFlags___d
call fcn.00437da0
add esp, 8
mov ecx, dword [ebp - 0xe54]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xe54]
push eax
mov ecx, dword [edx + 8]
call ecx
lea edx, [ebp - 0x210]
push edx
push 0x104
lea eax, [ebp - 0xe50]
push eax
call fcn.0044a00d
add esp, 0xc
push 1
lea ecx, [ebp - 0xe50]
push ecx
mov edx, dword [ebp - 0xa38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa38]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0xc44], eax
mov eax, dword [ebp - 0xc44]
push eax
lea ecx, [ebp - 0xe50]
push ecx
push str.CreateShortCut__PersistFile__Save__s____d
call fcn.00437970
add esp, 0xc
mov edx, dword [ebp - 0xa38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xa38]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0xc44], 0
jne 0x435a77
mov dword [ebp - 0xa3c], 1
mov eax, dword [ebp - 0xa34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xa34]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xa3c]
push ecx
push str.CreateShortCut__End__d_
call fcn.00437970
add esp, 8
mov eax, dword [ebp - 0xa3c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447645
mov esp, ebp
pop ebp
ret