Function at 0x402790
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x425a56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x624
mov eax, dword [0x431468]
push ebp
push esi
push edi
push 0x106
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
mov dword [esp + 0x638], eax
call fcn.0040fe40
mov eax, dword [esp + 0x65c]
mov ebp, dword [esp + 0x658]
mov ecx, dword [esp + 0x654]
mov edi, dword [esp + 0x650]
mov esi, dword [esp + 0x64c]
push eax
push ebp
push ecx
push edi
push esi
push str._FileName:__s___WorkingDir:__s___ShortcutPath:__s___Argument:__s___IconPath:__s__n
call fcn.004100a0
add esp, 0x24
call dword [fcn.00430090]
call fcn.0040fea0
cmp eax, 8
jne 0x40282b
push 0x4274d0
push esi
call fcn.00410fc0
add esp, 8
cmp eax, 1
jne 0x40282b
jmp 0x402afb
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x42c]
push eax
push 0x104
push esi
mov dword [esp + 0x64c], ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
cmp eax, ebx
jne 0x402879
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x63c], 0xffffffff
je 0x40286f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, 0x80004005
jmp 0x402afa
lea edx, [esp + 0x10]
push edx
push 0x428f88
push 1
push ebx
push 0x428fa8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x402abe
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x4028ba
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x427628
push eax
call dword [ecx]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x428]
push edx
push eax
mov byte [esp + 0x644], 1
call dword [ecx + 0x50]
mov esi, eax
cmp esi, ebx
jge 0x4028f4
push 0x12c
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.ipShellLink__SetPath_failed_n
jmp 0x402a11
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x24]
mov esi, eax
cmp esi, ebx
jge 0x402920
push 0x133
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.ipShellLink__SetWorkingDirectory_failed_n
jmp 0x40299a
push ebp
call fcn.004101b0
add esp, 4
test eax, eax
je 0x40295c
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ebp
push eax
call dword [edx + 0x2c]
mov esi, eax
cmp esi, ebx
jge 0x40295c
push 0x13b
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.ipShellLink__SetArguments_failed_n
jmp 0x402a11
mov esi, dword [esp + 0x658]
push esi
call fcn.004101b0
add esp, 4
test eax, eax
je 0x4029c0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x1c]
mov esi, eax
cmp esi, ebx
jge 0x4029c0
push 0x144
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.ipShellLink__SetDescription_failed_n
call fcn.004100a0
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov byte [esp + 0x63c], bl
je 0x402adf
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x402adf
mov esi, dword [esp + 0x654]
push 0x4274bc
push esi
call fcn.004101a0
add esp, 8
test eax, eax
je 0x402a50
push esi
call fcn.004103e0
add esp, 4
test eax, eax
je 0x402a50
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push ebx
push esi
push eax
call dword [edx + 0x44]
mov esi, eax
cmp esi, ebx
jge 0x402a50
push 0x14d
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.ipShellLink__SetIconLocation_failed_n
call fcn.004100a0
mov eax, dword [esp + 0x24]
add esp, 0x10
cmp eax, ebx
mov byte [esp + 0x63c], bl
je 0x402a2e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x63c], 0xffffffff
je 0x402af8
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x402af8
call dword [fcn.00430090]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x64c]
mov ecx, dword [eax]
push 1
push edi
push eax
call dword [ecx + 0x18]
mov esi, eax
cmp esi, ebx
jl 0x402a97
push 0x156
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push edi
push str.ipPersistFile__Save_succeeded__s__n
call fcn.004100a0
add esp, 0x14
jmp 0x4029a2
push 0x158
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push edi
push str.ipPersistFile__Save_failed__s__n
call fcn.004100a0
add esp, 0x14
jmp 0x4029a2
push 0x15b
push str.ProjectMui_svnCommonLibCommonAPI.cpp
push str._n__s:__d_
call fcn.0040fe40
push str.CoCreateInstance::CLSID_ShellLink_failed_n
call fcn.004100a0
add esp, 0x10
mov eax, dword [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x63c], 0xffffffff
je 0x402af8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x630]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x624]
pop ebp
call fcn.00412e0b
add esp, 0x630
ret