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

Disassembly:
push 0x3cc
mov eax, 0x4ea3eb
call fcn.004b9df1
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x3d8], ebx
call fcn.00496554
call fcn.0046ab82
push eax
lea ecx, [ebp - 0x94]
call fcn.00473806
and dword [ebp - 4], 0
call fcn.0046ab8e
mov ecx, eax
call fcn.004740f3
test al, al
je 0x496254
push ebx
lea ecx, [ebp - 0x94]
call fcn.00473b6c
xor ebx, ebx
lea ecx, [ebp - 0x94]
push ebx
push 0x80
push 3
push ebx
push 1
push connect
call fcn.00473aad
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3d0], eax
cmp eax, 0xffffffff
jne 0x4961b5
mov eax, str.Error_opening_file
jmp 0x49622e
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x4961ca
mov eax, str.File_is_empty
jmp 0x49622e
cmp edi, 0x400000
jbe 0x4961d9
mov eax, 0x4fda94
jmp 0x49622e
push edi
mov dword [ebp - 0x3d4], ebx
call fcn.004b90e1
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 0x496235
push ebx
call fcn.004b8e5b
pop ecx
mov ecx, esi
call fcn.00496554
mov eax, str.Could_not_read_file
xor ebx, ebx
push ebx
push eax
jmp 0x4962e3
push dword [ebp + 0xc]
mov ecx, esi
push edi
push ebx
call fcn.00496411
push dword [ebp - 0x3d8]
mov bl, al
call fcn.004b8e5b
pop ecx
jmp 0x4963fc
call fcn.0046ab8e
push eax
lea ecx, [ebp - 0x94]
call fcn.00473ae9
call fcn.0046adf7
test al, al
je 0x496277
call fcn.0046ab94
mov edi, eax
jmp 0x4962d9
call fcn.0046ab9a
push eax
lea ecx, [ebp - 0x19c]
call fcn.00473806
push 0
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 1
call fcn.00473aad
push eax
call fcn.0046fd4e
pop ecx
pop ecx
mov ebx, eax
lea ecx, [ebp - 0x94]
push ebx
call fcn.00473aad
push eax
call fcn.00477983
mov edi, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4962c4
push ebx
call fcn.004b8e5b
pop ecx
lea ecx, [ebp - 0x19c]
mov byte [ebp - 4], 0
call fcn.0047392d
mov ebx, dword [ebp - 0x3d8]
test edi, edi
jne 0x4962f1
push edi
push str.Error_opening_zip_file
mov ecx, esi
call fcn.0049657f
mov bl, al
jmp 0x4963fc
and dword [ebp - 0x3d4], 0
lea ecx, [ebp - 0x118]
push 0xffffffffffffffff
push ebx
call fcn.0047382b
push 0x50fc28
push 0x50fad0
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.004742b1
lea eax, [ebp - 0x3cc]
push eax
lea eax, [ebp - 0x3d4]
push eax
push 1
lea ecx, [ebp - 0x118]
call fcn.00473aad
push eax
push edi
call fcn.00477351
add esp, 0x14
test eax, eax
je 0x49634f
mov eax, str.Could_not_find_ziped_file
jmp 0x4963b8
mov ebx, dword [ebp - 0x1a0]
test ebx, ebx
jne 0x496360
mov eax, str.File_is_empty
jmp 0x4963b8
cmp ebx, 0x400000
jbe 0x49636f
mov eax, 0x4fda94
jmp 0x4963b8
push ebx
call fcn.004b90e1
push ebx
push eax
push dword [ebp - 0x3d4]
mov dword [ebp - 0x3d0], eax
push edi
call fcn.00477dd5
add esp, 0x14
test eax, eax
je 0x4963c6
cmp eax, 0x600
je 0x4963c6
push dword [ebp - 0x3d0]
call fcn.004b8e5b
pop ecx
call fcn.0046adf7
test al, al
jne 0x4963b3
push edi
call fcn.00477136
pop ecx
mov eax, str.Could_not_unzip_file
push 0
push eax
mov ecx, esi
call fcn.0049657f
mov bl, al
jmp 0x4963f1
call fcn.0046adf7
test al, al
jne 0x4963d6
push edi
call fcn.00477136
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x3d0]
mov ecx, esi
push ebx
push edi
call fcn.00496411
push edi
mov bl, al
call fcn.004b8e5b
pop ecx
lea ecx, [ebp - 0x118]
call fcn.0047392d
lea ecx, [ebp - 0x94]
call fcn.0047392d
mov al, bl
call fcn.004b9daf
ret 8