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

Disassembly:
push 0x3cc
mov eax, 0x4f5d4d
call fcn.00492778
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.00454649
call fcn.004480df
push eax
lea ecx, [ebp - 0x94]
call fcn.00445524
and dword [ebp - 4], 0
call fcn.004480eb
mov ecx, eax
call fcn.00445d43
test al, al
je 0x45433e
push ebx
lea ecx, [ebp - 0x94]
call fcn.004457b3
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
call fcn.00402b90
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x45429a
push str.Error_opening_file
jmp 0x4543ca
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4542b2
push ebx
push str.File_is_empty
jmp 0x4543ca
cmp edi, 0x400000
jbe 0x4542c5
push ebx
push 0x502138
jmp 0x4543ca
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.00491bde
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 0x45431f
push ebx
call fcn.00491be7
pop ecx
mov ecx, esi
call fcn.00454649
push 0
push str.Could_not_read_file
jmp 0x4543ca
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.004544fc
push dword [ebp - 0x3d8]
mov bl, al
call fcn.00491be7
pop ecx
jmp 0x4544e7
call fcn.004480eb
push eax
lea ecx, [ebp - 0x94]
call fcn.00445796
call fcn.00448409
test al, al
je 0x454361
call fcn.004480f1
mov edi, eax
jmp 0x4543c0
call fcn.004480f7
push eax
lea ecx, [ebp - 0x19c]
call fcn.00445524
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00402b90
push eax
call fcn.0046e427
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00402b90
push eax
call fcn.004581ae
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4543ab
push ebx
call fcn.00491be7
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0044564b
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4543d8
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00454671
mov bl, al
jmp 0x4544e7
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00445549
push 0x500e18
push 0x51fa40
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00445f10
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00402b90
push eax
push edi
call fcn.00457b85
add esp, 0x14
test eax, eax
je 0x454438
push 0
push str.Could_not_find_ziped_file
jmp 0x4544a6
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x45444a
push ebx
push str.File_is_empty
jmp 0x4544a6
cmp ebx, 0x400000
jbe 0x45445b
push 0
push 0x502138
jmp 0x4544a6
push ebx
call fcn.00491bde
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.004585e8
add esp, 0x14
test eax, eax
je 0x4544b1
cmp eax, 0x600
je 0x4544b1
push dword [ebp - 0x3d0]
call fcn.00491be7
pop ecx
call fcn.00448409
test al, al
jne 0x45449f
push edi
call fcn.00457964
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00454671
mov bl, al
jmp 0x4544dc
call fcn.00448409
test al, al
jne 0x4544c1
push edi
call fcn.00457964
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.004544fc
push edi
mov bl, al
call fcn.00491be7
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0044564b
lea ecx, [ebp - 0x94]
call fcn.0044564b
mov al, bl
call fcn.00492733
ret 8