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

Disassembly:
push 0x3cc
mov eax, 0x1019681b
call fcn.10126fa5
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.100fdfce
call fcn.100d52ce
push eax
lea ecx, [ebp - 0x94]
call fcn.100da4b4
and dword [ebp - 4], 0
call fcn.100d52da
mov ecx, eax
call fcn.100daccb
test al, al
je 0x100fdcc2
push ebx
lea ecx, [ebp - 0x94]
call fcn.100da73e
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.100a4f0b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x100fdc1e
push str.Error_opening_file
jmp 0x100fdd51
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x100fdc36
push ebx
push str.File_is_empty
jmp 0x100fdd51
cmp edi, 0x400000
jbe 0x100fdc49
push ebx
push str.File_too_large
jmp 0x100fdd51
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.10126b8d
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 0x100fdca3
push ebx
call fcn.1012694d
pop ecx
mov ecx, esi
call fcn.100fdfce
push 0
push str.Could_not_read_file
jmp 0x100fdd51
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.100fde83
push dword [ebp - 0x3d8]
mov bl, al
call fcn.1012694d
pop ecx
jmp 0x100fde6e
call fcn.100d52da
push eax
lea ecx, [ebp - 0x94]
call fcn.100da721
call fcn.100d5572
test al, al
je 0x100fdce5
call fcn.100d52e0
mov edi, eax
jmp 0x100fdd47
call fcn.100d52e6
push eax
lea ecx, [ebp - 0x19c]
call fcn.100da4b4
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.100a4f0b
push eax
call fcn.100da3df
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.100a4f0b
push eax
call fcn.100f3137
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100fdd32
push ebx
call fcn.1012694d
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.100da5db
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x100fdd5f
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.100fdff9
mov bl, al
jmp 0x100fde6e
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.100da4d9
push 0x101a3e00
push 0x1019f360
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.100dae87
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.100a4f0b
push eax
push edi
call fcn.100f2b05
add esp, 0x14
test eax, eax
je 0x100fddbf
push 0
push str.Could_not_find_ziped_file
jmp 0x100fde2d
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x100fddd1
push ebx
push str.File_is_empty
jmp 0x100fde2d
cmp ebx, 0x400000
jbe 0x100fdde2
push 0
push str.File_too_large
jmp 0x100fde2d
push ebx
call fcn.10126b8d
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.100f3576
add esp, 0x14
test eax, eax
je 0x100fde38
cmp eax, 0x600
je 0x100fde38
push dword [ebp - 0x3d0]
call fcn.1012694d
pop ecx
call fcn.100d5572
test al, al
jne 0x100fde26
push edi
call fcn.100f28e8
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.100fdff9
mov bl, al
jmp 0x100fde63
call fcn.100d5572
test al, al
jne 0x100fde48
push edi
call fcn.100f28e8
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.100fde83
push edi
mov bl, al
call fcn.1012694d
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100da5db
lea ecx, [ebp - 0x94]
call fcn.100da5db
mov al, bl
call fcn.10126f60
ret 8