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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cc17
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x5852e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push esi
mov dword [ebp - 0xa54], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410d3b
mov dword [ebp - 0xa4c], 0
lea eax, [ebp - 0xa4c]
mov dword [ebp - 4], 0
push eax
push 0x5407c8
push 0x17
push 0
push 0x543954
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x410d20
mov eax, dword [ebp - 0xa4c]
test eax, eax
je 0x410d26
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
jne 0x410d20
test edi, edi
je 0x410ae9
mov eax, dword [ebp - 0xa4c]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jne 0x410d20
mov eax, dword [ebp - 0xa4c]
push 5
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
test eax, eax
jne 0x410d20
push 0x800
push eax
lea eax, [ebp - 0xa18]
push eax
call fcn.004fbfe0
push 0x400
lea eax, [ebp - 0xa18]
push esi
push eax
call fcn.00505cce
add esp, 0x18
lea eax, [ebp - 0xa18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov esi, dword [ebp + 0x1c]
test esi, esi
js 0x410b7c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004fbfe0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0xa54]
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov eax, dword [ebp - 0xa4c]
lea edx, [ebp - 0x218]
push esi
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xa4c]
lea edx, [ebp - 0xa18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
test eax, eax
jne 0x410d20
xor ecx, ecx
mov dword [ebp - 0xa50], ecx
mov eax, dword [ebp - 0xa4c]
mov byte [ebp - 4], 1
test eax, eax
je 0x410d08
mov ecx, dword [eax]
lea edx, [ebp - 0xa50]
push edx
push 0x53feec
push eax
call dword [ecx]
test eax, eax
jns 0x410bd3
xor ecx, ecx
mov dword [ebp - 0xa50], ecx
jmp 0x410d02
mov ecx, dword [ebp - 0xa50]
test ecx, ecx
je 0x410d02
mov eax, dword [ecx]
push 1
push ebx
push ecx
call dword [eax + 0x18]
test eax, eax
jne 0x410cfc
call fcn.0044ac30
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x410ce9
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0xa48]
mov dword [ebp - 0xa38], eax
mov dword [ebp - 0xa34], 0xf
mov byte [ebp - 0xa48], al
call fcn.0040c440
push 3
push 0x53f3bc
lea ecx, [ebp - 0xa30]
mov byte [ebp - 4], 2
mov dword [ebp - 0xa20], 0
mov dword [ebp - 0xa1c], 0xf
mov byte [ebp - 0xa30], 0
call fcn.0040c440
mov byte [ebp - 4], 3
call fcn.0044ac30
mov edi, eax
lea ecx, [ebp - 0xa8]
push 0x29c
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0xa30]
push eax
call fcn.0040dcb0
mov esi, eax
push str.CreateShortcut__create___
push esi
mov byte [ebp - 4], 4
call fcn.00407070
test ebx, ebx
mov ecx, 0x53f018
cmovne ecx, ebx
push ecx
push esi
call fcn.00407070
push str._success
push esi
call fcn.00409410
mov eax, dword [edi]
add esp, 0x18
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa8]
call fcn.00409540
lea ecx, [ebp - 0xa30]
call fcn.00408b20
lea ecx, [ebp - 0xa48]
call fcn.00408b20
mov eax, dword [ebp - 0xa4c]
mov esi, 1
mov ecx, dword [ebp - 0xa50]
jmp 0x410d0a
mov ecx, dword [ebp - 0xa50]
mov eax, dword [ebp - 0xa4c]
xor esi, esi
mov byte [ebp - 4], 0
test ecx, ecx
je 0x410d28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0xa4c]
jmp 0x410d28
mov eax, dword [ebp - 0xa4c]
xor esi, esi
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x410d39
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448d48
mov esp, ebp
pop ebp
ret