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

Disassembly:
push 0x3cc
mov eax, 0x100b4d4d
call fcn.10087bf1
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.10061e12
call fcn.10038749
push eax
lea ecx, [ebp - 0x94]
call fcn.1003e28e
and dword [ebp - 4], 0
call fcn.10038755
mov ecx, eax
call fcn.1003eaa4
test al, al
je 0x10061b12
push ebx
lea ecx, [ebp - 0x94]
call fcn.1003e51a
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.1003e4c3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x10061a73
mov eax, str.Error_opening_file
jmp 0x10061aec
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x10061a88
mov eax, str.File_is_empty
jmp 0x10061aec
cmp edi, 0x400000
jbe 0x10061a97
mov eax, str.File_too_large
jmp 0x10061aec
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.100875b8
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 0x10061af3
push ebx
call fcn.10087069
pop ecx
mov ecx, esi
call fcn.10061e12
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x10061ba1
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.10061ccf
push dword [ebp - 0x3d8]
mov bl, al
call fcn.10087069
pop ecx
jmp 0x10061cba
call fcn.10038755
push eax
lea ecx, [ebp - 0x94]
call fcn.1003e4fd
call fcn.100389be
test al, al
je 0x10061b35
call fcn.1003875b
mov edi, eax
jmp 0x10061b97
call fcn.10038761
push eax
lea ecx, [ebp - 0x19c]
call fcn.1003e28e
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.1003e4c3
push eax
call fcn.1003db16
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.1003e4c3
push eax
call fcn.10042adc
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10061b82
push ebx
call fcn.10087069
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.1003e3b2
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x10061baf
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.10061e3d
mov bl, al
jmp 0x10061cba
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.1003e2b3
push 0x100b79fc
push 0x100b7a00
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.1003ec62
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.1003e4c3
push eax
push edi
call fcn.100424aa
add esp, 0x14
test eax, eax
je 0x10061c0d
mov eax, str.Could_not_find_ziped_file
jmp 0x10061c76
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x10061c1e
mov eax, str.File_is_empty
jmp 0x10061c76
cmp ebx, 0x400000
jbe 0x10061c2d
mov eax, str.File_too_large
jmp 0x10061c76
push ebx
call fcn.100875b8
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.10042f31
add esp, 0x14
test eax, eax
je 0x10061c84
cmp eax, 0x600
je 0x10061c84
push dword [ebp - 0x3d0]
call fcn.10087069
pop ecx
call fcn.100389be
test al, al
jne 0x10061c71
push edi
call fcn.1004228f
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.10061e3d
mov bl, al
jmp 0x10061caf
call fcn.100389be
test al, al
jne 0x10061c94
push edi
call fcn.1004228f
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.10061ccf
push edi
mov bl, al
call fcn.10087069
pop ecx
lea ecx, [ebp - 0x118]
call fcn.1003e3b2
lea ecx, [ebp - 0x94]
call fcn.1003e3b2
mov al, bl
call fcn.10087baf
ret 8