Function at 0x54f3b0
Capabilities:
Get system information on windows
Read file on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x657550
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x74f8a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x30], ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x48], esi
push str.Checking_flv_struct_n
call fcn.0054ee20
xor eax, eax
mov dword [ebp - 4], eax
wait
mov dword [ebp - 0x34], eax
mov edi, 9
mov dword [ebp - 0x40], edi
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x25], bl
jmp 0x54f443
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], ebx
push 0
lea edx, [ebp - 0x58]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x54f46a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x54f612
mov dword [ebp - 0x34], 0
push 0
lea eax, [ebp - 0x34]
push eax
push 0xf
lea ecx, [ebp - 0x24]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x54f612
cmp dword [ebp - 0x34], 0xf
jne 0x54f612
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
lea eax, [ebp - 0x1f]
push eax
call fcn.0054ec40
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0054ec40
add esp, 8
cmp byte [ebp - 0x20], 0x12
jne 0x54f5ea
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
fldz
fcomp qword [eax + 0x18]
fnstsw ax
test ah, 5
jp 0x54f5ea
xor esi, esi
push esi
mov ecx, dword [ebp - 0x44]
push ecx
push ebx
push edi
call fcn.0061f820
mov edi, ecx
mov dword [ebp - 0x50], ebx
mov ebx, eax
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x2c], esi
jne 0x54f513
push esi
push esi
push esi
push 4
push esi
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x54f5e7
mov eax, dword [ebp - 0x84]
push eax
push ebx
push esi
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0061cd30
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x38]
lea ecx, [edi + ecx + 0xf]
push ecx
push eax
push edx
push 6
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x54f5e1
lea eax, [ebx + edi + 0xb]
mov dword [ebp - 0x50], eax
mov edi, 1
mov dword [ebp - 0x4c], edi
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff2
cmp edi, ecx
jae 0x54f5d2
mov edx, dword [ebp - 0x50]
lea esi, [edi + edx]
push 0xd
push str.totalDuration
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x54f5a3
cmp byte [ebp - 0x25], al
jne 0x54f59e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x18]
sub esp, 8
fld qword [ecx + 0x18]
fstp qword [esp]
add esi, 0xe
push esi
call fcn.0054e8f0
add esp, 0xc
add edi, 0xe
jmp 0x54f557
push 8
push str.duration
push esi
call fcn.0061caaf
add esp, 0xc
test eax, eax
jne 0x54f5db
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
sub esp, 8
fld qword [eax + 0x18]
fstp qword [esp]
add esi, 9
push esi
call fcn.0054e8f0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x54f5e7
inc edi
jmp 0x54f557
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
add ecx, 0xf
add edi, ecx
mov dword [ebp - 0x40], edi
mov ebx, dword [ebp - 0x3c]
adc ebx, 0
mov dword [ebp - 0x3c], ebx
cmp ebx, dword [ebp + 0x10]
jl 0x54f440
jg 0x54f612
cmp edi, dword [ebp + 0xc]
jbe 0x54f440
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x54f620
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
wait
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0061807e
mov esp, ebp
pop ebp
ret 0xc