Function at 0xc8d60
Capabilities:
Get disk size
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x119a20
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x13206c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x74], esi
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x6c], ebx
call fcn.000cf3a0
push 0
push 0x20000080
push 3
mov dword [ebp - 4], 0
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
push 0
cmovae eax, dword [ebp - 0x44]
push 1
push 0x80000000
mov dword [ebx], 0
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0xc8de4
or esi, eax
jmp 0xc8fb0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0xc8e03
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xffffff38
jmp 0xc8fb0
test eax, eax
jne 0xc8e15
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
jmp 0xc8fb0
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x64]
mov dword [ebx], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
movzx eax, word [eax]
push eax
call fcn.000ce730
xor eax, eax
mov dword [ebp - 0x2c], 0x129c14
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
push 2
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
inc dword [0x134754]
push 0x129810
call fcn.000d1370
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x60]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.000d1030
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.000ced70
cmp dword [ebp - 0x4c], 8
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
mov ebx, 0x200
push ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x84]
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
mov eax, dword [ebp - 0x6c]
cmovne ebx, dword [ebp - 0x78]
mov dword [ebp - 0x70], ebx
mov eax, dword [eax]
add eax, 2
push eax
call fcn.000f17ca
add esp, 4
mov dword [esi], eax
test eax, eax
jne 0xc8eed
mov eax, dword [ebp - 0x6c]
push edi
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffe70
jmp 0xc8fa8
push 4
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
test ebx, ebx
jne 0xc8f25
push dword [esi]
call fcn.000f1787
mov eax, dword [ebp - 0x6c]
add esp, 4
mov dword [esi], ebx
push edi
mov dword [eax], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0xfffffe0c
jmp 0xc8fa8
xor esi, esi
lea eax, [ebp - 0x68]
push esi
push eax
push dword [ebp - 0x70]
mov dword [ebp - 0x68], esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xc8f78
nop
mov eax, dword [ebp - 0x68]
test eax, eax
je 0xc8f78
push eax
mov eax, dword [ebp - 0x74]
push ebx
mov eax, dword [eax]
add eax, esi
push eax
call fcn.000f31b0
add esi, dword [ebp - 0x68]
lea eax, [ebp - 0x68]
add esp, 0xc
mov dword [ebp - 0x68], 0
push 0
push eax
push dword [ebp - 0x70]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0xc8f40
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x6c]
mov ecx, dword [eax]
mov eax, dword [edx]
mov byte [ecx + eax], 0
cmp esi, dword [edx]
jne 0xc8fa3
xor esi, esi
jmp 0xc8fa8
mov esi, 0xffffff94
lea ecx, [ebp - 0x64]
call fcn.000ced70
dec dword [0x134754]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x48], 0x129c14
cmp edx, 8
jb 0xc8ff3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0xc8fe9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xc9011
push edx
push ecx
call fcn.000f17bc
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.000f1776
mov esp, ebp
pop ebp
ret
call fcn.000f75a6
int3