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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b305b
mov eax, dword fs:[0]
push eax
sub esp, 0x2cc
mov eax, dword [0x4d897c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov ebx, edx
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2d8], ebx
test eax, eax
je 0x438e2d
push eax
call fcn.004964ad
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x438e3d
push eax
call fcn.004964ad
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov edx, dword [0x4da280]
lea eax, [ebp - 0x94]
mov dword [ebp - 0x98], eax
xor ecx, ecx
push edx
or eax, 0xffffffff
lea esi, [ebp - 0x98]
mov word [ebp - 0x94], cx
call fcn.0041a260
mov dword [ebp - 4], 0
mov eax, dword [0x4da308]
cmp word [eax], 0
jne 0x439003
test ebx, ebx
je 0x438e96
push ebx
mov ebx, esi
call fcn.0041a110
mov eax, dword [ebp - 0x98]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2cc], eax
cmp eax, 0xffffffff
jne 0x438f09
push 0x63
push str.Error_opening_file
lea ecx, [edi + 0x10]
push ecx
call fcn.00495d52
add esp, 0xc
push 0x31
push 0x4be374
add edi, 0xd8
push edi
call fcn.00495d52
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 0xc
cmp eax, edx
je 0x438f02
push eax
call fcn.004964ad
add esp, 4
xor al, al
jmp 0x439159
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x438f51
push 0x63
push str.File_is_empty
lea eax, [edi + 0x10]
push eax
call fcn.00495d52
add esp, 0xc
push 0x31
push 0x4be374
add edi, 0xd8
push edi
call fcn.00495d52
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x94]
add esp, 0xc
cmp eax, ecx
jmp 0x438ef7
cmp esi, 0x400000
jbe 0x438f66
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x438f23
push esi
mov dword [ebp - 0x2d4], 0
call fcn.0045bc5f
add esp, 4
push 0
lea edx, [ebp - 0x2d4]
push edx
mov ebx, eax
mov eax, dword [ebp - 0x2cc]
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x2cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d4], esi
je 0x438fc8
push ebx
call fcn.00495ac5
add esp, 4
mov esi, edi
call fcn.00421a30
push 0x63
push str.Could_not_read_file
lea edx, [edi + 0x10]
push edx
jmp 0x438f23
push esi
mov eax, ebx
call fcn.00438d30
push ebx
mov byte [ebp - 0x2cd], al
call fcn.00495ac5
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x438ff8
push eax
call fcn.004964ad
add esp, 4
mov al, byte [ebp - 0x2cd]
jmp 0x439159
push eax
lea ebx, [ebp - 0x98]
call fcn.0041a110
cmp byte [0x4dead0], 0
je 0x439025
mov eax, dword [0x4dead4]
mov dword [ebp - 0x2cc], eax
jmp 0x439041
mov eax, dword [ebp - 0x98]
push 0
push eax
mov ebx, 2
call fcn.004277b0
add esp, 8
mov dword [ebp - 0x2cc], eax
test eax, eax
jne 0x439051
push 0x63
push str.Error_opening_zip_file
jmp 0x438ec7
lea ecx, [ebp - 0x2c8]
push ecx
mov ecx, dword [ebp - 0x2d8]
push eax
lea edx, [ebp - 0x2d8]
call fcn.00427820
add esp, 8
test eax, eax
je 0x439081
push 0x63
push str.Could_not_find_ziped_file
lea edx, [edi + 0x10]
push edx
jmp 0x438f23
mov eax, dword [ebp - 0x9c]
mov ebx, eax
test eax, eax
jne 0x43909d
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
jmp 0x438f23
cmp eax, 0x400000
jbe 0x4390b4
push 0x63
push str.File_too_large
lea edx, [edi + 0x10]
push edx
jmp 0x438f23
push eax
call fcn.0045bc5f
mov edx, dword [ebp - 0x2d8]
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x2cc]
push ebx
push edx
mov edx, esi
call fcn.00427940
add esp, 8
test eax, eax
je 0x439111
cmp eax, 0x600
je 0x439111
push esi
call fcn.00495ac5
add esp, 4
cmp byte [0x4dead0], 0
jne 0x439105
mov edi, dword [ebp - 0x2cc]
call fcn.00427980
mov edi, dword [ebp - 0x2d4]
push 0x63
push str.Could_not_unzip_file
jmp 0x438f1f
cmp byte [0x4dead0], 0
jne 0x43912b
mov edi, dword [ebp - 0x2cc]
call fcn.00427980
mov edi, dword [ebp - 0x2d4]
push ebx
mov eax, esi
call fcn.00438d30
push esi
mov bl, al
call fcn.00495ac5
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
add esp, 4
cmp eax, edx
je 0x439157
push eax
call fcn.004964ad
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00494bb0
mov esp, ebp
pop ebp
ret