Function at 0x4ff570
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c96ed
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x67c3c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.00506c50
call fcn.00507f60
add eax, 0x5c
cmp dword [eax + 0x14], 7
jbe 0x4ff5b1
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x4ff641
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
push eax
push 0
push 2
push 0
push edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
jne 0x4ff618
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call eax
jmp 0x4ff63e
push dword [ebp - 0x18]
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4ff63e
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00507f60
add eax, 0x74
lea ecx, [esi + 0x348]
cmp ecx, eax
je 0x4ff66c
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4ff665
mov eax, dword [eax]
push edx
push eax
call fcn.00469260
call fcn.00507f60
add eax, 0x5c
lea ecx, [esi + 0x360]
cmp ecx, eax
je 0x4ff690
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
jbe 0x4ff689
mov eax, dword [eax]
push edx
push eax
call fcn.00469260
mov eax, dword [ebp - 0x14]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x388], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esi + 0x398], xmm0
mov eax, dword [eax + 0x20]
mov dword [esi + 0x3a8], eax
push dword [esi + 0x3a4]
call fcn.005aaec4
mov edx, dword [ebp - 0x10]
mov esi, eax
push dword [edx + 0x3a8]
call fcn.005aaec4
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x3ac], eax
sub ecx, dword [edx + 0x394]
push ecx
mov dword [edx + 0x3b4], ecx
call fcn.005aaec4
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x3b0], eax
push dword [ecx + 0x3a4]
mov eax, dword [ebp - 0x14]
add eax, 0x24
push eax
push esi
call fcn.0059ce90
mov ecx, dword [ebp - 0x10]
push dword [ecx + 0x3b4]
mov eax, dword [ecx + 0x394]
add eax, dword [ebp - 0x14]
push eax
push dword [ecx + 0x3b0]
call fcn.0059ce90
mov edx, dword [ebp - 0x10]
add esp, 0x24
mov eax, 0x401e40
mov ecx, esi
mov edx, dword [edx + 0x3a4]
push edx
push 0x400
push 0xe1
push 0x5c
call eax
mov eax, dword [ebp - 0x10]
mov ecx, esi
mov edx, dword [eax + 0x3a4]
mov eax, 0x401e40
push edx
push 0x100
push 0x3a
push 0x7d
call eax
mov eax, dword [ebp - 0x10]
mov ecx, esi
push dword [eax + 0x3a8]
mov edx, dword [eax + 0x3a4]
push dword [eax + 0x3ac]
mov eax, 0x46f840
call eax
push esi
call fcn.005aaea9
mov esi, dword [ebp - 0x10]
push 0
lea eax, [esi + 0x378]
mov dword [eax], 0
push 0
push eax
push 0
push dword [ebp - 0x18]
mov dword [eax + 4], 0
push dword [ebp - 0x14]
mov dword [esi + 0x380], 0
mov dword [esi + 0x384], 0
call fcn.0043ea10
add esp, 0x1c
mov ecx, esi
call fcn.00500290
lea ecx, [esi + 0x3dc]
call fcn.0045ae60
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4ff7f0
push eax
call esi
cmp edi, 0xffffffff
je 0x4ff7f8
push edi
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret