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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53fc16
mov eax, dword fs:[0]
push eax
sub esp, 0x30c
mov eax, dword [0x5854b4]
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.0045ed40
call fcn.004377b0
push eax
lea ecx, [ebp - 0x94]
call fcn.00433140
mov dword [ebp - 4], 0
call fcn.004377d0
mov ecx, eax
call fcn.00434250
movzx eax, al
test eax, eax
je 0x45e75a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x94]
call fcn.004337a0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.00406cd0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0xffffffff
jne 0x45e572
push 0
push str.Error_opening_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2ca], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2ca]
jmp 0x45ea7a
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 0x45e5c5
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2cb], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2cb]
jmp 0x45ea7a
cmp dword [ebp - 0x2dc], 0x400000
jbe 0x45e606
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2cc], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2cc]
jmp 0x45ea7a
mov dword [ebp - 0x2f8], 0
push 0x58c7d0
mov eax, dword [ebp - 0x2dc]
add eax, 8
push eax
call fcn.004d7a0d
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.00511800
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 0x45e6ee
mov ecx, dword [ebp - 0x2e8]
mov dword [ebp - 0x304], ecx
mov edx, dword [ebp - 0x304]
push edx
call fcn.004d72c1
add esp, 4
mov ecx, dword [ebp - 0x2c8]
call fcn.0045ed40
push 0
push str.Could_not_read_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2cd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2cd]
jmp 0x45ea7a
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.0045eaa0
mov byte [ebp - 0x2ce], al
mov eax, dword [ebp - 0x2e8]
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.004d72c1
add esp, 4
mov dl, byte [ebp - 0x2ce]
mov byte [ebp - 0x2cf], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2cf]
jmp 0x45ea7a
call fcn.004377d0
push eax
lea ecx, [ebp - 0x94]
call fcn.00433770
mov byte [ebp - 0x2c9], 0
mov dword [ebp - 0x2ec], 0
mov dword [ebp - 0x2e4], 0
call fcn.00437a30
movzx eax, al
test eax, eax
je 0x45e99d
call fcn.004377e0
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
jne 0x45e7df
push 0
push str.Error_opening_zip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d0], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d0]
jmp 0x45ea7a
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00419d10
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.0045d800
add esp, 0x10
test eax, eax
jne 0x45e826
mov dword [ebp - 0x2fc], 1
jmp 0x45e830
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.00428550
movzx ecx, byte [ebp - 0x2d1]
test ecx, ecx
je 0x45e88b
push 0
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d2], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d2]
jmp 0x45ea7a
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x2e4], edx
cmp dword [ebp - 0x2e4], 0
jne 0x45e8d7
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d3], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d3]
jmp 0x45ea7a
cmp dword [ebp - 0x2e4], 0x400000
jbe 0x45e918
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d4], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d4]
jmp 0x45ea7a
push 0x58c7d0
mov eax, dword [ebp - 0x2e4]
push eax
call fcn.004d7a0d
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.0045d610
add esp, 0x10
test eax, eax
jne 0x45e99b
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d5], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d5]
jmp 0x45ea7a
jmp 0x45ea04
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.00406cd0
push eax
call fcn.0046f470
add esp, 0x10
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
jge 0x45ea04
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x2c8]
call fcn.0045eda0
mov byte [ebp - 0x2d6], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2d6]
jmp 0x45ea7a
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.0045eaa0
mov byte [ebp - 0x2c9], al
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x318], eax
mov ecx, dword [ebp - 0x318]
push ecx
call fcn.004d72c1
add esp, 4
mov dl, byte [ebp - 0x2c9]
mov byte [ebp - 0x2dd], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00433420
mov al, byte [ebp - 0x2dd]
jmp 0x45ea7a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d77de
mov esp, ebp
pop ebp
ret 8