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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6fd433
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 0x48f60d
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], 0x7169fc
push 5
mov dword [eax], 0xcd
mov dword [eax + 4], 0
mov dword [eax + 8], ecx
lea eax, [ebp - 0x7c]
push 0x7154d4
push eax
call fcn.0047b280
push 0x250
lea eax, [ebp - 0x2fc]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.006c2360
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 0x48f69c
test eax, eax
jne 0x48f6ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x48f6ab
mov al, 1
jmp 0x48f6ad
xor al, al
mov ecx, dword [ebp + 4]
test al, al
je 0x48f6c7
push str.C:_buildAgentworkci_deploy_ninja_boot_x86_gitClientInstallerWindows_srcInstaller.cpp
push 0xbe
push ecx
call fcn.0048f370
add esp, 0xc
mov esi, dword [ebp - 0x38]
cmp esi, 0xffffffff
je 0x48fa39
test esi, esi
je 0x48fa39
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 0x48f961
cmp word [ebp - 0x2d0], 0x2e
je 0x48f961
push dword [ebp + 8]
lea eax, [ebp - 0x2f0]
push eax
call fcn.004a62d0
add esp, 8
test al, al
jne 0x48f961
mov eax, dword [edi + 4]
cmp dword [eax + 0x374], 8
lea ecx, [eax + 0x360]
jb 0x48f74d
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 0x7154d4
push eax
call fcn.0047b280
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 3
push eax
call fcn.0053df40
add esp, 0x20
test al, al
jne 0x48f920
push 0xc350
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004ea410
add esp, 0xc
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 4
cmp ecx, dword [ebp - 0x10]
je 0x48f80d
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 0x48f817
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.00476780
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x48f84f
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f845
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa81
push edx
push ecx
call fcn.004e7fa0
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 0x48f860
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 0x48f8a6
sub eax, edi
lea ecx, [ebp - 0x34]
push eax
push edi
call fcn.00473620
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 5
cmp eax, dword [ebp - 0x10]
je 0x48f8d8
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 0x48f8e8
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00476780
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x48f91d
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48f913
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa81
push edx
push ecx
call fcn.004e7fa0
add esp, 8
mov edi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x80]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x48f961
mov ecx, dword [ebp - 0x94]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48f957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa81
push edx
push ecx
call fcn.004e7fa0
add esp, 8
lea eax, [ebp - 0x2fc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x48f700
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
je 0x48f9c8
call fcn.0049dfa0
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.004ea3e0
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.0049c6a0
lea ecx, [ebp - 0xac]
call fcn.004716c0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x48fa32
lea edx, [ebp - 0x18]
push edx
push ecx
push eax
call fcn.00476710
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 0x48fa13
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa81
push ecx
push edi
call fcn.004e7fa0
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 0x48fa6f
mov ecx, dword [ebp - 0x7c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48fa65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48fa81
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
ret 4
call fcn.006cc674
int3