Function at 0x5aaf20
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62da58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], esp
push str.Unzip_df__2__r_n
add ecx, 0x4ac
mov dword [ebp - 4], 0
call fcn.00553400
mov eax, dword [0x6c95a4]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x5aaf94
mov eax, dword [ebp + 8]
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x5aafc9
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0060198c
mov edx, dword [ebp - 0x18]
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.006018cc
cmp esi, 0xffffffff
je 0x5ab100
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [ebp + 8], eax
jne 0x5aafee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5ab1b4
push 0
push eax
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
jne 0x5ab020
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 2
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x5ab056
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x74]
call fcn.005618f0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
push 1
push ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x2c], ebx
call fcn.005624d0
push ebx
mov dword [ebp + 8], eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp + 8]
test eax, eax
jne 0x5ab0a7
lea ecx, [ebp - 0x74]
call fcn.00562160
jmp 0x5ab0ee
mov edx, dword [ebp - 0x14]
push 0
push edx
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
jne 0x5ab0cd
lea ecx, [ebp - 0x74]
call fcn.00562160
jmp 0x5ab0ee
push 0
push 0
push 0
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x20], eax
jne 0x5ab115
lea ecx, [ebp - 0x74]
call fcn.00562160
push ebx
call edi
push esi
call edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00561930
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0x6c]
xor edx, edx
test ecx, ecx
mov dword [ebp + 8], edx
jbe 0x5ab17a
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x70]
mov eax, dword [ebp + 8]
mov eax, dword [esi + eax*8]
lea edi, [eax + edx]
cmp edi, ecx
jbe 0x5ab138
sub ecx, edx
mov eax, ecx
mov edi, dword [ebp + 8]
mov ecx, eax
mov ebx, ecx
mov esi, dword [esi + edi*8 + 4]
mov edi, dword [ebp - 0x20]
add edi, edx
add edx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
jbe 0x5ab16b
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x6c]
inc eax
cmp eax, esi
mov dword [ebp + 8], eax
jb 0x5ab124
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push ebx
call edi
lea ecx, [ebp - 0x74]
call fcn.00562160
push esi
call edi
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x488], ecx
lea ecx, [ebp - 0x74]
mov dword [eax + 0x48c], 0
call fcn.00561930
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4