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

Disassembly:
push 0xffffffffffffffff
push 0x101b3ba8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x102cb7c8]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x1c], esi
je 0x100cc034
push str.CIMMessageFile::CompareMessage_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x10
cmp dword [esp + 0x34], edi
jne 0x100cc04f
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
push ebx
lea ecx, [esp + 0x24]
call fcn.100ccc40
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x34], edi
push ecx
mov dword [esp + 0x1c], edi
xor ebx, ebx
mov dword [esp + 0x18], edi
call fcn.10149b40
add esp, 8
add esi, 0x414
push eax
lea edx, [esp + 0x10]
push esi
push edx
mov byte [esp + 0x3c], 1
call fcn.10106a40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.10106110
mov eax, dword [esp + 0xc]
push edi
push edi
push 3
push edi
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov eax, dword [0x102cb7c8]
cmp eax, edi
je 0x100cc0de
mov ecx, dword [esp + 0xc]
push ecx
push esi
push str.CIMMessageFile::CompareMessage_1___x____s_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
cmp esi, 0xffffffff
je 0x100cc226
lea edx, [esp + 0x18]
push ebp
push edx
push esi
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
mov eax, dword [0x102cb7c8]
cmp eax, edi
je 0x100cc122
mov eax, dword [esp + 0x1c]
push eax
push ebp
push str.CIMMessageFile::CompareMessage_2___d____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
cmp ebp, edi
jbe 0x100cc198
cmp ebp, 0x2000
jbe 0x100cc152
push 2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0xffffe000
push esi
mov ebp, 0x2000
call edi
cmp eax, 0xffffffff
jne 0x100cc152
push 0
push 0
push 0
push esi
call edi
mov edi, ebp
shr edi, 1
inc edi
lea ecx, [edi*4]
push ecx
call fcn.1019a42e
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100cc198
lea ecx, [edi + edi]
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
push eax
push ebp
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 0x14]
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call fcn.10106110
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
pop ebp
cmp ebx, edi
je 0x100cc1d6
cmp dword [esp + 0x10], edi
jbe 0x100cc1cd
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.100cc240
mov dword [esp + 0x14], eax
push ebx
call fcn.1019a457
add esp, 4
mov eax, dword [0x102cb7c8]
pop ebx
cmp eax, edi
je 0x100cc1fe
mov edx, dword [esp + 0x10]
push edx
push str.CIMMessageFile::CompareMessage____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100ccc60
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.10106110
jmp 0x100cc1d6