Function at 0x4bdbc0
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 0x73e14d
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 0x4bdbe9
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
mov eax, dword [ebp + 0xc]
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4bdbf9
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 0x75c3fc
push eax
call fcn.0048bbe0
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 0x799c3c
push 1
push 0
push 0x80cd9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x4bdc7f
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1a9
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddd7
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 0x4bdc92
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4bdcb8
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1ab
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddd7
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 0x4bdccb
mov ecx, dword [ecx]
push ecx
push eax
call edx
mov esi, eax
test esi, esi
jns 0x4bdcf1
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1ac
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddd7
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 0x4bdd51
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x4bdd51
call esi
mov esi, eax
test esi, esi
jle 0x4bdd2f
movzx esi, si
or esi, 0x80070000
test esi, esi
jns 0x4bddd7
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1af
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddd7
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
push edx
push 0x80cd8c
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx]
mov esi, eax
test esi, esi
jns 0x4bdd8c
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1b2
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddc6
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 0x4bddc4
mov eax, dword [ebp + 4]
push esi
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcUtil.cpp
push 0x1b3
push eax
call fcn.00477c90
add esp, 0x10
jmp 0x4bddc6
xor esi, esi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x4bddd7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 0xc
test eax, eax
je 0x4bdde8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x20]
cmp edx, 8
jb 0x4bde1e
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4bde14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bde2f
push edx
push ecx
call fcn.00512900
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.0070b6e4
int3