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

Disassembly:
push 0x3cc
mov eax, 0x4f579b
call fcn.00492158
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.004540a5
call fcn.00447aad
push eax
lea ecx, [ebp - 0x94]
call fcn.00444f04
and dword [ebp - 4], 0
call fcn.00447ab9
mov ecx, eax
call fcn.00445727
test al, al
je 0x453d9a
push ebx
lea ecx, [ebp - 0x94]
call fcn.00445183
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
call fcn.00402bc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
push ebx
cmp eax, 0xffffffff
jne 0x453cf6
push str.Error_opening_file
jmp 0x453e26
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x453d0e
push ebx
push str.File_is_empty
jmp 0x453e26
cmp edi, 0x400000
jbe 0x453d21
push ebx
push 0x5010e8
jmp 0x453e26
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004915be
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 0x453d7b
push ebx
call fcn.004915c7
pop ecx
mov ecx, esi
call fcn.004540a5
push 0
push str.Could_not_read_file
jmp 0x453e26
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00453f58
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004915c7
pop ecx
jmp 0x453f43
call fcn.00447ab9
push eax
lea ecx, [ebp - 0x94]
call fcn.00445166
call fcn.00447dd7
test al, al
je 0x453dbd
call fcn.00447abf
mov edi, eax
jmp 0x453e1c
call fcn.00447ac5
push eax
lea ecx, [ebp - 0x19c]
call fcn.00444f04
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00402bc0
push eax
call fcn.0044c503
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00402bc0
push eax
call fcn.00457c05
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x453e07
push ebx
call fcn.004915c7
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0044502b
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x453e34
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.004540cd
mov bl, al
jmp 0x453f43
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.00444f29
push 0x4ffdc8
push 0x51e990
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004458f4
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00402bc0
push eax
push edi
call fcn.004575dc
add esp, 0x14
test eax, eax
je 0x453e94
push 0
push str.Could_not_find_ziped_file
jmp 0x453f02
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x453ea6
push ebx
push str.File_is_empty
jmp 0x453f02
cmp ebx, 0x400000
jbe 0x453eb7
push 0
push 0x5010e8
jmp 0x453f02
push ebx
call fcn.004915be
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0045803f
add esp, 0x14
test eax, eax
je 0x453f0d
cmp eax, 0x600
je 0x453f0d
push dword [ebp - 0x3d0]
call fcn.004915c7
pop ecx
call fcn.00447dd7
test al, al
jne 0x453efb
push edi
call fcn.004573bb
pop ecx
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.004540cd
mov bl, al
jmp 0x453f38
call fcn.00447dd7
test al, al
jne 0x453f1d
push edi
call fcn.004573bb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00453f58
push edi
mov bl, al
call fcn.004915c7
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0044502b
lea ecx, [ebp - 0x94]
call fcn.0044502b
mov al, bl
call fcn.00492113
ret 8