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

Disassembly:
push 0x3cc
mov eax, 0x1015a879
call fcn.100f9caf
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.100d1cea
call fcn.100a7683
push eax
lea ecx, [ebp - 0x94]
call fcn.100ad2aa
and dword [ebp - 4], 0
call fcn.100a768f
mov ecx, eax
call fcn.100adabd
test al, al
je 0x100d19de
push ebx
lea ecx, [ebp - 0x94]
call fcn.100ad534
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
call fcn.1002e120
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x100d193a
push str.Error_opening_file
jmp 0x100d1a6d
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x100d1952
push ebx
push str.File_is_empty
jmp 0x100d1a6d
cmp edi, 0x400000
jbe 0x100d1965
push ebx
push str.File_too_large
jmp 0x100d1a6d
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.100f9657
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 0x100d19bf
push ebx
call fcn.100f90fe
pop ecx
mov ecx, esi
call fcn.100d1cea
push 0
push str.Could_not_read_file
jmp 0x100d1a6d
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.100d1b9f
push dword [ebp - 0x3d8]
mov bl, al
call fcn.100f90fe
pop ecx
jmp 0x100d1b8a
call fcn.100a768f
push eax
lea ecx, [ebp - 0x94]
call fcn.100ad517
call fcn.100a7927
test al, al
je 0x100d1a01
call fcn.100a7695
mov edi, eax
jmp 0x100d1a63
call fcn.100a769b
push eax
lea ecx, [ebp - 0x19c]
call fcn.100ad2aa
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.1002e120
push eax
call fcn.100ac92b
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.1002e120
push eax
call fcn.100c6e53
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x100d1a4e
push ebx
call fcn.100f90fe
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.100ad3d1
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x100d1a7b
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.100d1d15
mov bl, al
jmp 0x100d1b8a
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.100ad2cf
push 0x101601d4
push 0x10161eac
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.100adc79
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.1002e120
push eax
push edi
call fcn.100c6821
add esp, 0x14
test eax, eax
je 0x100d1adb
push 0
push str.Could_not_find_ziped_file
jmp 0x100d1b49
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x100d1aed
push ebx
push str.File_is_empty
jmp 0x100d1b49
cmp ebx, 0x400000
jbe 0x100d1afe
push 0
push str.File_too_large
jmp 0x100d1b49
push ebx
call fcn.100f9657
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.100c7292
add esp, 0x14
test eax, eax
je 0x100d1b54
cmp eax, 0x600
je 0x100d1b54
push dword [ebp - 0x3d0]
call fcn.100f90fe
pop ecx
call fcn.100a7927
test al, al
jne 0x100d1b42
push edi
call fcn.100c6604
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.100d1d15
mov bl, al
jmp 0x100d1b7f
call fcn.100a7927
test al, al
jne 0x100d1b64
push edi
call fcn.100c6604
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.100d1b9f
push edi
mov bl, al
call fcn.100f90fe
pop ecx
lea ecx, [ebp - 0x118]
call fcn.100ad3d1
lea ecx, [ebp - 0x94]
call fcn.100ad3d1
mov al, bl
call fcn.100f9c59
ret 8