Function at 0x5c7c00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x906648]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5c7e94
test ebx, ebx
je 0x5c7e94
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x5c7c56
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004f1a60
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x214]
push eax
push ebx
call fcn.005c85b0
add esp, 8
test eax, eax
jne 0x5c7cf0
cmp dword [ebp - 8], eax
je 0x5c7ec3
mov dword [esi + 0x838], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
mov eax, dword [ebp + 0x18]
push edi
push dword [ebp + 0x1c]
mov dword [esi + 0x834], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x83c], eax
lea eax, [esi + 4]
push ebx
push eax
mov dword [esi + 0x848], 0
mov dword [esi + 0x840], 0
call fcn.0050cb20
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5c7d00
test byte [0x9538a8], 1
je 0x5c7ced
push edi
push str.Failed_to_initialize_the_file_iterator._err_d_n
push 0x517
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_path_itr_init_ex_ex
push dword [0x9052f0]
push 1
call fcn.004f21c0
add esp, 0x1c
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
test byte [esi + 0x834], 1
jne 0x5c7d74
push esi
call fcn.005c9880
mov edi, eax
add esp, 4
test edi, edi
je 0x5c7d4f
test byte [0x9538a8], 1
je 0x5c7dd9
push edi
push str.Failed_to_construct_volume_relative_skip_list._err___d._n
push 0x522
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_path_itr_init_ex_ex
push dword [0x9052f0]
push 1
call fcn.004f21c0
add esp, 0x1c
jmp 0x5c7dd9
push esi
call fcn.005c9a70
mov edi, eax
add esp, 4
test edi, edi
je 0x5c7d74
test byte [0x9538a8], 1
je 0x5c7dd9
push edi
push str.Failed_to_construct_absolute_skip_list._err___d._n
push 0x52b
jmp 0x5c7d30
push 0x53435351
push ebx
call fcn.004f3d00
add esp, 8
mov dword [esi + 0x838], eax
test eax, eax
jne 0x5c7d91
lea edi, [eax + 0xc]
jmp 0x5c7dd9
push eax
call fcn.004f36b0
mov ecx, dword [esi + 0x838]
mov edx, eax
add esp, 4
lea ebx, [edx + edx]
cmp word [ecx + ebx - 2], 0x5c
jne 0x5c7dd1
nop dword [eax]
mov ecx, dword [esi + 0x838]
lea edx, [edx - 1]
xor eax, eax
mov word [ecx + ebx - 2], ax
lea ebx, [edx + edx]
mov eax, dword [esi + 0x838]
cmp word [eax + ebx - 2], 0x5c
je 0x5c7db0
test edi, edi
je 0x5c7ced
mov eax, dword [esi + 0x848]
test eax, eax
je 0x5c7e20
xor ebx, ebx
cmp dword [eax], ebx
je 0x5c7e17
xor ecx, ecx
nop dword [eax + eax]
mov eax, dword [esi + 0x848]
push dword [ecx + eax]
call fcn.004f3570
mov eax, dword [esi + 0x848]
lea ebx, [ebx + 1]
lea ecx, [ebx*4]
add esp, 4
cmp dword [eax + ecx], 0
jne 0x5c7df0
push eax
call fcn.004f3570
add esp, 4
mov eax, dword [esi + 0x840]
test eax, eax
je 0x5c7e62
xor ebx, ebx
cmp dword [eax], ebx
je 0x5c7e59
xor ecx, ecx
mov eax, dword [esi + 0x840]
push dword [eax + ecx]
call fcn.004f3570
mov eax, dword [esi + 0x840]
lea ebx, [ebx + 1]
lea ecx, [ebx*4]
add esp, 4
cmp dword [eax + ecx], 0
jne 0x5c7e32
push eax
call fcn.004f3570
add esp, 4
mov eax, dword [esi + 0x838]
test eax, eax
je 0x5c7e75
push eax
call fcn.004f3570
add esp, 4
lea eax, [esi + 4]
push eax
call fcn.0050cd00
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0063c972
mov esp, ebp
pop ebp
ret
test byte [0x9538a8], 1
je 0x5c7ec3
push ebx
push esi
push str.Invalid_parameter_passed._p_itr__p__base_path__p_n
push 0x4f7
push str.E:_workspace_AC_CC_Windows_TACC_MASTER_master_src_solidifier_scan_scan.c
push str.scan_path_itr_init_ex_ex
push dword [0x9052f0]
push 1
call fcn.004f21c0
add esp, 0x20
mov ecx, dword [ebp - 4]
mov eax, 0x16
pop esi
xor ecx, ebp
pop ebx
call fcn.0063c972
mov esp, ebp
pop ebp
ret