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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73c8c3
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 + 0x390], 8
lea edx, [eax + 0x37c]
jb 0x4a6b1d
mov edx, dword [eax + 0x37c]
mov eax, dword [eax + 0x38c]
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], 0x75bc44
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x7c]
push 0x759c40
push eax
call fcn.0048bbe0
push 0x250
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.007012e0
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 0x4a6bac
test eax, eax
jne 0x4a6bbb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4a6bbb
mov al, 1
jmp 0x4a6bbd
xor al, al
mov ecx, dword [ebp + 4]
test al, al
je 0x4a6bd7
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0x15a
push ecx
call fcn.004a5ff0
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x4a6f49
test esi, esi
je 0x4a6f49
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 0x4a6e71
cmp word [ebp - 0x2d0], 0x2e
je 0x4a6e71
push dword [ebp + 8]
lea eax, [ebp - 0x2f0]
push eax
call fcn.004bf100
add esp, 8
test al, al
jne 0x4a6e71
mov eax, dword [edi + 4]
cmp dword [eax + 0x390], 8
lea ecx, [eax + 0x37c]
jb 0x4a6c5d
mov ecx, dword [eax + 0x37c]
mov eax, dword [eax + 0x38c]
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 0x759c40
push eax
call fcn.0048bbe0
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
call fcn.0056d2d0
add esp, 0x20
test al, al
jne 0x4a6e30
push 0xc350
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00514b80
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x10]
je 0x4a6d1d
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 0x4a6d27
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00486eb0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a6d5f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6d55
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f91
push edx
push ecx
call fcn.00512900
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 0x4a6d70
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 0x4a6db6
sub eax, edi
lea ecx, [ebp - 0x34]
push eax
push edi
call fcn.00483e90
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x10]
je 0x4a6de8
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 0x4a6df8
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00486eb0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a6e2d
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6e23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f91
push edx
push ecx
call fcn.00512900
add esp, 8
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4a6e71
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6e67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f91
push edx
push ecx
call fcn.00512900
add esp, 8
lea eax, [ebp - 0x2fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a6c10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x4a6ed8
call fcn.004b6ad0
mov ecx, dword [ebp - 0x1c]
mov edi, eax
lea eax, [ebp - 0xac]
mov ecx, dword [ecx + 4]
add ecx, 0x37c
push ecx
push eax
call fcn.00514b50
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.004b4dd0
lea ecx, [ebp - 0xac]
call fcn.00481f10
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a6f42
lea edx, [ebp - 0x18]
push edx
push ecx
push eax
call fcn.00486e40
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 0x4a6f23
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f91
push ecx
push edi
call fcn.00512900
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 0x4a6f7f
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a6f75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a6f91
push edx
push ecx
call fcn.00512900
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.0070b6e4
int3