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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55c7a0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c0
mov eax, dword [0x5a9840]
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 esi, ecx
mov ebx, dword [ebp + 8]
call fcn.00438d40
call fcn.004199d0
push eax
lea ecx, [ebp - 0x94]
call fcn.00415e60
mov dword [ebp - 4], 0
call fcn.004199e0
mov ecx, eax
call fcn.00416cc0
test al, al
je 0x438a52
push ebx
lea ecx, [ebp - 0x94]
call fcn.004163e0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x94]
call fcn.00416200
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4389a1
mov eax, str.Error_opening_file
mov ecx, esi
push 0
push eax
call fcn.00438d90
mov bl, al
jmp 0x438b9e
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4389c5
mov eax, str.File_is_empty
mov ecx, esi
push edi
push eax
call fcn.00438d90
mov bl, al
jmp 0x438b9e
cmp edi, 0x400000
jbe 0x4389e3
mov eax, 0x56a144
mov ecx, esi
push 0
push eax
call fcn.00438d90
mov bl, al
jmp 0x438b9e
push edi
mov dword [ebp - 0x2cc], 0
call fcn.004ef940
add esp, 4
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2cc]
push 0
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 - 0x2cc], edi
je 0x438a49
mov edi, dword [ebp - 0x2c8]
push edi
call fcn.004efc69
add esp, 4
mov ecx, esi
call fcn.00438d40
mov eax, str.Could_not_read_file
mov ecx, esi
push 0
push eax
call fcn.00438d90
mov bl, al
jmp 0x438b9e
push dword [ebp + 0xc]
push edi
jmp 0x438b85
call fcn.004199e0
push eax
lea ecx, [ebp - 0x94]
call fcn.00416350
call fcn.00419f00
test al, al
je 0x438a73
call fcn.004199f0
jmp 0x438a8b
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.00416a70
push eax
call fcn.00434300
add esp, 0xc
mov edi, eax
test edi, edi
jne 0x438aa5
push eax
push str.Error_opening_zip_file
mov ecx, esi
call fcn.00438d90
mov bl, al
jmp 0x438b9e
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.004338c0
add esp, 0x14
test eax, eax
je 0x438ad8
push 0
push str.Could_not_find_ziped_file
mov ecx, esi
call fcn.00438d90
mov bl, al
jmp 0x438b9e
mov ebx, dword [ebp - 0x98]
test ebx, ebx
jne 0x438af6
push ebx
push str.File_is_empty
mov ecx, esi
call fcn.00438d90
mov bl, al
jmp 0x438b9e
cmp ebx, 0x400000
jbe 0x438b13
push 0
push 0x56a144
mov ecx, esi
call fcn.00438d90
mov bl, al
jmp 0x438b9e
push ebx
call fcn.004ef940
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00434750
add esp, 0x18
test eax, eax
je 0x438b6f
cmp eax, 0x600
je 0x438b6f
push dword [ebp - 0x2c8]
call fcn.004efc69
add esp, 4
call fcn.00419f00
test al, al
jne 0x438b5d
push edi
call fcn.00433650
add esp, 4
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.00438d90
mov bl, al
jmp 0x438b9e
call fcn.00419f00
test al, al
jne 0x438b81
push edi
call fcn.00433650
add esp, 4
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push edi
call fcn.00438bd0
push edi
mov bl, al
call fcn.004efc69
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.00415fe0
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.004ef253
mov esp, ebp
pop ebp
ret 8