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

Disassembly:
push 0xffffffffffffffff
push 0x101afa58
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 0x100cb2c4
push str.CIMMessageFile::CompareMessage_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x10
cmp dword [esp + 0x34], edi
jne 0x100cb2df
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.100cbed0
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.10145ad0
add esp, 8
add esi, 0x414
push eax
lea edx, [esp + 0x10]
push esi
push edx
mov byte [esp + 0x3c], 1
call fcn.10103810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.10102ee0
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 0x100cb36e
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.10140e70
add esp, 0x18
cmp esi, 0xffffffff
je 0x100cb4b6
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 0x100cb3b2
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.10140e70
add esp, 0x18
cmp ebp, edi
jbe 0x100cb428
cmp ebp, 0x2000
jbe 0x100cb3e2
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 0x100cb3e2
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.101963be
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x100cb428
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.10102ee0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
pop ebp
cmp ebx, edi
je 0x100cb466
cmp dword [esp + 0x10], edi
jbe 0x100cb45d
mov ecx, dword [esp + 0x38]
push ebx
push ecx
mov ecx, dword [esp + 0x28]
call fcn.100cb4d0
mov dword [esp + 0x14], eax
push ebx
call fcn.101963e7
add esp, 4
mov eax, dword [0x102acd68]
pop ebx
cmp eax, edi
je 0x100cb48e
mov edx, dword [esp + 0x10]
push edx
push str.CIMMessageFile::CompareMessage____d_
push str.CIMMessageFile
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
lea ecx, [esp + 0x20]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100cbef0
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.10102ee0
jmp 0x100cb466