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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae9eb
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x4d0c20]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x330], ecx
mov ecx, dword [ebp - 0x330]
call fcn.0042bcf0
call fcn.004197b0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00424bb0
mov dword [ebp - 4], 0
call fcn.004197c0
mov ecx, eax
call fcn.00424e10
movzx eax, al
test eax, eax
je 0x42b9f9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00424f30
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x9c]
call fcn.00424e70
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0xffffffff
jne 0x42b822
push 0
push str.Error_opening_file
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x2fd], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x2fd]
jmp 0x42bcce
push 0
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
jne 0x42b875
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x2fe], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x2fe]
jmp 0x42bcce
cmp dword [ebp - 0xa0], 0x400000
jbe 0x42b8b6
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x2ff], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x2ff]
jmp 0x42bcce
mov dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xa0]
add eax, 1
push eax
call fcn.004189fc
add esp, 4
mov dword [ebp - 0x304], eax
mov ecx, dword [ebp - 0x304]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
add edx, dword [ebp - 0xa0]
mov byte [edx], 0
push 0
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xac]
cmp edx, dword [ebp - 0xa0]
je 0x42b98d
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x308], eax
mov ecx, dword [ebp - 0x308]
push ecx
call fcn.00493b0b
add esp, 4
mov ecx, dword [ebp - 0x330]
call fcn.0042bcf0
push 0
push str.Could_not_read_file
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x309], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x309]
jmp 0x42bcce
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.0042b4e0
mov byte [ebp - 0xa5], al
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x310], edx
mov eax, dword [ebp - 0x310]
push eax
call fcn.00493b0b
add esp, 4
mov cl, byte [ebp - 0xa5]
mov byte [ebp - 0x311], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x311]
jmp 0x42bcce
call fcn.004197c0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00424f00
mov dword [ebp - 0xbc], 0
call fcn.004197d0
movzx edx, al
test edx, edx
je 0x42ba2d
call fcn.004197e0
mov dword [ebp - 0xbc], eax
jmp 0x42ba4d
call fcn.004197f0
push eax
lea ecx, [ebp - 0x9c]
call fcn.00424e70
push eax
call fcn.00417390
add esp, 8
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 0
jne 0x42ba8b
push 0
push str.Error_opening_zip_file
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x312], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x312]
jmp 0x42bcce
lea eax, [ebp - 0x2f4]
push eax
lea ecx, [ebp - 0xc0]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xbc]
push eax
call fcn.00417460
add esp, 0x14
test eax, eax
je 0x42bae7
push 0
push str.Could_not_find_ziped_file
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x313], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x313]
jmp 0x42bcce
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], ecx
cmp dword [ebp - 0xb8], 0
jne 0x42bb31
push 0
push str.File_is_empty
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x314], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x314]
jmp 0x42bcce
cmp dword [ebp - 0xb8], 0x400000
jbe 0x42bb72
push 0
push str.File_too_large
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x315], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x315]
jmp 0x42bcce
mov edx, dword [ebp - 0xb8]
push edx
call fcn.004189fc
add esp, 4
mov dword [ebp - 0x31c], eax
mov eax, dword [ebp - 0x31c]
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0xb8]
push ecx
mov edx, dword [ebp - 0x2fc]
push edx
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00417560
add esp, 0x10
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0
je 0x42bc3d
cmp dword [ebp - 0xb4], 0x600
je 0x42bc3d
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x320], edx
mov eax, dword [ebp - 0x320]
push eax
call fcn.00493b0b
add esp, 4
call fcn.004197d0
movzx ecx, al
test ecx, ecx
jne 0x42bc08
mov edx, dword [ebp - 0xbc]
push edx
call fcn.004175e0
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, dword [ebp - 0x330]
call fcn.0042ca10
mov byte [ebp - 0x321], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x321]
jmp 0x42bcce
call fcn.004197d0
movzx eax, al
test eax, eax
jne 0x42bc58
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.004175e0
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0xb8]
push eax
mov ecx, dword [ebp - 0x2fc]
push ecx
mov ecx, dword [ebp - 0x330]
call fcn.0042b4e0
mov byte [ebp - 0x2f5], al
mov edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x328], edx
mov eax, dword [ebp - 0x328]
push eax
call fcn.00493b0b
add esp, 4
mov cl, byte [ebp - 0x2f5]
mov byte [ebp - 0x329], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00424bf0
mov al, byte [ebp - 0x329]
jmp 0x42bcce
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004922e7
mov esp, ebp
pop ebp
ret 8