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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015a106
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c8], ecx
mov ecx, dword [ebp - 0x2c8]
call fcn.10081130
call fcn.100585f0
push eax
lea ecx, [ebp - 0x94]
call fcn.10054070
mov dword [ebp - 4], 0
call fcn.10058610
mov ecx, eax
call fcn.10055140
movzx eax, al
test eax, eax
je 0x10080b4a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.10054650
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.10054550
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
jne 0x10080962
push 0
push str.Error_opening_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2ca], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2ca]
jmp 0x10080e6a
push 0
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jne 0x100809b5
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2cb], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2cb]
jmp 0x10080e6a
cmp dword [ebp - 0x2dc], 0x400000
jbe 0x100809f6
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2cc], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2cc]
jmp 0x10080e6a
mov dword [ebp - 0x2f8], 0
push 0x10178e08
mov eax, dword [ebp - 0x2dc]
add eax, 8
push eax
call fcn.100f5ac5
add esp, 8
mov dword [ebp - 0x300], eax
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x2e8], ecx
mov edx, dword [ebp - 0x2dc]
add edx, 8
push edx
push 0
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.1012e610
add esp, 0xc
push 0
lea ecx, [ebp - 0x2f8]
push ecx
mov edx, dword [ebp - 0x2dc]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x2f0]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [ebp - 0x2f0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x2f8]
cmp eax, dword [ebp - 0x2dc]
je 0x10080ade
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.100f4f26
add esp, 4
mov ecx, dword [ebp - 0x2c8]
call fcn.10081130
push 0
push str.Could_not_read_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2cd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2cd]
jmp 0x10080e6a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2dc]
push ecx
mov edx, dword [ebp - 0x2e8]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.10080e90
mov byte [ebp - 0x2ce], al
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.100f4f26
add esp, 4
mov dl, byte [ebp - 0x2ce]
mov byte [ebp - 0x2cf], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2cf]
jmp 0x10080e6a
call fcn.10058610
push eax
lea ecx, [ebp - 0x94]
call fcn.10054620
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e4], 0
call fcn.10058870
movzx eax, al
test eax, eax
je 0x10080d8d
call fcn.10058620
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
jne 0x10080bcf
push 0
push str.Error_opening_zip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d0], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d0]
jmp 0x10080e6a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.10014d60
mov byte [ebp - 4], 1
lea edx, [ebp - 0x2c4]
push edx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xac]
push ecx
mov edx, dword [ebp - 0x2f4]
push edx
call fcn.1007fbd0
add esp, 0x10
test eax, eax
jne 0x10080c16
mov dword [ebp - 0x2fc], 1
jmp 0x10080c20
mov dword [ebp - 0x2fc], 0
mov al, byte [ebp - 0x2fc]
mov byte [ebp - 0x2d1], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xac]
call fcn.100098e0
movzx ecx, byte [ebp - 0x2d1]
test ecx, ecx
je 0x10080c7b
push 0
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d2], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d2]
jmp 0x10080e6a
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x2e4], edx
cmp dword [ebp - 0x2e4], 0
jne 0x10080cc7
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d3], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d3]
jmp 0x10080e6a
cmp dword [ebp - 0x2e4], 0x400000
jbe 0x10080d08
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d4], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d4]
jmp 0x10080e6a
push 0x10178e08
mov eax, dword [ebp - 0x2e4]
push eax
call fcn.100f5ac5
add esp, 8
mov dword [ebp - 0x30c], eax
mov ecx, dword [ebp - 0x30c]
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x2e4]
push edx
mov eax, dword [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x310]
push ecx
mov edx, dword [ebp - 0x2f4]
push edx
call fcn.1007f9e0
add esp, 0x10
test eax, eax
jne 0x10080d8b
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d5]
jmp 0x10080e6a
jmp 0x10080df4
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2ec]
push ecx
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x94]
call fcn.10054550
push eax
call fcn.1008c6b0
add esp, 0x10
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jge 0x10080df4
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.10081190
mov byte [ebp - 0x2d6], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2d6]
jmp 0x10080e6a
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x2e4]
push ecx
mov edx, dword [ebp - 0x2ec]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.10080e90
mov byte [ebp - 0x2c9], al
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.100f4f26
add esp, 4
mov dl, byte [ebp - 0x2c9]
mov byte [ebp - 0x2dd], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.10054300
mov al, byte [ebp - 0x2dd]
jmp 0x10080e6a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 8