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

Disassembly:
push 0x3cc
mov eax, 0x100924f5
call fcn.10068a21
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.10042e2c
call fcn.100196a8
push eax
lea ecx, [ebp - 0x94]
call fcn.1001f1f3
and dword [ebp - 4], 0
call fcn.100196b4
mov ecx, eax
call fcn.1001fa0c
test al, al
je 0x10042b2c
push ebx
lea ecx, [ebp - 0x94]
call fcn.1001f482
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
call fcn.1001f42b
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x10042a8d
mov eax, str.Error_opening_file
jmp 0x10042b06
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x10042aa2
mov eax, str.File_is_empty
jmp 0x10042b06
cmp edi, 0x400000
jbe 0x10042ab1
mov eax, str.File_too_large
jmp 0x10042b06
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.100683e8
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 0x10042b0d
push ebx
call fcn.10067e9c
pop ecx
mov ecx, esi
call fcn.10042e2c
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x10042bbb
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.10042ce9
push dword [ebp - 0x3d8]
mov bl, al
call fcn.10067e9c
pop ecx
jmp 0x10042cd4
call fcn.100196b4
push eax
lea ecx, [ebp - 0x94]
call fcn.1001f465
call fcn.1001991d
test al, al
je 0x10042b4f
call fcn.100196ba
mov edi, eax
jmp 0x10042bb1
call fcn.100196c0
push eax
lea ecx, [ebp - 0x19c]
call fcn.1001f1f3
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.1001f42b
push eax
call fcn.1001ea7b
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.1001f42b
push eax
call fcn.10023a35
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x10042b9c
push ebx
call fcn.10067e9c
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.1001f31a
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x10042bc9
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.10042e57
mov bl, al
jmp 0x10042cd4
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.1001f218
push 0x1009595c
push 0x100ad74c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.1001fbca
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.1001f42b
push eax
push edi
call fcn.10023403
add esp, 0x14
test eax, eax
je 0x10042c27
mov eax, str.Could_not_find_ziped_file
jmp 0x10042c90
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x10042c38
mov eax, str.File_is_empty
jmp 0x10042c90
cmp ebx, 0x400000
jbe 0x10042c47
mov eax, str.File_too_large
jmp 0x10042c90
push ebx
call fcn.100683e8
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.10023e87
add esp, 0x14
test eax, eax
je 0x10042c9e
cmp eax, 0x600
je 0x10042c9e
push dword [ebp - 0x3d0]
call fcn.10067e9c
pop ecx
call fcn.1001991d
test al, al
jne 0x10042c8b
push edi
call fcn.100231e8
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.10042e57
mov bl, al
jmp 0x10042cc9
call fcn.1001991d
test al, al
jne 0x10042cae
push edi
call fcn.100231e8
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.10042ce9
push edi
mov bl, al
call fcn.10067e9c
pop ecx
lea ecx, [ebp - 0x118]
call fcn.1001f31a
lea ecx, [ebp - 0x94]
call fcn.1001f31a
mov al, bl
call fcn.100689df
ret 8