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

Disassembly:
push 0xffffffffffffffff
push 0x101b0798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x102acd68]
push esi
push edi
xor edi, edi
mov esi, ecx
cmp eax, edi
mov dword [esp + 0x1c], esi
je 0x100cb3f4
push str.CIMMessageFile::CompareMessage_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x10
cmp dword [esp + 0x34], edi
jne 0x100cb40f
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.100cc000
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.10146810
add esp, 8
add esi, 0x414
push eax
lea edx, [esp + 0x10]
push esi
push edx
mov byte [esp + 0x3c], 1
call fcn.10103940
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.10103010
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 [0x102acd68]
cmp eax, edi
je 0x100cb49e
mov ecx, dword [esp + 0xc]
push ecx
push esi
push str.CIMMessageFile::CompareMessage_1___x____s_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp esi, 0xffffffff
je 0x100cb5e6
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 [0x102acd68]
cmp eax, edi
je 0x100cb4e2
mov eax, dword [esp + 0x1c]
push eax
push ebp
push str.CIMMessageFile::CompareMessage_2___d____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
cmp ebp, edi
jbe 0x100cb558
cmp ebp, 0x2000
jbe 0x100cb512
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 0x100cb512
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.101970fe
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100cb558
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.10103010
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
pop ebp
cmp ebx, edi
je 0x100cb596
cmp dword [esp + 0x10], edi
jbe 0x100cb58d
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.100cb600
mov dword [esp + 0x14], eax
push ebx
call fcn.10197127
add esp, 4
mov eax, dword [0x102acd68]
pop ebx
cmp eax, edi
je 0x100cb5be
mov edx, dword [esp + 0x10]
push edx
push str.CIMMessageFile::CompareMessage____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100cc020
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.10103010
jmp 0x100cb596