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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002d767
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x100411cc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 0x14], esi
test edi, edi
je 0x10005b4f
cmp dword [edi + 4], esi
jle 0x10005b4f
mov ebx, 0x100419e8
mov dword [ebp - 0x20], 0xe
mov dword [ebp - 0x1c], ebx
nop dword [eax]
nop word [eax + eax]
push 0xc
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 5
call fcn.1001c012
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x2c], ecx
push 0xffffffffffffffff
push str._s_s
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.10021c0c
mov ecx, dword [ebp - 0x28]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x28], ecx
push ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], edx
push edi
push eax
call fcn.10008290
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
add esp, 0xc
test eax, eax
je 0x100059cd
push 2
push eax
call fcn.1001c004
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x10005b28
mov esi, dword [ebx + 4]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x38], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1001c012
mov edx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], edx
mov word [edx + esi*2], ax
test esi, esi
je 0x10005a28
nop dword [eax]
cmp eax, dword [ebx + 4]
jb 0x10005a19
xor ecx, ecx
jmp 0x10005a1f
mov ecx, dword [ebx]
movzx ecx, word [ecx + eax*2]
mov word [edx + eax*2], cx
inc eax
cmp eax, esi
jb 0x10005a10
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.10008e40
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 2
push esi
mov edi, eax
call fcn.1001c004
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x3c]
cmp edi, 0xffffffff
sete byte [ebp - 0xd]
test eax, eax
je 0x10005a74
push 2
push eax
call fcn.1001c004
add esp, 8
mov dword [ebp - 0x3c], 0
cmp byte [ebp - 0xd], 0
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0
je 0x10005b25
test esi, esi
jne 0x10005b14
push 0x24
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x30], 0x11
call fcn.1001c012
add esp, 4
mov ecx, eax
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x34], ecx
push 0xffffffffffffffff
push str.Missing_Files:__s
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
call fcn.10021c0c
mov ecx, dword [ebp - 0x30]
xor edx, edx
add esp, 0x14
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x30], ecx
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 2
push ebx
push eax
call fcn.10008290
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x10005b0b
push 2
push ecx
call fcn.1001c004
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
jmp 0x10005b25
push 0x2c
mov ecx, esi
call fcn.10008870
push ebx
mov ecx, esi
call fcn.10008a00
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
add ebx, 8
sub dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], ebx
jne 0x10005950
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 8
call fcn.1001bb73
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 3
push 0x64
mov dword [esi], 0
mov dword [ebp - 0x20], 0
mov dword [esi + 4], 0x31
call fcn.1001c012
mov ecx, dword [esi + 4]
add esp, 4
inc ecx
mov dword [esi], eax
push 0xffffffffffffffff
push str.Path_passed_to_validateDependencies_empty_or_null
push ecx
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10021c0c
add esp, 0x14
test eax, eax
je 0x10005ba9
mov dword [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret