Function at 0x1000c9e0
Capabilities:
Check if file exists
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x48
mov eax, dword [0x10014034]
xor eax, esp
mov dword [esp + 0x44], eax
push ebx
push edi
push 0x230
xor ebx, ebx
push ebx
push esi
mov edi, ecx
call sub.MSVCR100.dll_memset
mov eax, dword [edi + 0xc]
add esp, 0xc
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x22]
push 0x104
push eax
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
cmp eax, 0x50
ja case.0x1000ca31.33
movzx ecx, byte [eax + 0x1000cc58]
jmp dword [ecx*4 + 0x1000cc48]
push 0x8007000e
call fcn.10009030
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x1000cc28
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1000ca7b
xor eax, eax
pop edi
pop ebx
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.1000d9d2
mov esp, ebp
pop ebp
ret
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1000ca68
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x18], edx
mov dword [esi + 0x1c], eax
mov edi, dword [edi + 0xc]
cmp dword [edi - 0xc], ebx
jne 0x1000caa9
mov byte [esi + 0x20], bl
jmp 0x1000cabd
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
sete cl
dec cl
and cl, al
mov byte [esi + 0x20], cl
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xc]
push eax
call edi
test eax, eax
je 0x1000cb25
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1000cb25
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc]
push ecx
call edi
test eax, eax
jne 0x1000cb09
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push 0x80070057
call fcn.10009030
lea edx, [esp + 0x3c]
push edx
lea ebx, [esp + 0x30]
call fcn.1000c160
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
xor ebx, ebx
jmp 0x1000cb2a
mov dword [esi], ebx
mov dword [esi + 4], ebx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
call edi
test eax, eax
je 0x1000cb8d
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1000cb8d
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x28]
push edx
call edi
test eax, eax
jne 0x1000cb70
push 0x80070057
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.10009030
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x30]
call fcn.1000c160
mov ecx, dword [eax]
mov dword [esi + 0x10], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x14], edx
xor ebx, ebx
jmp 0x1000cb97
xor eax, eax
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x1000cbf8
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
je 0x1000cbf8
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x20]
push edx
call edi
test eax, eax
jne 0x1000cbdd
push 0x80070057
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.10009030
lea eax, [esp + 0x3c]
push eax
lea ebx, [esp + 0x30]
call fcn.1000c160
mov ecx, dword [eax]
mov dword [esi + 8], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0xc], edx
jmp 0x1000cc02
xor eax, eax
xor ecx, ecx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x1000cc14
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x1000cc28
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov ecx, dword [esp + 0x4c]
pop edi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.1000d9d2
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10009030
inc edx
retf 4096