Function at 0x5601e0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73ac8d
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x10], 0
jne 0x560219
xor al, al
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x250
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.006f4b50
add esp, 0xc
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
push 3
push 0x7884fc
call fcn.0047e880
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0055f9f0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x560281
mov eax, dword [eax]
push esi
lea ecx, [ebp - 0x2cc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x7c]
call fcn.0047c860
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x5602db
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5602d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5606b0
push edx
push ecx
call fcn.00503df0
add esp, 8
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp esi, 0xffffffff
je 0x56064b
test esi, esi
je 0x56064b
mov byte [ebp - 0xd], 1
nop dword [eax]
nop dword [eax + eax]
xor eax, eax
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
lea edx, [ecx + 2]
mov word [ebp - 0x2c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x560334
sub ecx, edx
lea eax, [ebp - 0x2a0]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0047e880
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
cmovae ecx, eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x1c], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], ecx
jne 0x5603ad
movzx ecx, word [ecx]
mov edi, 0x2e
mov edx, 1
mov eax, 0x788530
cmp ecx, edi
jb 0x5603aa
sub dword [ebp - 0x14], eax
cmp cx, di
ja 0x5603aa
cmp edx, 1
je 0x5604ec
mov ecx, dword [ebp - 0x14]
add eax, 2
dec edx
movzx ecx, word [ecx + eax]
movzx edi, word [eax]
cmp cx, di
jae 0x56038c
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
cmovae ecx, eax
cmp dword [ebp - 0x1c], 2
mov dword [ebp - 0x14], ecx
jne 0x5603fa
movzx ecx, word [ecx]
mov edi, 0x2e
mov edx, 2
mov eax, 0x788534
cmp ecx, edi
jb 0x5603fa
sub dword [ebp - 0x14], eax
cmp cx, di
ja 0x5603fa
cmp edx, 1
je 0x5604ec
mov ecx, dword [ebp - 0x14]
add eax, 2
dec edx
movzx ecx, word [ecx + eax]
movzx edi, word [eax]
cmp cx, di
jae 0x5603dc
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
call fcn.0055f9f0
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x2c]
cmp eax, edi
je 0x560482
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x560450
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x560446
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5606b0
push edx
push ecx
call fcn.00503df0
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x5604bc
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5604b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5606b0
push edx
push ecx
call fcn.00503df0
add esp, 8
test byte [ebp - 0x2cc], 0x10
je 0x56052b
lea eax, [ebp - 0x2c]
push eax
call fcn.005601e0
add esp, 4
test al, al
je 0x56058d
cmp byte [ebp - 0xd], 0
je 0x56058d
mov byte [ebp - 0xd], 1
jmp 0x560591
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x5605cf
mov edx, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x560524
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5606b0
push ecx
push edx
jmp 0x5605c7
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 0x80
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x560564
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x560591
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp + 4]
push str.Failed_to_remove_file__s
push 1
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcFileSysUtil.cpp
push 0x65
push eax
call fcn.0055d5a0
mov esi, dword [ebp - 0x34]
add esp, 0x18
mov byte [ebp - 0xd], 0
mov edx, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x5605cf
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5605c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5606b0
push edx
push ecx
call fcn.00503df0
add esp, 8
lea eax, [ebp - 0x2cc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x560310
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x5605f9
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne cl
mov byte [ebp + 0xb], cl
test eax, eax
jne 0x560635
cmp dword [edi + 0x14], 8
jb 0x560614
mov edi, dword [edi]
mov eax, dword [ebp + 4]
push edi
push str.Failed_to_remove_directory__s
push 1
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcFileSysUtil.cpp
push 0x6f
push eax
call fcn.0055d5a0
mov esi, dword [ebp - 0x34]
add esp, 0x18
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x560645
cmp byte [ebp - 0xd], 0
je 0x560645
mov byte [ebp + 0xb], 1
jmp 0x560696
mov byte [ebp + 0xb], 0
jmp 0x560696
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x560685
cmp eax, 3
je 0x560685
cmp dword [edi + 0x14], 8
jb 0x560663
mov edi, dword [edi]
mov eax, dword [ebp + 4]
push edi
push str.Unexpected_error_in_getting_info_of_path__s
push 1
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientWinUtil_srcFileSysUtil.cpp
push 0x4f
push eax
call fcn.0055d5a0
mov esi, dword [ebp - 0x34]
add esp, 0x18
xor al, al
jmp 0x560687
mov al, 1
mov byte [ebp + 0xb], al
cmp esi, 0xffffffff
je 0x56069d
mov byte [ebp + 0xb], al
test esi, esi
je 0x56069d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop esi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.006fee64
int3