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

Disassembly:
push 0x3dc
mov eax, 0x676f5f
call fcn.00626979
mov esi, ecx
mov edi, dword [ebp + 8]
call fcn.0053831e
push 0x84
xor ebx, ebx
lea eax, [ebp - 0xa4]
push ebx
push eax
call fcn.0063e4e0
add esp, 0xc
lea ecx, [ebp - 0xa4]
push 0x713da8
call fcn.005164d0
mov dword [ebp - 4], ebx
mov eax, dword [0x713e30]
cmp word [eax], bx
jne 0x53814d
test edi, edi
je 0x538088
push edi
lea ecx, [ebp - 0xa4]
call fcn.005164f5
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 0x5380b7
push str.Error_opening_file
jmp 0x5381e2
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x5380cf
push eax
push 0x6dd974
jmp 0x5381e2
cmp edi, 0x400000
jbe 0x5380e3
push 0
push str.File_too_large
jmp 0x5381e2
and dword [ebp - 0x18], 0
push edi
call fcn.0062580b
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 0x53812f
mov edi, dword [ebp - 0x3e8]
push edi
call fcn.006257fd
pop ecx
mov ecx, esi
call fcn.0053831e
push 0
push str.Could_not_read_file
jmp 0x5381e2
push ecx
push edi
mov edi, dword [ebp - 0x3e8]
mov ecx, esi
push edi
call fcn.00537f8a
push edi
mov bl, al
call fcn.006257fd
pop ecx
jmp 0x538309
push eax
lea ecx, [ebp - 0xa4]
call fcn.005164f5
cmp byte [0x70ba99], 0
je 0x53816a
mov ebx, dword [0x71dd34]
jmp 0x5381d8
push 0x84
lea eax, [ebp - 0x1b4]
push ebx
push eax
call fcn.0063e4e0
add esp, 0xc
lea ecx, [ebp - 0x1b4]
push 0x713eb8
call fcn.005164d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1b4]
call fcn.0051d5a8
mov ecx, dword [ebp - 0xa4]
xor edx, edx
push eax
push 2
mov dword [ebp - 0x3e8], eax
call fcn.00460fde
mov ebx, eax
mov eax, dword [ebp - 0x3e8]
pop ecx
pop ecx
test eax, eax
je 0x5381c9
push eax
call fcn.006257fd
pop ecx
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 0
call fcn.0041b542
test ebx, ebx
jne 0x5381f0
push ebx
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00538a29
mov bl, al
jmp 0x538309
and dword [ebp - 0x3e8], 0
lea eax, [ebp - 0x12c]
push 0x84
push 0
push eax
call fcn.0063e4e0
add esp, 0xc
lea ecx, [ebp - 0x12c]
push 0xffffffffffffffff
push edi
call fcn.005164ac
push 0x6da3bc
push 0x6d4cb8
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call fcn.00516945
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x3e4]
push eax
lea eax, [ebp - 0x3e8]
push eax
push ecx
mov ecx, ebx
call fcn.00461113
add esp, 0xc
test eax, eax
je 0x538260
push 0
push str.Could_not_find_ziped_file
jmp 0x5382cd
mov edi, dword [ebp - 0x1b8]
test edi, edi
jne 0x538272
push edi
push 0x6dd974
jmp 0x5382cd
cmp edi, 0x400000
jbe 0x538283
push 0
push str.File_too_large
jmp 0x5382cd
push edi
call fcn.0062580b
mov edx, dword [ebp - 0x3e8]
pop ecx
push 3
push edi
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
call fcn.00461146
add esp, 0xc
test eax, eax
je 0x5382d8
cmp eax, 0x600
je 0x5382d8
mov edi, dword [ebp - 0x18]
push edi
call fcn.006257fd
cmp byte [0x70ba99], 0
pop ecx
jne 0x5382c6
mov ecx, ebx
call fcn.00461179
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00538a29
mov bl, al
jmp 0x5382fe
cmp byte [0x70ba99], 0
jne 0x5382e8
mov ecx, ebx
call fcn.00461179
push ecx
push edi
mov edi, dword [ebp - 0x18]
mov ecx, esi
push edi
call fcn.00537f8a
push edi
mov bl, al
call fcn.006257fd
pop ecx
lea ecx, [ebp - 0x12c]
call fcn.0041b542
lea ecx, [ebp - 0xa4]
call fcn.0041b542
mov al, bl
call fcn.00626923
ret 8