Function at 0x100c7a9b
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push 0x234
mov eax, 0x100ec282
call fcn.10001b03
mov edi, ecx
mov eax, dword [vtable.VprocessGlobals.0]
xor ebx, ebx
mov ecx, dword [eax + 0x24]
movsx eax, byte [edi + 8]
push eax
push dword [edi + 0x50]
push str.VdirectUpdateLock::internalPreCommit__InFilePath___s__Locked___d_n
push 3
push ebx
push 0x1017e06c
call ecx
add esp, 0x18
mov byte [edi + 0x128], bl
and dword [ebp + 8], 8
je 0x100c7aeb
lea ecx, [edi + 0x68]
call fcn.100a1d00
mov byte [edi + 0x128], 1
mov esi, dword [edi + 0x120]
lea ecx, [ebp - 0x234]
push 0xffffffffffffffff
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x14]
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], edx
call fcn.10047e8b
mov ecx, esi
mov dword [ebp - 0x228], eax
call fcn.10047e8b
mov ecx, dword [edi + 0x120]
mov dword [edi + 0x124], eax
test ecx, ecx
je 0x100c7b33
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [edi + 0x68]
mov dword [edi + 0x120], ebx
push eax
lea ecx, [ebp - 0x21c]
mov dword [edi + 0x64], ebx
call fcn.10047e8b
lea ecx, [edi + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
test esi, esi
jne 0x100c7e00
lea esi, [edi + 0x68]
push esi
lea ecx, [ebp - 0x23c]
call sym.fpsrvutl.dll_Ordinal_4804
lea eax, [ebp - 0x23c]
mov byte [ebp - 4], 1
push eax
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
je 0x100c7ba7
push dword [esi]
push 5
pop edx
mov ecx, 0x20005
call fcn.1006a99f
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], bl
mov esi, eax
call sym.fpsrvutl.dll_Ordinal_974
jmp 0x100c7e00
mov eax, dword [ebp - 0x23c]
cmp dword [eax - 4], 0x7d00
jbe 0x100c7bbf
push dword [esi]
mov edx, 0xa1
jmp 0x100c7b88
lea ecx, [ebp - 0x23c]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_974
push ebx
push 0x80
push 4
push ebx
push 3
push 0xc0000000
lea eax, [ebp - 0x21c]
push eax
call fcn.10047e8b
mov ecx, eax
mov dword [edi + 0x12c], ecx
cmp ecx, 0xffffffff
jne 0x100c7c17
cmp byte [edi + 0x14c], 0
jne 0x100c7cf8
call dword [sym.imp.kernel32.dll_GetLastError]
push dword [esi]
mov edx, eax
mov ecx, 0x20002
jmp 0x100c7df9
cmp byte [edi + 0x60], 0
je 0x100c7c33
lea eax, [edi + 0x144]
push eax
lea eax, [edi + 0x13c]
push eax
push ebx
push ecx
call dword [sym.imp.kernel32.dll_GetFileTime]
push ebx
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_GetFileSize]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x100c7d0f
mov esi, dword [ebp - 0x228]
cmp eax, esi
jne 0x100c7d0f
cmp dword [ebp + 8], 0
jne 0x100c7d0f
mov ecx, eax
call fcn.1003b713
push ebx
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x22c], eax
push ecx
push dword [ebp - 0x230]
mov dword [ebp - 0x224], ebx
push eax
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
je 0x100c7cc8
mov eax, dword [ebp - 0x230]
cmp dword [ebp - 0x224], eax
jne 0x100c7cc8
push esi
mov esi, dword [ebp - 0x22c]
push esi
push dword [edi + 0x124]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100c7cce
mov byte [ebp - 0x21d], bl
jmp 0x100c7cd5
mov esi, dword [ebp - 0x22c]
mov byte [ebp - 0x21d], 1
push esi
call fcn.10047e8b
cmp byte [ebp - 0x21d], 0
pop ecx
jne 0x100c7d0f
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [edi + 0x12c], 0xffffffff
mov edx, ebx
mov dword [edi + 0x134], edx
mov dword [edi + 0xb0], 1
jmp 0x100c7e34
push 2
push ebx
push ebx
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
mov esi, eax
cmp esi, 0xffffffff
je 0x100c7ddf
mov eax, dword [ebp - 0x228]
mov edx, eax
cmp esi, eax
mov dword [edi + 0x138], esi
setb cl
mov byte [edi + 0x130], cl
jae 0x100c7cfa
push ebx
sub eax, esi
lea ecx, [ebp - 0x240]
push ecx
push eax
mov dword [ebp - 0x228], eax
mov eax, dword [edi + 0x124]
add eax, esi
push eax
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100c7d84
mov eax, dword [ebp - 0x228]
cmp dword [ebp - 0x240], eax
jne 0x100c7d84
mov edx, esi
jmp 0x100c7cfa
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
push ebx
push esi
push dword [edi + 0x12c]
mov dword [ebp - 0x224], eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
cmp eax, esi
jne 0x100c7ddf
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
je 0x100c7ddf
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x100c7dd6
mov esi, dword [edi + 0x68]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20006
jmp 0x100c7df9
or dword [edi + 0x12c], 0xffffffff
jmp 0x100c7deb
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebp - 0x224], eax
push dword [edi + 0x68]
mov edx, dword [ebp - 0x224]
mov ecx, 0x2000c
call fcn.1006a99f
mov esi, eax
mov eax, dword [edi + 0x12c]
cmp eax, 0xffffffff
je 0x100c7e19
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [edi + 0x12c], 0xffffffff
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 8]
push dword [edi + 0x124]
call fcn.10047e8b
mov dword [edi + 0x124], ebx
mov ebx, esi
pop ecx
lea ecx, [ebp - 0x21c]
call fcn.100058ed
mov eax, ebx
call fcn.10001b39
ret 4