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

Disassembly:
push 0x3dc
mov eax, 0x676ac0
call fcn.00626519
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.00537f21
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0063e100
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x712da8
call fcn.005160e0
mov dword [ebp - 4], ebx
mov eax, dword [0x712e30]
cmp word [eax], bx
jne 0x537d50
test edi, edi
je 0x537c8b
push edi
lea ecx, [ebp - 0xa4]
call fcn.00516105
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 0x537cba
push str.Error_opening_file
jmp 0x537de5
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x537cd2
push eax
push 0x6dc934
jmp 0x537de5
cmp edi, 0x400000
jbe 0x537ce6
push 0
push str.File_too_large
jmp 0x537de5
and dword [ebp - 0x18], 0
push edi
call fcn.006253a8
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 0x537d32
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.0062539a
pop ecx
mov ecx, esi
call fcn.00537f21
push 0
push str.Could_not_read_file
jmp 0x537de5
push ecx
push edi
mov edi, dword [ebp - 0x3e8]
mov ecx, esi
push edi
call fcn.00537b8d
push edi
mov bl, al
call fcn.0062539a
pop ecx
jmp 0x537f0c
push eax
lea ecx, [ebp - 0xa4]
call fcn.00516105
cmp byte [0x70aa99], 0
je 0x537d6d
mov ebx, dword [0x71cd34]
jmp 0x537ddb
push 0x84
lea eax, [ebp - 0x1b4]
push ebx
push eax
call fcn.0063e100
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push 0x712eb8
call fcn.005160e0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b4]
call fcn.0051d1b5
mov ecx, dword [ebp - 0xa4]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x3e8], eax
call fcn.00460baf
mov ebx, eax
mov eax, dword [ebp - 0x3e8]
pop ecx
pop ecx
test eax, eax
je 0x537dcc
push eax
call fcn.0062539a
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.0041b542
test ebx, ebx
jne 0x537df3
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0053862c
mov bl, al
jmp 0x537f0c
and dword [ebp - 0x3e8], 0
lea eax, [ebp - 0x12c]
push 0x84
push 0
push eax
call fcn.0063e100
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push edi
call fcn.005160bc
push 0x6d9374
push 0x6d3cc8
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00516555
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ecx
mov ecx, ebx
call fcn.00460ce4
add esp, 0xc
test eax, eax
je 0x537e63
push 0
push str.Could_not_find_ziped_file
jmp 0x537ed0
mov edi, dword [ebp - 0x1b8]
test edi, edi
jne 0x537e75
push edi
push 0x6dc934
jmp 0x537ed0
cmp edi, 0x400000
jbe 0x537e86
push 0
push str.File_too_large
jmp 0x537ed0
push edi
call fcn.006253a8
mov edx, dword [ebp - 0x3e8]
pop ecx
push 3
push edi
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00460d17
add esp, 0xc
test eax, eax
je 0x537edb
cmp eax, 0x600
je 0x537edb
mov edi, dword [ebp - 0x18]
push edi
call fcn.0062539a
cmp byte [0x70aa99], 0
pop ecx
jne 0x537ec9
mov ecx, ebx
call fcn.00460d4a
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0053862c
mov bl, al
jmp 0x537f01
cmp byte [0x70aa99], 0
jne 0x537eeb
mov ecx, ebx
call fcn.00460d4a
push ecx
push edi
mov edi, dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00537b8d
push edi
mov bl, al
call fcn.0062539a
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.0041b542
lea ecx, [ebp - 0xa4]
call fcn.0041b542
mov al, bl
call fcn.006264c3
ret 8