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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654820
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x74d890]
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.0054c580
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 0x54cb93
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 0x54cbba
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x54cd62
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 0x54cd62
cmp dword [ebp - 0x34], 0xf
jne 0x54cd62
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.WS2_32.dll_ntohl]
lea eax, [ebp - 0x1f]
push eax
call fcn.0054c3a0
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0054c3a0
add esp, 8
cmp byte [ebp - 0x20], 0x12
jne 0x54cd3a
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
fldz
fcomp qword [eax + 0x18]
fnstsw ax
test ah, 5
jp 0x54cd3a
xor esi, esi
push esi
mov ecx, dword [ebp - 0x44]
push ecx
push ebx
push edi
call fcn.0061cf70
mov edi, ecx
mov dword [ebp - 0x50], ebx
mov ebx, eax
mov dword [ebp - 0x84], edx
cmp dword [ebp - 0x2c], esi
jne 0x54cc63
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 0x54cd37
mov eax, dword [ebp - 0x84]
push eax
push ebx
push esi
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0061a480
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 0x54cd31
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 0x54cd22
mov edx, dword [ebp - 0x50]
lea esi, [edi + edx]
push 0xd
push str.totalDuration
push esi
call fcn.0061a1ff
add esp, 0xc
test eax, eax
jne 0x54ccf3
cmp byte [ebp - 0x25], al
jne 0x54ccee
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.0054c050
add esp, 0xc
add edi, 0xe
jmp 0x54cca7
push 8
push str.duration
push esi
call fcn.0061a1ff
add esp, 0xc
test eax, eax
jne 0x54cd2b
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.0054c050
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x54cd37
inc edi
jmp 0x54cca7
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 0x54cb90
jg 0x54cd62
cmp edi, dword [ebp + 0xc]
jbe 0x54cb90
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x54cd70
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.006157d3
mov esp, ebp
pop ebp
ret 0xc