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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522e9b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c8
mov eax, dword [0x569434]
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 eax, dword [esi]
mov ebx, dword [ebp + 8]
test eax, eax
je 0x4566e2
push eax
call fcn.004f8d96
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4566f2
push eax
call fcn.004f8d96
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042df90
push eax
lea ecx, [ebp - 0x94]
call fcn.00427890
mov dword [ebp - 4], 0
call fcn.0042dfa0
mov ecx, eax
call fcn.004284d0
test al, al
je 0x4567f2
push ebx
lea ecx, [ebp - 0x94]
call fcn.00427ca0
push 0
push 0x80
push 3
push 0
push 1
push bind
lea ecx, [ebp - 0x94]
call fcn.00428280
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x45676e
push 0x63
push str.Error_opening_file
jmp 0x4569d1
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x456969
cmp edi, 0x400000
ja 0x45697a
push edi
mov dword [ebp - 0x2cc], 0
call fcn.004dbdd9
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 0x4567e9
mov edi, dword [ebp - 0x2c8]
push edi
call fcn.004dbab5
add esp, 4
mov ecx, esi
call fcn.00456be0
push 0x63
push str.Could_not_read_file
jmp 0x4569d1
push dword [ebp + 0xc]
push edi
jmp 0x456a0a
call fcn.0042e260
test al, al
jne 0x4568e6
call fcn.0042dfa0
push eax
lea ecx, [ebp - 0x94]
call fcn.00427c80
call fcn.0042e210
test al, al
je 0x456820
call fcn.0042dfb0
jmp 0x456838
push 2
push 0
lea ecx, [ebp - 0x94]
call fcn.00428280
push eax
call fcn.00445030
add esp, 0xc
mov edi, eax
test edi, edi
je 0x456923
lea eax, [ebp - 0x2c4]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 1
push ebx
push edi
call fcn.00444940
add esp, 0x14
test eax, eax
jne 0x456956
mov ebx, dword [ebp - 0x98]
test ebx, ebx
je 0x456969
cmp ebx, 0x400000
ja 0x45697a
push ebx
call fcn.004dbdd9
push 3
push ebx
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.004454c0
add esp, 0x18
test eax, eax
je 0x4568ce
cmp eax, 0x600
je 0x4568ce
push dword [ebp - 0x2c8]
call fcn.004dbab5
add esp, 4
call fcn.0042e210
test al, al
jne 0x4569ca
push edi
call fcn.00444720
jmp 0x4569c7
call fcn.0042e210
test al, al
jne 0x456a06
push edi
call fcn.00444720
jmp 0x456a03
call fcn.0042dfa0
push eax
lea ecx, [ebp - 0x94]
call fcn.00427c80
call fcn.0042e210
test al, al
je 0x456907
call fcn.0042dfb0
jmp 0x45691d
push 0
lea ecx, [ebp - 0x94]
call fcn.00428280
push eax
call fcn.004495e0
add esp, 8
mov edi, eax
test edi, edi
jne 0x45692f
push 0x63
push str.Error_opening_zip_file
jmp 0x4569d1
lea eax, [ebp - 0x2d4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x2cc]
movlpd qword [ebp - 0x2d4], xmm0
push eax
push ebx
push edi
call fcn.00448de0
add esp, 0x10
test eax, eax
je 0x45695f
push 0x63
push str.Could_not_find_ziped_file
jmp 0x4569d1
mov ebx, dword [ebp - 0x2d4]
test ebx, ebx
jne 0x456972
push 0x63
push str.File_is_empty
jmp 0x4569d1
cmp ebx, 0x400000
jbe 0x456983
push 0x63
push 0x52c354
jmp 0x4569d1
push ebx
call fcn.004dbdd9
push eax
push dword [ebp - 0x2cc]
mov dword [ebp - 0x2c8], eax
push edi
call fcn.00449750
add esp, 0x10
test eax, eax
je 0x4569f4
cmp eax, 0x600
je 0x4569f4
push dword [ebp - 0x2c8]
call fcn.004dbab5
add esp, 4
call fcn.0042e210
test al, al
jne 0x4569ca
push edi
call fcn.00448cf0
add esp, 4
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.005042fc
push 0x31
lea eax, [esi + 0xd8]
push 0x5537bc
push eax
call fcn.005042fc
add esp, 0x18
xor bl, bl
jmp 0x456a23
call fcn.0042e210
test al, al
jne 0x456a06
push edi
call fcn.00448cf0
add esp, 4
push dword [ebp + 0xc]
push ebx
mov edi, dword [ebp - 0x2c8]
mov ecx, esi
push edi
call fcn.00456a50
push edi
mov bl, al
call fcn.004dbab5
add esp, 4
lea ecx, [ebp - 0x94]
call fcn.004279f0
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.004db7a8
mov esp, ebp
pop ebp
ret 8