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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6fe9bd
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov ecx, eax
push esi
cmp dword [eax + 0x14], 8
jb 0x4a4e89
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4a4e99
mov edx, dword [eax]
mov eax, dword [eax + 0x10]
sub esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, esp
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
push 9
mov dword [eax], 0xdd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x34]
push 0x71703c
push eax
call fcn.0047b280
add esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
push 0x7573d0
push 1
push 0
push 0x7c1778
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4a4f1f
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x197
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5077
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x14], 8
jb 0x4a4f32
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4a4f58
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x199
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5077
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x14], 8
jb 0x4a4f6b
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4a4f91
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x19a
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5077
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a4ff1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x4a4ff1
call esi
mov esi, eax
test esi, esi
jle 0x4a4fcf
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x4a5077
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x19d
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5077
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x7c1768
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x4a502c
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1a0
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5066
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x20], 8
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
lea ecx, [ebp - 0x34]
cmovae ecx, dword [ebp - 0x34]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4a5064
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1a1
push eax
call fcn.004675e0
add esp, 0x10
jmp 0x4a5066
xor esi, esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4a5077
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4a5088
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4a50be
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a50b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a50cf
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.006cc674
int3