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

Disassembly:
push 0x3dc
mov eax, 0x676dcf
call fcn.006267e9
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.0053819e
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0063e3a0
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x712da8
call fcn.00516353
mov dword [ebp - 4], ebx
mov eax, dword [0x712e30]
cmp word [eax], bx
jne 0x537fcd
test edi, edi
je 0x537f08
push edi
lea ecx, [ebp - 0xa4]
call fcn.00516378
push ebx
push 0x80
push 3
push ebx
push 1
push closesocket
push dword [ebp - 0xa4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push 0
cmp ebx, 0xffffffff
jne 0x537f37
push 0x6dc944
jmp 0x538062
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x537f4f
push eax
push str.File_is_empty
jmp 0x538062
cmp edi, 0x400000
jbe 0x537f63
push 0
push str.File_too_large
jmp 0x538062
and dword [ebp - 0x18], 0
push edi
call fcn.00625681
pop ecx
push 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x3e8], eax
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], edi
je 0x537faf
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.00625673
pop ecx
mov ecx, esi
call fcn.0053819e
push 0
push str.Could_not_read_file
jmp 0x538062
push ecx
push edi
mov edi, dword [ebp - 0x3e8]
mov ecx, esi
push edi
call fcn.00537e0a
push edi
mov bl, al
call fcn.00625673
pop ecx
jmp 0x538189
push eax
lea ecx, [ebp - 0xa4]
call fcn.00516378
cmp byte [0x70aa99], 0
je 0x537fea
mov ebx, dword [0x71cd34]
jmp 0x538058
push 0x84
lea eax, [ebp - 0x1b4]
push ebx
push eax
call fcn.0063e3a0
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push 0x712eb8
call fcn.00516353
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b4]
call fcn.0051d429
mov ecx, dword [ebp - 0xa4]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x3e8], eax
call fcn.00460ddf
mov ebx, eax
mov eax, dword [ebp - 0x3e8]
pop ecx
pop ecx
test eax, eax
je 0x538049
push eax
call fcn.00625673
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.0041b542
test ebx, ebx
jne 0x538070
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.005388a9
mov bl, al
jmp 0x538189
and dword [ebp - 0x3e8], 0
lea eax, [ebp - 0x12c]
push 0x84
push 0
push eax
call fcn.0063e3a0
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push edi
call fcn.0051632f
push 0x6d938c
push 0x6d3cb8
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.005167c8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ecx
mov ecx, ebx
call fcn.00460f14
add esp, 0xc
test eax, eax
je 0x5380e0
push 0
push str.Could_not_find_ziped_file
jmp 0x53814d
mov edi, dword [ebp - 0x1b8]
test edi, edi
jne 0x5380f2
push edi
push str.File_is_empty
jmp 0x53814d
cmp edi, 0x400000
jbe 0x538103
push 0
push str.File_too_large
jmp 0x53814d
push edi
call fcn.00625681
mov edx, dword [ebp - 0x3e8]
pop ecx
push 3
push edi
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00460f47
add esp, 0xc
test eax, eax
je 0x538158
cmp eax, 0x600
je 0x538158
mov edi, dword [ebp - 0x18]
push edi
call fcn.00625673
cmp byte [0x70aa99], 0
pop ecx
jne 0x538146
mov ecx, ebx
call fcn.00460f7a
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.005388a9
mov bl, al
jmp 0x53817e
cmp byte [0x70aa99], 0
jne 0x538168
mov ecx, ebx
call fcn.00460f7a
push ecx
push edi
mov edi, dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00537e0a
push edi
mov bl, al
call fcn.00625673
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.0041b542
lea ecx, [ebp - 0xa4]
call fcn.0041b542
mov al, bl
call fcn.00626793
ret 8