Function at 0x4b6de0
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 0x731a7d
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 0x4b6e09
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6e19
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 0x74e154
push eax
call fcn.00486250
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 0x78ac2c
push 1
push 0
push 0x7fdd9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4b6e9f
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1a9
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6ff7
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 0x4b6eb2
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4b6ed8
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1ab
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6ff7
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 0x4b6eeb
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4b6f11
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1ac
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6ff7
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 0x4b6f71
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x4b6f71
call esi
mov esi, eax
test esi, esi
jle 0x4b6f4f
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x4b6ff7
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1af
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6ff7
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x7fdd8c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x4b6fac
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1b2
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6fe6
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 0x4b6fe4
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1b3
push eax
call fcn.00472580
add esp, 0x10
jmp 0x4b6fe6
xor esi, esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4b6ff7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4b7008
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4b703e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4b7034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4b704f
push edx
push ecx
call fcn.00503df0
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.006fee64
int3