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

Disassembly:
push 0xffffffffffffffff
push 0x48fe06
mov eax, dword fs:[0]
push eax
sub esp, 0x350
mov eax, dword [0x4b39fc]
xor eax, esp
mov dword [esp + 0x348], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b39fc]
xor eax, esp
push eax
lea eax, [esp + 0x364]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x374]
mov edi, ecx
mov eax, dword [edi]
xor ebp, ebp
cmp eax, ebp
je 0x446125
push eax
call fcn.00479054
add esp, 4
mov eax, dword [edi + 4]
cmp eax, ebp
je 0x446135
push eax
call fcn.00479054
add esp, 4
mov dword [edi], ebp
mov dword [edi + 4], ebp
mov dword [edi + 8], ebp
mov edx, dword [0x4b52c0]
push 0xffffffffffffffff
lea eax, [esp + 0x24]
xor ecx, ecx
push edx
lea esi, [esp + 0x24]
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
call fcn.004020a0
mov dword [esp + 0x36c], ebp
mov eax, dword [0x4b5348]
cmp word [eax], bp
jne 0x446283
cmp ebx, ebp
je 0x446180
push ebx
mov eax, esi
push eax
call fcn.00401f60
mov ecx, dword [esp + 0x1c]
push ebp
push 0x80
push 3
push ebp
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4461e7
push 0x63
push 0x4a0bb0
lea edx, [edi + 0x10]
push edx
call fcn.00479665
add esp, 0xc
push 0x31
push 0x499f38
add edi, 0xd8
push edi
call fcn.00479665
add esp, 0xc
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x4461e0
push eax
call fcn.00479054
add esp, 4
xor al, al
jmp 0x446518
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
jne 0x4461ff
push 0x63
push str.File_is_empty
jmp 0x4461a9
cmp esi, 0x400000
jbe 0x446210
push 0x63
push 0x4a0bf4
jmp 0x4461a9
push esi
mov dword [esp + 0x1c], 0
call fcn.00476c60
add esp, 4
push 0
lea edx, [esp + 0x1c]
push edx
push esi
mov ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x18], esi
je 0x446260
push ebp
call fcn.00478198
add esp, 4
mov esi, edi
call fcn.00445f40
push 0x63
push str.Could_not_read_file
lea eax, [edi + 0x10]
push eax
jmp 0x4461ad
push esi
push ebp
mov eax, edi
call fcn.00446020
push ebp
mov bl, al
call fcn.00478198
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x24]
add esp, 4
cmp eax, edx
jmp 0x44650b
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00401f60
mov ebp, dword [0x4fa9c4]
test ebp, ebp
jne 0x4462d0
push 0x63
lea ecx, [edi + 0x10]
push str.Error_opening_zip_file
push ecx
call fcn.00479665
add esp, 0xc
push 0x31
push 0x499f38
add edi, 0xd8
push edi
call fcn.00479665
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x2c]
add esp, 0xc
cmp eax, edx
jmp 0x4461d5
push 0xffffffffffffffff
lea eax, [esp + 0xac]
xor ecx, ecx
push ebx
lea esi, [esp + 0xac]
mov dword [esp + 0x20], 0
mov dword [esp + 0xac], eax
mov word [esp + 0xb0], cx
call fcn.004020a0
push 0x49a104
mov edx, esi
push edx
mov ecx, 0x49a100
mov byte [esp + 0x374], 2
call fcn.00402550
cmp dword [0x4fa9b0], 0
jne 0x446353
push 0x18
call fcn.004776e1
add esp, 4
test eax, eax
je 0x446345
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
jmp 0x446347
xor eax, eax
push eax
mov dword [0x4fa9b0], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [0x4fa9b0]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp], 1
mov byte [0x4fa9b4], 1
jne 0x44639b
mov eax, dword [esp + 0xa4]
mov esi, dword [ebp + 4]
lea ecx, [esp + 0x12c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.0041f240
mov dword [0x4fa9f4], eax
test eax, eax
je 0x4463ff
cmp byte [0x4fa9b4], 0
je 0x4463b2
mov eax, dword [0x4fa9b0]
test eax, eax
je 0x4463b2
push eax
mov byte [0x4fa9b4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x63
push str.Could_not_find_ziped_file
lea ecx, [edi + 0x10]
push ecx
call fcn.00479665
add esp, 0xc
push 0x31
push 0x499f38
add edi, 0xd8
push edi
call fcn.00479665
mov eax, dword [esp + 0xb0]
lea edx, [esp + 0xb4]
add esp, 0xc
cmp eax, edx
je 0x4461cb
push eax
call fcn.00479054
add esp, 4
jmp 0x4461cb
mov ebx, dword [esp + 0x358]
test ebx, ebx
jne 0x44645d
push 0x63
push str.File_is_empty
lea edx, [edi + 0x10]
push edx
call fcn.00479665
add esp, 0xc
push 0x31
push 0x499f38
add edi, 0xd8
push edi
call fcn.00479665
mov eax, dword [esp + 0xb0]
lea ecx, [esp + 0xb4]
add esp, 0xc
cmp eax, ecx
je 0x44644e
push eax
call fcn.00479054
add esp, 4
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
cmp eax, edx
jmp 0x4461d5
cmp ebx, 0x400000
jbe 0x446472
push 0x63
push 0x4a0bf4
lea eax, [edi + 0x10]
push eax
jmp 0x446415
push ebx
call fcn.00476c60
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
push esi
push eax
mov ecx, ebx
mov eax, ebp
call fcn.0041f450
add esp, 8
cmp byte [0x4fa9b4], 0
mov ebp, eax
je 0x4464b1
mov eax, dword [0x4fa9b0]
test eax, eax
je 0x4464b1
push eax
mov byte [0x4fa9b4], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebp, ebp
je 0x4464d2
cmp ebp, 0x600
je 0x4464d2
push esi
call fcn.00478198
add esp, 4
push 0x63
push str.Could_not_unzip_file
jmp 0x4463b9
push ebx
push esi
mov eax, edi
call fcn.00446020
push esi
mov bl, al
call fcn.00478198
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0xac]
add esp, 4
cmp eax, edx
je 0x446501
push eax
call fcn.00479054
add esp, 4
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
cmp eax, ecx
je 0x446516
push eax
call fcn.00479054
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x364]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x348]
xor ecx, esp
call fcn.004771de
add esp, 0x35c
ret 4