Function at 0x5ad030
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62e3d8
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.005555b0
mov eax, dword [0x6a55ac]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x5ad0a4
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 0x5ad0dd
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.00402500
mov eax, dword [ebp - 0x18]
add esp, 8
push 0
push 0x8000080
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call fcn.00603a3c
cmp esi, 0xffffffff
je 0x5ad214
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
mov dword [ebp + 8], eax
jne 0x5ad102
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5ad2c8
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 0x5ad134
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 0x5ad16a
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.00563ac0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x30]
push 1
push edx
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 2
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], eax
call fcn.005646a0
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 0x5ad1bb
lea ecx, [ebp - 0x74]
call fcn.00564330
jmp 0x5ad202
mov eax, dword [ebp - 0x14]
push 0
push eax
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 0x5ad1e1
lea ecx, [ebp - 0x74]
call fcn.00564330
jmp 0x5ad202
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 0x5ad229
lea ecx, [ebp - 0x74]
call fcn.00564330
push ebx
call edi
push esi
call edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00563b00
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 0x5ad28e
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 0x5ad24c
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 0x5ad27f
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x6c]
inc eax
cmp eax, esi
mov dword [ebp + 8], eax
jb 0x5ad238
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.00564330
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.00563b00
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