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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45f738
mov eax, dword fs:[0]
push eax
sub esp, 0x184
mov eax, dword [0x47b0b0]
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 0x424792
push eax
call fcn.0044e444
add esp, 4
mov eax, dword [esi + 4]
test eax, eax
je 0x4247a2
push eax
call fcn.0044e444
add esp, 4
push 0xffffffffffffffff
mov dword [esi], 0
mov dword [esi + 4], 0
push dword [0x47ced8]
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0
call fcn.00436ca0
mov dword [ebp - 4], 0
mov eax, dword [0x47cf20]
cmp byte [eax], 0
jne 0x4248ab
test ebx, ebx
je 0x4247eb
push ebx
lea ecx, [ebp - 0x58]
call fcn.00436bb0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424819
push 0x63
push str.Error_opening_file
jmp 0x42499a
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
jne 0x424834
push 0x63
push str.File_is_empty
jmp 0x42499a
cmp edi, 0x400000
jbe 0x424848
push 0x63
push str.File_too_large
jmp 0x42499a
push edi
mov dword [ebp - 0x190], 0
call fcn.0044cff1
add esp, 4
lea ecx, [ebp - 0x190]
push 0
push ecx
push edi
push eax
push ebx
mov dword [ebp - 0x18c], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x190], edi
je 0x4248a4
mov edi, dword [ebp - 0x18c]
push edi
call fcn.0044dd99
add esp, 4
mov ecx, esi
call fcn.0041feb0
push 0x63
push str.Could_not_read_file
jmp 0x42499a
push ecx
push edi
jmp 0x4249cf
push eax
lea ecx, [ebp - 0x58]
call fcn.00436bb0
cmp byte [0x47f31c], 0
je 0x4248c5
mov edi, dword [0x47f318]
jmp 0x4248d6
mov ecx, dword [ebp - 0x58]
push 2
xor edx, edx
call fcn.0043c6f0
add esp, 4
mov edi, eax
test edi, edi
jne 0x4248e6
push 0x63
push str.Error_opening_zip_file
jmp 0x42499a
cmp dword [edi], 1
je 0x424901
push 0x63
mov dword [0x47f33c], 0x80000
push str.Could_not_find_ziped_file
jmp 0x42499a
lea eax, [ebp - 0x188]
push eax
lea eax, [ebp - 0x190]
push eax
push ecx
mov ecx, dword [edi + 4]
push ebx
call fcn.0043c500
mov dword [0x47f33c], eax
test eax, eax
je 0x42492b
push 0x63
push str.Could_not_find_ziped_file
jmp 0x42499a
mov ebx, dword [ebp - 0x60]
test ebx, ebx
jne 0x42493b
push 0x63
push str.File_is_empty
jmp 0x42499a
cmp ebx, 0x400000
jbe 0x42494c
push 0x63
push str.File_too_large
jmp 0x42499a
push ebx
call fcn.0044cff1
mov edx, dword [ebp - 0x190]
push ebx
push eax
mov ecx, edi
mov dword [ebp - 0x18c], eax
call fcn.0043c770
add esp, 0xc
test eax, eax
je 0x4249bd
cmp eax, 0x600
je 0x4249bd
push dword [ebp - 0x18c]
call fcn.0044dd99
add esp, 4
cmp byte [0x47f31c], 0
jne 0x424993
mov ecx, edi
call fcn.0043c7c0
push 0x63
push str.Could_not_unzip_file
lea eax, [esi + 0x10]
push eax
call fcn.0044dd9e
add esp, 0xc
lea eax, [esi + 0x74]
push 0x31
push 0x46c081
push eax
call fcn.0044dd9e
add esp, 0xc
xor bl, bl
jmp 0x4249e8
cmp byte [0x47f31c], 0
jne 0x4249cd
mov ecx, edi
call fcn.0043c7c0
push ecx
push ebx
mov edi, dword [ebp - 0x18c]
push edi
mov ecx, esi
call fcn.00424640
push edi
mov bl, al
call fcn.0044dd99
add esp, 4
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x54]
cmp eax, ecx
je 0x4249fb
push eax
call fcn.0044e444
add esp, 4
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.0044d04f
mov esp, ebp
pop ebp
ret 8