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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508431
mov eax, dword fs:[0]
push eax
sub esp, 0x3c8
mov eax, dword [0x5675c8]
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, dword [ebp + 8]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [ebp - 0x3d0], ebx
test eax, eax
je 0x48840b
push eax
call esi
add esp, 4
mov eax, dword [edi + 4]
test eax, eax
je 0x488418
push eax
call esi
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.0044fce0
push eax
lea ecx, [ebp - 0x94]
call fcn.0044ad60
mov dword [ebp - 4], 0
call fcn.0044fd00
mov ecx, eax
call fcn.0044bf60
test al, al
je 0x488548
push ebx
lea ecx, [ebp - 0x94]
call fcn.0044b550
push 0
push 0x80
push 3
push 0
push 1
push bind
lea ecx, [ebp - 0x94]
call fcn.0044b260
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48849b
push 0x63
push str.Error_opening_file
jmp 0x4885dc
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4884b6
push 0x63
push str.File_is_empty
jmp 0x4885dc
cmp esi, 0x400000
jbe 0x4884ca
push 0x63
push str.File_too_large
jmp 0x4885dc
push esi
mov dword [ebp - 0x3d0], 0
call fcn.004ffbb1
add esp, 4
mov dword [ebp - 0x3d4], eax
lea ecx, [ebp - 0x3d0]
push 0
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d0], esi
je 0x488526
mov esi, dword [ebp - 0x3d4]
push esi
call fcn.004ffbba
add esp, 4
mov ecx, edi
call fcn.00488900
push 0x63
push str.Could_not_read_file
jmp 0x4885dc
push dword [ebp + 0xc]
mov ecx, edi
push esi
mov esi, dword [ebp - 0x3d4]
push esi
call fcn.00488760
push esi
mov bl, al
call fcn.004ffbba
add esp, 4
jmp 0x488735
call fcn.0044fd00
push eax
lea ecx, [ebp - 0x94]
call fcn.0044b4c0
call fcn.00450110
test al, al
je 0x48856b
call fcn.0044fd10
mov esi, eax
jmp 0x4885d1
call fcn.0044fd20
push eax
lea ecx, [ebp - 0x19c]
call fcn.0044ad60
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0044bc50
push eax
call fcn.004893a0
add esp, 8
lea ecx, [ebp - 0x94]
mov ebx, eax
push ebx
call fcn.0044bc50
push eax
call fcn.004628e0
add esp, 8
mov esi, eax
test ebx, ebx
je 0x4885bc
push ebx
call fcn.004ffbba
add esp, 4
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0044af90
mov ebx, dword [ebp - 0x3d0]
test esi, esi
jne 0x488602
push 0x63
push str.Error_opening_zip_file
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea eax, [edi + 0x10]
push eax
call esi
push 0x31
lea eax, [edi + 0xd8]
push 0x51a10c
push eax
call esi
add esp, 0x18
xor bl, bl
jmp 0x488735
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x3d4], 0
call fcn.0044ad90
push 0x51e94c
push 0x51cdac
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0044c2f0
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0044b260
push eax
push esi
call fcn.00461ed0
add esp, 0x14
test eax, eax
je 0x488665
push 0x63
push str.Could_not_find_ziped_file
jmp 0x4886d8
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x488678
push 0x63
push str.File_is_empty
jmp 0x4886d8
cmp ebx, 0x400000
jbe 0x488689
push 0x63
push str.File_too_large
jmp 0x4886d8
push ebx
call fcn.004ffbb1
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push esi
call fcn.00462f50
add esp, 0x14
test eax, eax
je 0x4886fb
cmp eax, 0x600
je 0x4886fb
push dword [ebp - 0x3d0]
call fcn.004ffbba
add esp, 4
call fcn.00450110
test al, al
jne 0x4886d1
push esi
call fcn.00461bd0
add esp, 4
push 0x63
push str.Could_not_unzip_file
mov esi, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea eax, [edi + 0x10]
push eax
call esi
push 0x31
lea eax, [edi + 0xd8]
push 0x51a10c
push eax
call esi
add esp, 0x18
xor bl, bl
jmp 0x48872a
call fcn.00450110
test al, al
jne 0x48870d
push esi
call fcn.00461bd0
add esp, 4
push dword [ebp + 0xc]
mov esi, dword [ebp - 0x3d0]
mov ecx, edi
push ebx
push esi
call fcn.00488760
push esi
mov bl, al
call fcn.004ffbba
add esp, 4
lea ecx, [ebp - 0x118]
call fcn.0044af90
lea ecx, [ebp - 0x94]
call fcn.0044af90
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.004ff7f3
mov esp, ebp
pop ebp
ret 8