Function at 0xaca10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1cb050
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x2316ec]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
mov eax, dword [0x2316ec]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x2c], eax
cmp esi, ebx
je 0xacc37
cmp byte [esi], bl
je 0xacc37
cmp eax, ebx
je 0xacc37
cmp dword [eax + 0x14], 0x10
mov dword [eax + 0x10], ebx
jb 0xaca75
mov eax, dword [eax]
mov byte [eax], bl
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov eax, esi
mov dword [esp + 0x60], ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0xaca93
lea ecx, [esp + 0x34]
push ecx
sub eax, edx
mov ecx, esi
call fcn.000847c0
mov eax, dword [esp + 0x38]
add esp, 4
cmp dword [esp + 0x48], 8
jae 0xacaba
lea eax, [esp + 0x34]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0xacc26
lea edx, [esp + 0x24]
push edx
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0xacb31
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x18], 0x11d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_when_getting_file_size__s:__d
lea esi, [esp + 0x1c]
call fcn.000a1eb0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0xacc26
mov eax, dword [esp + 0x24]
cmp dword [esp + 0x28], ebx
jl 0xacb69
jg 0xacb44
cmp eax, 0x1400000
jbe 0xacb69
push esi
push 0x1400000
mov dword [esp + 0x18], 2
mov dword [esp + 0x1c], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x20], 0x122
push str.File_is_too_big____d__:__s
jmp 0xacb19
push eax
mov dword [esp + 0x20], eax
call fcn.00157a7c
mov ebx, eax
add esp, 4
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x24]
push eax
push ecx
push ebx
mov byte [esp + 0x70], 1
push edi
mov dword [esp + 0x34], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xacbe0
mov eax, dword [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0xacbe0
mov ecx, dword [esp + 0x2c]
push eax
push ebx
call fcn.000178a0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov byte [esp + 0x64], 0
call fcn.00159081
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call fcn.00014e90
mov al, 1
jmp 0xacc39
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], str.p:p_agentshpam2.eem_recipes201152726_base_branchesinputtools_win_release_branchgoogleclientimegoopy_third_partygoogle_gadgets_for_linuxggadget_system_utils.cc
mov dword [esp + 0x18], 0x12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Error_when_loading_file__s:__d
lea esi, [esp + 0x1c]
call fcn.000a1eb0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov byte [esp + 0x64], 0
call fcn.00159081
add esp, 4
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0xffffffff
call fcn.00014e90
xor al, al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.00158a41
mov esp, ebp
pop ebp
ret