Function at 0x4e6db0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x570400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov edi, dword [ebp + 0x38]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004ee360
push 1
push 0x63
push eax
mov dword [ebp - 0x2c], eax
call fcn.004f1dc0
push 0xa
push 0xd
push dword [ebp - 0x2c]
call fcn.004f1dc0
push 0
push 0x40
push dword [ebp - 0x2c]
call fcn.004f1dc0
push 0
push 0x51
push dword [ebp - 0x2c]
call fcn.004f1dc0
mov byte [ebp - 4], 2
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
cmova eax, dword [ebp + 8]
push eax
push 0x2712
push dword [ebp - 0x2c]
call fcn.004f1dc0
push 0
push 0x12c
push 0xd
push dword [ebp - 0x2c]
call fcn.004f1dc0
add esp, 0x4c
mov dword [ebp - 0x30], 0
cmp dword [ebp + 0x34], 0xf
lea eax, [ebp + 0x20]
cmova eax, dword [ebp + 0x20]
push 0x568474
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
push 0
push esi
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
push edi
call fcn.00545654
push dword [ebp - 0x30]
mov esi, eax
push edi
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
push dword [ebp - 0x30]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x30
xorps xmm0, xmm0
push edi
push esi
sub esp, 0x18
mov ecx, esp
push 0x10
movups xmmword [ecx], xmm0
push str.video_file_chunk
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.00403d10
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x2c]
push edi
call fcn.00412680
push esi
call fcn.0054564f
push dword [ebp - 0x2c]
call fcn.004ee320
mov ecx, dword [ebp - 0x14]
add esp, 8
cmp ecx, 0xf
jbe 0x4e6f48
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e6f3e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e6fc2
push ecx
push edx
call fcn.005453ef
add esp, 8
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp ecx, 0xf
jbe 0x4e6f8a
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e6f80
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e6fc2
push ecx
push edx
call fcn.005453ef
add esp, 8
mov ecx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp ecx, 0xf
jbe 0x4e6fd2
mov edx, dword [ebp + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4e6fc8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4e6fc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.005453ef
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054507b
mov esp, ebp
pop ebp
ret