Function at 0x1000e0e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
add eax, 0xc
xor esi, esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
push eax
push 0x1005d980
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x14], 0x1006260c
call sym.vmtools.dll_Unicode_Join
lea edx, [ebp - 0x28]
mov ebx, eax
push edx
mov dword [ebp - 4], ebx
call sym.vmtools.dll_FileIO_Invalidate
push 0x7d0
push 0x124
push esi
push 0x80001
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.1000b420
add esp, 0x2c
test eax, eax
je 0x1000e197
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FileLockMemberValues
call fcn.1000c670
mov edi, eax
add esp, 8
cmp edi, 2
je 0x1000e39a
push edi
call dword [sym.imp.MSVCR90.dll_strerror]
push eax
push ebx
push str.FileLockMemberValues
push str.FILE:__s_open_failure_on__s:__s_n
call sym.vmtools.dll_Warning
add esp, 0x14
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x98]
push ecx
push 0x7d0
push ebx
call fcn.1000cde0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x1000e1f1
cmp edi, 2
je 0x1000e1d2
push edi
call dword [sym.imp.MSVCR90.dll_strerror]
push eax
push ebx
push str.FileLockMemberValues
push str.FILE:__s_file_size_failure_on__s:__s_n
call sym.vmtools.dll_Warning
add esp, 0x14
lea edx, [ebp - 0x28]
push edx
call sym.vmtools.dll_FileIO_Close
add esp, 4
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x80]
mov edi, dword [ebp + 0x14]
mov edx, dword [ebp - 0x7c]
xor ecx, ecx
cmp eax, edi
jne 0x1000e204
cmp edx, ecx
je 0x1000e228
push edi
push edx
push eax
push ebx
push str.FileLockMemberValues
push str.FILE:__s_file__s:_size__I64u__required_size__Id_n
call sym.vmtools.dll_Warning
lea eax, [ebp - 0x28]
push eax
call sym.vmtools.dll_FileIO_Close
add esp, 0x1c
jmp 0x1000e328
lea ecx, [ebp - 0xc]
push ecx
push edi
mov edi, dword [ebp + 0x10]
lea edx, [ebp - 0x28]
push edi
push edx
call sym.vmtools.dll_FileIO_Read
mov esi, eax
lea eax, [ebp - 0x28]
push eax
call sym.vmtools.dll_FileIO_Close
add esp, 0x14
test esi, esi
je 0x1000e28d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.FileLockMemberValues
call fcn.1000c670
mov edi, eax
push edi
call dword [sym.imp.MSVCR90.dll_strerror]
push eax
push ebx
push str.FileLockMemberValues
push str.FILE:__s_read_failure_on__s:__s_n
call sym.vmtools.dll_Warning
add esp, 0x1c
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
je 0x1000e2c4
push ecx
push eax
push ebx
push str.FileLockMemberValues
push str.FILE:__s_read_length_issue_on__s:__Id_and__Id_n
call sym.vmtools.dll_Warning
add esp, 0x14
push ebx
mov edi, 5
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
mov ebx, dword [sym.imp.MSVCR90.dll_strtok_s]
mov edx, esi
neg edx
sbb edx, edx
lea ecx, [ebp - 8]
push ecx
not edx
and edx, edi
push 0x1005de50
push edx
call ebx
add esp, 0xc
mov dword [ebp + esi*4 - 0x68], eax
test eax, eax
je 0x1000e2f3
inc esi
cmp esi, 0x10
jb 0x1000e2c6
mov eax, dword [ebp + 0x18]
add eax, 0xc
mov dword [eax], 0
cmp esi, 5
jb 0x1000e325
cmp esi, 0x10
jne 0x1000e3ad
lea eax, [ebp - 8]
push eax
push 0x1005de50
push 0
call ebx
add esp, 0xc
test eax, eax
je 0x1000e3b2
mov ebx, dword [ebp - 4]
push ebx
push str.FileLockMemberValues
push str.FILE:__s_removing_problematic_lock_file__s_n
call sym.vmtools.dll_Warning
add esp, 0xc
test esi, esi
je 0x1000e381
mov ecx, dword [ebp + 0xc]
push ecx
push str.FileLockMemberValues
push str.FILE:__s__s_contents_are:_n
call sym.vmtools.dll_Log
add esp, 0xc
xor edi, edi
test esi, esi
jbe 0x1000e381
jmp 0x1000e360
mov edx, dword [ebp + edi*4 - 0x68]
mov eax, dword [ebp + 0xc]
push edx
push edi
push eax
push str.FileLockMemberValues
push str.FILE:__s__s_argv__u_:__s_n
call sym.vmtools.dll_Log
inc edi
add esp, 0x14
cmp edi, esi
jb 0x1000e360
push 0x7d0
push 0
push ebx
call fcn.1000ca80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1000e39a
lea edi, [eax + 2]
push ebx
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 5
jbe 0x1000e3cf
push 1
lea ecx, [ebp - 0x18]
push ecx
lea edx, [esi - 5]
push edx
lea eax, [ebp - 0x68]
call fcn.1000dff0
add esp, 0xc
test al, al
jne 0x1000e325
mov ebx, dword [ebp - 0x64]
push 0x2d
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
test eax, eax
jne 0x1000e45c
push 0x28
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
test eax, eax
jne 0x1000e45c
push 0x29
push ebx
call dword [sym.imp.MSVCR90.dll_strchr]
add esp, 8
test eax, eax
jne 0x1000e45c
cmp esi, 6
jne 0x1000e45c
push 1
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x68]
call fcn.1000dff0
add esp, 0xc
test al, al
jne 0x1000e45c
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x60]
push eax
push edx
mov edx, dword [ebp - 0x68]
push ecx
push eax
push ebx
push edx
push str._s__s__s__s__s__s__s
push 0
call sym.vmtools.dll_Str_SafeAsprintf
mov esi, eax
mov eax, dword [ebp + 0x14]
push eax
push esi
push edi
call sym.vmtools.dll_Str_Strcpy
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 0x34
jmp 0x1000e2c4
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp - 0x60]
lea ecx, [edi + 0x14]
push ecx
push 0x1005f1d0
push edx
call dword [sym.imp.MSVCR90.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x1000e325
mov eax, dword [ebp - 0x5c]
mov ecx, 0x10062494
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000e4a6
test dl, dl
je 0x1000e4a2
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000e4a6
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000e486
xor eax, eax
jmp 0x1000e4ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x1000e4e4
mov eax, dword [ebp - 0x5c]
mov ecx, 0x10062490
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1000e4d7
test dl, dl
je 0x1000e4d3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1000e4d7
add eax, 2
add ecx, 2
test dl, dl
jne 0x1000e4b7
xor eax, eax
jmp 0x1000e4dc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000e325
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x5c]
push edx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 8], ecx
call sym.vmtools.dll_Unicode_Duplicate
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret