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

Disassembly:
push ebp
sub esp, 0x2b4
lea ebp, [esp - 4]
mov eax, dword [0x448018]
xor eax, ebp
mov dword [ebp + 0x2b4], eax
push 0xc
mov eax, 0x4379ab
call fcn.00436b5a
mov edi, dword [ebp + 0x2c0]
mov ebx, ecx
call fcn.00418da9
call fcn.004046af
push eax
lea ecx, [ebp + 0x230]
call fcn.00408cb5
xor esi, esi
mov dword [ebp - 4], esi
call fcn.004046b5
mov ecx, eax
call fcn.00408a28
test al, al
je 0x419922
push edi
lea ecx, [ebp + 0x230]
call fcn.00408ab8
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
lea ecx, [ebp + 0x230]
call fcn.0040891a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
push esi
cmp eax, 0xffffffff
jne 0x419896
push str.Error_opening_file
mov ecx, ebx
call fcn.00418f7f
mov bl, al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x230]
call fcn.00408900
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2b4]
xor ecx, ebp
call fcn.00403b76
add ebp, 0x2b8
leave
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, esi
jne 0x4198ab
push esi
push str.File_is_empty
jmp 0x419857
cmp edi, 0x400000
jbe 0x4198bb
push esi
push str.File_too_large
jmp 0x419857
push edi
mov dword [ebp - 0x14], esi
call fcn.00403b64
pop ecx
push esi
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
je 0x419901
push dword [ebp - 0x10]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
mov ecx, ebx
call fcn.00418da9
push esi
push str.Could_not_read_file
jmp 0x419857
push dword [ebp + 0x2c4]
mov ecx, ebx
push edi
push dword [ebp - 0x10]
call fcn.0041966f
push dword [ebp - 0x10]
mov bl, al
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
jmp 0x419860
call fcn.004046b5
push eax
lea ecx, [ebp + 0x230]
call fcn.00408a9e
call fcn.004046bb
test al, al
je 0x419943
call fcn.004046c1
jmp 0x41995a
push 2
push esi
lea ecx, [ebp + 0x230]
call fcn.0040891a
push eax
call fcn.0040f287
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp eax, esi
jne 0x41996c
push esi
push str.Error_opening_zip_file
jmp 0x419857
lea eax, [ebp]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push edi
push dword [ebp - 0x10]
call fcn.0040d985
add esp, 0x14
test eax, eax
je 0x419991
push esi
push str.Could_not_find_ziped_file
jmp 0x419857
mov eax, dword [ebp + 0x22c]
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x4198a3
cmp eax, 0x400000
ja 0x4198b3
push eax
call fcn.00403b64
push 3
push dword [ebp - 0x14]
mov edi, eax
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0040f2e4
add esp, 0x18
cmp eax, esi
je 0x4199f8
cmp eax, 0x600
je 0x4199f8
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
call fcn.004046bb
test al, al
jne 0x4199ed
push dword [ebp - 0x10]
call fcn.0040f31e
pop ecx
push esi
push str.Could_not_unzip_file
jmp 0x419857
call fcn.004046bb
test al, al
jne 0x419a0a
push dword [ebp - 0x10]
call fcn.0040f31e
pop ecx
push dword [ebp + 0x2c4]
mov ecx, ebx
push dword [ebp - 0x14]
push edi
call fcn.0041966f
push edi
jmp 0x419915