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

Disassembly:
push 0x3cc
mov eax, 0x1014fab9
call fcn.100f6c7f
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.100cecbd
call fcn.100a4663
push eax
lea ecx, [ebp - 0x94]
call fcn.100aa289
and dword [ebp - 4], 0
call fcn.100a466f
mov ecx, eax
call fcn.100aaa9c
test al, al
je 0x100ce9b1
push ebx
lea ecx, [ebp - 0x94]
call fcn.100aa513
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.1002da70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x100ce90d
push str.Error_opening_file
jmp 0x100cea40
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x100ce925
push ebx
push str.File_is_empty
jmp 0x100cea40
cmp edi, 0x400000
jbe 0x100ce938
push ebx
push str.File_too_large
jmp 0x100cea40
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.100f6627
pop ecx
mov ebx, eax
lea eax, [ebp - 0x3d4]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], edi
je 0x100ce992
push ebx
call fcn.100f60cd
pop ecx
mov ecx, esi
call fcn.100cecbd
push 0
push str.Could_not_read_file
jmp 0x100cea40
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.100ceb72
push dword [ebp - 0x3d8]
mov bl, al
call fcn.100f60cd
pop ecx
jmp 0x100ceb5d
call fcn.100a466f
push eax
lea ecx, [ebp - 0x94]
call fcn.100aa4f6
call fcn.100a4907
test al, al
je 0x100ce9d4
call fcn.100a4675
mov edi, eax
jmp 0x100cea36
call fcn.100a467b
push eax
lea ecx, [ebp - 0x19c]
call fcn.100aa289
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.1002da70
push eax
call fcn.100a990b
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.1002da70
push eax
call fcn.100c3e32
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100cea21
push ebx
call fcn.100f60cd
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.100aa3b0
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x100cea4e
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.100cece8
mov bl, al
jmp 0x100ceb5d
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.100aa2ae
push 0x101551b4
push 0x10156e8c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.100aac58
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.1002da70
push eax
push edi
call fcn.100c3800
add esp, 0x14
test eax, eax
je 0x100ceaae
push 0
push str.Could_not_find_ziped_file
jmp 0x100ceb1c
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x100ceac0
push ebx
push str.File_is_empty
jmp 0x100ceb1c
cmp ebx, 0x400000
jbe 0x100cead1
push 0
push str.File_too_large
jmp 0x100ceb1c
push ebx
call fcn.100f6627
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.100c4271
add esp, 0x14
test eax, eax
je 0x100ceb27
cmp eax, 0x600
je 0x100ceb27
push dword [ebp - 0x3d0]
call fcn.100f60cd
pop ecx
call fcn.100a4907
test al, al
jne 0x100ceb15
push edi
call fcn.100c35e3
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.100cece8
mov bl, al
jmp 0x100ceb52
call fcn.100a4907
test al, al
jne 0x100ceb37
push edi
call fcn.100c35e3
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.100ceb72
push edi
mov bl, al
call fcn.100f60cd
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100aa3b0
lea ecx, [ebp - 0x94]
call fcn.100aa3b0
mov al, bl
call fcn.100f6c29
ret 8