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

Disassembly:
push 0x348
mov eax, 0x1105b447
call fcn.11056857
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.110257c7
call fcn.11021c0b
push eax
lea ecx, [ebp - 0x94]
call fcn.1103890d
and dword [ebp - 4], 0
call fcn.11021c11
mov ecx, eax
call fcn.110394c2
mov edi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
test al, al
jne 0x110254d0
push ebx
push 0x110665c8
call edi
pop ecx
pop ecx
test eax, eax
je 0x110254d0
call fcn.11021c11
push eax
lea ecx, [ebp - 0x94]
call fcn.11038dd7
call fcn.11021df0
test al, al
je 0x110253da
call fcn.11021c17
jmp 0x110253f2
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.11039341
push eax
call fcn.1103b1c8
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x11025403
push eax
push str.Error_opening_zip_file
jmp 0x1102549a
lea eax, [ebp - 0x348]
push eax
lea eax, [ebp - 0x350]
push eax
push 1
push ebx
push edi
call fcn.1103a92f
add esp, 0x14
test eax, eax
je 0x1102542a
push 0
push str.Could_not_find_ziped_file
jmp 0x1102549a
mov ebx, dword [ebp - 0x11c]
test ebx, ebx
jne 0x1102543c
push ebx
push str.File_is_empty
jmp 0x1102549a
cmp ebx, 0x400000
jbe 0x1102544d
push 0
push str.File_too_large
jmp 0x1102549a
push ebx
call fcn.11056afb
push 3
push ebx
push eax
push dword [ebp - 0x350]
mov dword [ebp - 0x34c], eax
push edi
call fcn.1103b5a0
add esp, 0x18
test eax, eax
je 0x110254a8
cmp eax, 0x600
je 0x110254a8
push dword [ebp - 0x34c]
call fcn.1105695c
pop ecx
call fcn.11021df0
test al, al
jne 0x11025493
push edi
call fcn.1103a750
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.11025801
mov bl, al
jmp 0x11025664
call fcn.11021df0
test al, al
jne 0x110254b8
push edi
call fcn.1103a750
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x34c]
mov ecx, esi
push ebx
push edi
call fcn.11025679
push edi
jmp 0x1102565c
push ebx
lea ecx, [ebp - 0x94]
call fcn.11038e5a
push ebx
push 0x110665c8
call edi
pop ecx
pop ecx
test eax, eax
jne 0x11025592
push 0xffffffffffffffff
call fcn.1101cfca
push eax
lea ecx, [ebp - 0x19c]
call fcn.11038932
push 0x110665c8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.11038d16
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.11038bbc
lea ecx, [ebp - 0x118]
call fcn.11038b1f
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.11038b1f
push 0
lea ecx, [ebp - 0x94]
call fcn.11039341
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x11025592
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.11021c0b
mov ecx, eax
call fcn.11038d16
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call fcn.11038bbc
xor ebx, ebx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], bl
call fcn.11038b1f
jmp 0x11025594
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.11038cef
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x34c], eax
push ebx
cmp eax, 0xffffffff
jne 0x110255cc
push str.Error_opening_file
jmp 0x1102549a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x110255df
push ebx
jmp 0x11025435
cmp edi, 0x400000
jbe 0x110255ed
push ebx
jmp 0x11025446
lea eax, [edi + 1]
mov dword [ebp - 0x350], ebx
push eax
call fcn.11056afb
pop ecx
mov ebx, eax
lea eax, [ebp - 0x350]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x34c]
mov dword [ebp - 0x354], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x34c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x350], edi
je 0x1102564a
push ebx
call fcn.1105695c
pop ecx
mov ecx, esi
call fcn.110257c7
push 0
push str.Could_not_read_file
jmp 0x1102549a
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.11025679
push dword [ebp - 0x354]
mov bl, al
call fcn.1105695c
pop ecx
lea ecx, [ebp - 0x94]
call fcn.11038b1f
mov al, bl
call fcn.11056801
ret 8