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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fdc16
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x338
mov eax, dword [0x7fdec8]
shr eax, 5
and al, 1
push esi
mov byte [ebp - 0x24], al
mov eax, dword [ecx + 4]
push edi
push dword [ebp - 0x24]
add eax, 0x27c
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a6220
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x24]
push ecx
mov dword [ebp - 0x9c], eax
mov eax, esp
mov dword [ebp - 0xa8], ecx
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0xa0], str.version_
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x80]
push 0x7154d4
push eax
mov dword [ebp - 4], 0
call fcn.0047b280
push 0x250
lea eax, [ebp - 0x348]
push 0
push eax
call fcn.006c2360
add esp, 0x28
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x6c], 8
lea ecx, [ebp - 0x348]
lea eax, [ebp - 0x80]
cmovae eax, dword [ebp - 0x80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 2
cmp eax, 0xffffffff
je 0x4956aa
test eax, eax
jne 0x4956b9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4956b9
mov al, 1
jmp 0x4956bb
xor al, al
mov ecx, dword [ebx + 4]
test al, al
je 0x4956d5
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0x256
push ecx
call fcn.0048f370
add esp, 0xc
mov esi, dword [ebp - 0x24]
cmp esi, 0xffffffff
je 0x495b40
test esi, esi
je 0x495b40
nop dword [eax]
lea eax, [ebp - 0x31c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x495700
mov edi, dword [ebx + 8]
sub eax, edx
sar eax, 1
mov edx, edi
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
jb 0x49571f
mov edx, dword [edi]
cmp ecx, eax
jne 0x49573c
push ecx
lea eax, [ebp - 0x31c]
push eax
push edx
call fcn.004827a0
add esp, 0xc
test eax, eax
je 0x495b23
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x31c]
cmovae ecx, dword [ebp - 0x40]
sub esp, 0x10
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xac], eax
mov eax, esp
mov dword [ebp - 0xb8], ecx
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xb0], edx
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x68]
push 0x7154d4
push eax
call fcn.0047b280
cmp dword [ebp - 0x54], 8
lea ecx, [ebp - 0x68]
mov eax, dword [ebp - 0x58]
cmovae ecx, dword [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xbc], eax
mov eax, esp
mov dword [ebp - 0xc8], ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc0], str.RobloxPlayerBeta.exe
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x98]
push 0x7154d4
push eax
mov byte [ebp - 4], 3
call fcn.0047b280
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 4
push 0
push eax
call fcn.0053d3d0
add esp, 0x24
test al, al
je 0x495a84
cmp byte [0x991b00], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x7ef0c0]
mov dword [ebp - 0x1c], eax
je 0x495851
cmp byte [0x7f0008], 0
je 0x495851
test cl, cl
je 0x495944
cmp cl, 6
jb 0x495944
shr ecx, 8
cmp cl, 4
jb 0x495944
jmp 0x495859
test cl, cl
je 0x495944
lea eax, [ebp - 0x98]
mov dword [ebp - 0x18], 0x16b24dc
mov esi, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0xe0]
sub esi, 0xf9b550
push eax
call fcn.004ea3e0
add esp, 8
mov edx, eax
mov eax, dword [0x7ef0c0]
mov ecx, esi
mov dword [ebp - 0x20], eax
mov eax, dword [str.DesktopInstaller]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], eax
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4958a0
sub ecx, edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
jb 0x4958b3
mov edi, dword [edx]
mov eax, dword [edx + 0x10]
lea edx, [ebp - 0x48]
push 1
sub esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, esp
mov dword [ebp - 0x48], edi
push ecx
push esi
push 4
push dword [ebp - 0x18]
mov dword [eax], 0xd
push dword [ebp - 0x20]
mov dword [eax + 4], 0
mov dword [eax + 8], edx
call fcn.004e9800
mov edx, dword [ebp - 0xcc]
add esp, 0x28
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x495926
mov ecx, dword [ebp - 0xe0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x49591c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0xf
mov byte [ebp - 0xe0], 0
lea eax, [ebp - 0x68]
push eax
call fcn.0053dfb0
add esp, 4
test al, al
jne 0x495a84
cmp byte [0x991b00], 0
mov eax, dword [str.DesktopInstaller]
mov ecx, dword [0x7ef0c0]
mov dword [ebp - 0x1c], eax
je 0x495997
cmp byte [0x7f0008], 0
je 0x495997
test cl, cl
je 0x495a84
cmp cl, 6
jb 0x495a84
shr ecx, 8
cmp cl, 3
jb 0x495a84
jmp 0x49599f
test cl, cl
je 0x495a84
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1c], 0x16cc6e8
mov esi, dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0xf8]
sub esi, 0xfb5720
push eax
call fcn.004ea3e0
add esp, 8
mov edx, eax
mov eax, dword [0x7ef0c0]
mov ecx, esi
mov dword [ebp - 0x18], eax
mov eax, dword [str.DesktopInstaller]
mov byte [ebp - 4], 6
mov dword [ebp - 0x1c], eax
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4959e0
sub ecx, edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
jb 0x4959f3
mov edi, dword [edx]
mov eax, dword [edx + 0x10]
lea edx, [ebp - 0x50]
push 1
sub esp, 0x10
mov dword [ebp - 0x4c], eax
mov eax, esp
mov dword [ebp - 0x50], edi
push ecx
push esi
push 3
push dword [ebp - 0x1c]
mov dword [eax], 0xd
push dword [ebp - 0x18]
mov dword [eax + 4], 0
mov dword [eax + 8], edx
call fcn.004e9800
mov edx, dword [ebp - 0xe4]
add esp, 0x28
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x495a66
mov ecx, dword [ebp - 0xf8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x495a5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov edx, dword [ebp - 0x84]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x495ac8
mov ecx, dword [ebp - 0x98]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495abe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov edx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x495b23
mov ecx, dword [ebp - 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495b19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
lea eax, [ebp - 0x348]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4956f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [ebp - 0x6c]
cmp edx, 8
jb 0x495b76
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495b6c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp edx, 8
jb 0x495bc0
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x495bb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x495bd5
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.006cc674
int3