Function at 0x4a0de0
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x730313
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2f0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [edi + 4]
cmp dword [eax + 0x374], 8
lea edx, [eax + 0x360]
jb 0x4a0e1d
mov edx, dword [eax + 0x360]
mov eax, dword [eax + 0x370]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], eax
sub esp, 0x10
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], eax
mov eax, esp
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], 0x74d99c
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x7c]
push 0x74b980
push eax
call fcn.00486250
push 0x250
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.006f4b50
add esp, 0x28
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x68], 8
lea ecx, [ebp - 0x2fc]
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
cmp eax, 0xffffffff
je 0x4a0eac
test eax, eax
jne 0x4a0ebb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4a0ebb
mov al, 1
jmp 0x4a0ebd
xor al, al
mov ecx, dword [ebp + 4]
test al, al
je 0x4a0ed7
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0x15b
push ecx
call fcn.004a02f0
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x4a1249
test esi, esi
je 0x4a1249
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
nop dword [eax]
nop dword [eax + eax]
test byte [ebp - 0x2fc], 0x10
jne 0x4a1171
cmp word [ebp - 0x2d0], 0x2e
je 0x4a1171
push dword [ebp + 8]
lea eax, [ebp - 0x2f0]
push eax
call fcn.004b8320
add esp, 8
test al, al
jne 0x4a1171
mov eax, dword [edi + 4]
cmp dword [eax + 0x374], 8
lea ecx, [eax + 0x360]
jb 0x4a0f5d
mov ecx, dword [eax + 0x360]
mov eax, dword [eax + 0x370]
lea edx, [ebp - 0x2d0]
mov dword [ebp - 0x60], eax
sub esp, 0x10
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, esp
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x5c], edx
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x94]
push 0x74b980
push eax
call fcn.00486250
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
call fcn.00560a50
add esp, 0x20
test al, al
jne 0x4a1130
push 0xc350
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.005060d0
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x10]
je 0x4a101d
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
add dword [ebp - 0x14], 0x18
jmp 0x4a1027
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004817a0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a105f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1055
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1291
push edx
push ecx
call fcn.00503df0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea edi, [ebp - 0x3f]
nop word [eax + eax]
mov eax, 0xcccccccd
dec edi
mul ecx
shr edx, 3
mov al, dl
mov ah, dl
shl al, 2
add ah, al
add ah, ah
sub cl, ah
add cl, 0x30
mov byte [edi], cl
mov ecx, edx
test ecx, ecx
jne 0x4a1070
lea eax, [ebp - 0x3f]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], dl
cmp edi, eax
je 0x4a10b6
sub eax, edi
lea ecx, [ebp - 0x34]
push eax
push edi
call fcn.0047e790
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x10]
je 0x4a10e8
movups xmm0, xmmword [ebp - 0x34]
mov dword [eax], 0
mov edx, 0xf
mov byte [ebp - 0x34], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x10], xmm0
add dword [ebp - 0x14], 0x18
jmp 0x4a10f8
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.004817a0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a112d
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1123
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1291
push edx
push ecx
call fcn.00503df0
add esp, 8
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4a1171
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1167
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1291
push edx
push ecx
call fcn.00503df0
add esp, 8
lea eax, [ebp - 0x2fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a0f10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x4a11d8
call fcn.004afcf0
mov ecx, dword [ebp - 0x1c]
mov edi, eax
lea eax, [ebp - 0xac]
mov ecx, dword [ecx + 4]
add ecx, 0x360
push ecx
push eax
call fcn.005060a0
add esp, 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
push ecx
push dword [ebp + 8]
mov ecx, edi
push eax
call fcn.004ae500
lea ecx, [ebp - 0xac]
call fcn.0047c810
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a1242
lea edx, [ebp - 0x18]
push edx
push ecx
push eax
call fcn.00481730
mov ecx, dword [ebp - 0x10]
mov eax, 0x2aaaaaab
mov edi, dword [ebp - 0x18]
add esp, 0xc
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 3
cmp ecx, 0x1000
jb 0x4a1223
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1291
push ecx
push edi
call fcn.00503df0
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x68]
cmp edx, 8
jb 0x4a127f
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a1275
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a1291
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.006fee64
int3