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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x740f13
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 + 0x384], 8
lea edx, [eax + 0x370]
jb 0x4a90dd
mov edx, dword [eax + 0x370]
mov eax, dword [eax + 0x380]
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], 0x760e3c
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x7c]
push 0x75ede4
push eax
call fcn.0048e820
push 0x250
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.007051b0
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 0x4a916c
test eax, eax
jne 0x4a917b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4a917b
mov al, 1
jmp 0x4a917d
xor al, al
mov ecx, dword [ebp + 4]
test al, al
je 0x4a9197
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0x15a
push ecx
call fcn.004a85b0
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x4a9509
test esi, esi
je 0x4a9509
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 0x4a9431
cmp word [ebp - 0x2d0], 0x2e
je 0x4a9431
push dword [ebp + 8]
lea eax, [ebp - 0x2f0]
push eax
call fcn.004c1d60
add esp, 8
test al, al
jne 0x4a9431
mov eax, dword [edi + 4]
cmp dword [eax + 0x384], 8
lea ecx, [eax + 0x370]
jb 0x4a921d
mov ecx, dword [eax + 0x370]
mov eax, dword [eax + 0x380]
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 0x75ede4
push eax
call fcn.0048e820
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
call fcn.00571e90
add esp, 0x20
test al, al
jne 0x4a93f0
push 0xc350
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00519080
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x10]
je 0x4a92dd
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 0x4a92e7
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00489d10
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a931f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9315
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9551
push edx
push ecx
call fcn.00516d60
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 0x4a9330
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 0x4a9376
sub eax, edi
lea ecx, [ebp - 0x34]
push eax
push edi
call fcn.00486af0
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x10]
je 0x4a93a8
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 0x4a93b8
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00489d10
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x4a93ed
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4a93e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9551
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x4a9431
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9427
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9551
push edx
push ecx
call fcn.00516d60
add esp, 8
lea eax, [ebp - 0x2fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4a91d0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x4a9498
call fcn.004b97a0
mov ecx, dword [ebp - 0x1c]
mov edi, eax
lea eax, [ebp - 0xac]
mov ecx, dword [ecx + 4]
add ecx, 0x370
push ecx
push eax
call fcn.00519050
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.004b78b0
lea ecx, [ebp - 0xac]
call fcn.00484b50
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4a9502
lea edx, [ebp - 0x18]
push edx
push ecx
push eax
call fcn.00489ca0
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 0x4a94e3
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9551
push ecx
push edi
call fcn.00516d60
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 0x4a953f
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a9535
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a9551
push edx
push ecx
call fcn.00516d60
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.0070f5b4
int3