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

Disassembly:
push 0x3cc
mov eax, 0x4e0e3e
call fcn.004b1961
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.0048e086
call fcn.004625e2
push eax
lea ecx, [ebp - 0x94]
call fcn.0046b18b
and dword [ebp - 4], 0
call fcn.004625ee
mov ecx, eax
call fcn.0046ba78
test al, al
je 0x48dd86
push ebx
lea ecx, [ebp - 0x94]
call fcn.0046b4f1
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push accept
call fcn.0046b432
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x48dce7
mov eax, str.Error_opening_file
jmp 0x48dd60
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x48dcfc
mov eax, str.File_is_empty
jmp 0x48dd60
cmp edi, 0x400000
jbe 0x48dd0b
mov eax, 0x4f39f4
jmp 0x48dd60
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004b0c5c
pop ecx
mov ebx, eax
lea eax, [ebp - 0x3d4]
push 0
push eax
push edi
push ebx
push dword [ebp - 0x3d0]
mov dword [ebp - 0x3d8], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x3d0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x3d4], edi
je 0x48dd67
push ebx
call fcn.004b09d6
pop ecx
mov ecx, esi
call fcn.0048e086
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x48de15
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.0048df43
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004b09d6
pop ecx
jmp 0x48df2e
call fcn.004625ee
push eax
lea ecx, [ebp - 0x94]
call fcn.0046b46e
call fcn.00462857
test al, al
je 0x48dda9
call fcn.004625f4
mov edi, eax
jmp 0x48de0b
call fcn.004625fa
push eax
lea ecx, [ebp - 0x19c]
call fcn.0046b18b
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.0046b432
push eax
call fcn.004676d3
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.0046b432
push eax
call fcn.0046f308
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x48ddf6
push ebx
call fcn.004b09d6
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0046b2b2
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x48de23
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0048e0b1
mov bl, al
jmp 0x48df2e
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0046b1b0
push 0x4edad4
push 0x4edad8
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.0046bc36
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.0046b432
push eax
push edi
call fcn.0046ecd6
add esp, 0x14
test eax, eax
je 0x48de81
mov eax, str.Could_not_find_ziped_file
jmp 0x48deea
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x48de92
mov eax, str.File_is_empty
jmp 0x48deea
cmp ebx, 0x400000
jbe 0x48dea1
mov eax, 0x4f39f4
jmp 0x48deea
push ebx
call fcn.004b0c5c
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.0046f75a
add esp, 0x14
test eax, eax
je 0x48def8
cmp eax, 0x600
je 0x48def8
push dword [ebp - 0x3d0]
call fcn.004b09d6
pop ecx
call fcn.00462857
test al, al
jne 0x48dee5
push edi
call fcn.0046eabb
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.0048e0b1
mov bl, al
jmp 0x48df23
call fcn.00462857
test al, al
jne 0x48df08
push edi
call fcn.0046eabb
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.0048df43
push edi
mov bl, al
call fcn.004b09d6
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0046b2b2
lea ecx, [ebp - 0x94]
call fcn.0046b2b2
mov al, bl
call fcn.004b191f
ret 8