Function at 0x453ce0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x708
mov eax, dword [0x527d34]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x644], 0
mov dword [0x532474], 0
mov dword [0x52d3ec], 0
mov dword [0x521328], 0
mov dword [0x52d418], 0
mov dword [ebp - 0x648], 0
mov dword [ebp - 0x640], 0
mov eax, dword [0x532550]
add eax, 1
mov dword [0x532550], eax
push str.ffplay_playfile_Begin...
push 0x4e20
lea ecx, [ebp - 0x6cc]
push ecx
call fcn.00465730
add esp, 0xc
mov edx, dword [eax]
mov dword [ebp - 0x690], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x68c], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x688], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x684], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x680], edx
mov eax, dword [ebp - 0x690]
push eax
mov ecx, dword [ebp - 0x68c]
push ecx
push 0x5247bc
push 0x1243
push 0x5247e0
call fcn.004654e0
add esp, 0x14
mov edx, dword [ebp - 0x690]
push edx
call fcn.004af6c1
add esp, 4
mov eax, dword [ebp - 0x640]
push eax
mov ecx, dword [ebp - 0x648]
push ecx
mov edx, dword [0x52d418]
push edx
mov eax, dword [0x521328]
push eax
mov ecx, dword [0x52d3ec]
push ecx
push str.display_disable:_d__seek_by_bytes:_d__is_full_screen:_d__is:_d__flags:_d
lea edx, [ebp - 0x6e0]
push edx
call fcn.00465840
add esp, 0x1c
mov ecx, dword [eax]
mov dword [ebp - 0x6b8], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x6b4], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6b0], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x6ac], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x6a8], eax
mov ecx, dword [ebp - 0x6b8]
push ecx
push str.ffplay_playfile
call fcn.004657b0
add esp, 8
mov dword [ebp - 0x658], eax
mov edx, dword [ebp - 0x658]
push edx
push 0
push 0x52487c
push 0x124e
push 0x524910
call fcn.004654e0
add esp, 0x14
mov eax, dword [ebp - 0x6b8]
push eax
call fcn.004af6c1
add esp, 4
mov ecx, dword [ebp - 0x658]
push ecx
call fcn.004af6c1
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x453e95
push str.NULL__szFile
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x644]
jmp 0x454631
cmp dword [ebp + 8], 0
jne 0x453ec8
push str.ERROR:NULL__hwnd
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call sub.SDL2.dll_SDL_GetError
push eax
push 0x5248a4
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
mov eax, dword [ebp - 0x644]
jmp 0x454631
xor edx, edx
mov dword [ebp - 0x63c], edx
mov dword [ebp - 0x638], edx
mov dword [ebp - 0x634], edx
mov dword [ebp - 0x630], edx
lea eax, [ebp - 0x63c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x453fd2
mov edx, dword [ebp - 0x634]
sub edx, dword [ebp - 0x63c]
mov dword [ebp - 0x660], edx
mov eax, dword [ebp - 0x630]
sub eax, dword [ebp - 0x638]
mov dword [ebp - 0x65c], eax
cmp dword [ebp - 0x660], 0
je 0x453f35
cmp dword [ebp - 0x65c], 0
jne 0x453fd2
mov dword [0x52d3ec], 1
mov ecx, dword [0x52d3ec]
push ecx
mov edx, dword [ebp - 0x65c]
push edx
mov eax, dword [ebp - 0x660]
push eax
push str.width:_d__height:_d__display_disable:_d
lea ecx, [ebp - 0x6f4]
push ecx
call fcn.00465840
add esp, 0x14
mov edx, dword [eax]
mov dword [ebp - 0x67c], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x678], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x674], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x670], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x66c], edx
mov dword [ebp - 0x678], 0x9c40
mov eax, dword [ebp - 0x67c]
push eax
mov ecx, dword [ebp - 0x678]
push ecx
push 0x524988
push 0x1266
push 0x524990
call fcn.004654e0
add esp, 0x14
mov edx, dword [ebp - 0x67c]
push edx
call fcn.004af6c1
add esp, 4
mov dword [ebp - 0x654], 4
xor eax, eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x618], eax
mov dword [ebp - 0x614], eax
mov dword [ebp - 0x610], eax
lea ecx, [ebp - 0x61c]
mov dword [ebp - 0x650], ecx
push 0x104
push 0
lea edx, [ebp - 0x108]
push edx
call fcn.004ad050
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004ad050
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0xffffffffffffffff
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.004be7af
add esp, 0x10
mov ecx, 4
imul edx, ecx, 0
lea eax, [ebp - 0x108]
mov dword [ebp + edx - 0x61c], eax
mov ecx, 4
shl ecx, 0
lea edx, [ebp - 0x20c]
mov dword [ebp + ecx - 0x61c], edx
mov eax, 4
shl eax, 1
mov dword [ebp + eax - 0x61c], str._seek2any
mov ecx, 4
imul edx, ecx, 3
mov dword [ebp + edx - 0x61c], str.false
call fcn.00455100
call fcn.00449440
push 1
call sub.avutil_56.dll_av_log_set_flags
add esp, 4
push 0x4e9fb0
mov eax, dword [ebp - 0x650]
push eax
mov ecx, dword [ebp - 0x654]
push ecx
call fcn.0044a9f0
add esp, 0xc
call sub.avdevice_58.dll_avdevice_register_all
call sub.avformat_58.dll_avformat_network_init
call fcn.00449450
push 0x458750
push 2
call fcn.004be501
add esp, 8
push 0x458750
push 0xf
call fcn.004be501
add esp, 8
push 0x4e9fb0
mov edx, dword [ebp - 0x650]
push edx
mov eax, dword [ebp - 0x654]
push eax
call fcn.0044c900
add esp, 0xc
push 0x455320
push 0x4e9fb0
mov ecx, dword [ebp - 0x650]
push ecx
mov edx, dword [ebp - 0x654]
push edx
push 0
call fcn.0044adc0
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov dword [0x532474], eax
cmp dword [0x532474], 0
jne 0x454188
call fcn.00458710
push str.An_input_file_must_be_specified_n
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0xc
push str.ffplay
push str.Use__h_to_get_full_help_or__even_better__run_man__s_n
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
push 1
call fcn.004bb7ff
cmp dword [0x52d3ec], 0
je 0x45419b
mov dword [0x52d3d0], 1
mov dword [ebp - 0x640], 0x31
cmp dword [0x52d3cc], 0
je 0x4541bf
mov ecx, dword [ebp - 0x640]
and ecx, 0xffffffef
mov dword [ebp - 0x640], ecx
jmp 0x4541e4
push 0x524a20
call sub.SDL2.dll_SDL_getenv
add esp, 4
test eax, eax
jne 0x4541e4
push 1
push 0x524a40
push str.SDL_AUDIO_ALSA_SET_BUFFER_SIZE
call sub.SDL2.dll_SDL_setenv
add esp, 0xc
cmp dword [0x52d3ec], 0
je 0x4541fc
mov edx, dword [ebp - 0x640]
and edx, 0xffffffdf
mov dword [ebp - 0x640], edx
mov eax, dword [ebp - 0x640]
push eax
call sub.SDL2.dll_SDL_Init
add esp, 4
test eax, eax
je 0x45424d
call sub.SDL2.dll_SDL_GetError
push eax
push str.Could_not_initialize_SDL____s_n
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
push str._Did_you_set_the_DISPLAY_variable___n
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0xc
push str.ERROR:SDL_Init
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x644]
jmp 0x454631
push 0
push 0x201
call sub.SDL2.dll_SDL_EventState
add esp, 8
push 0
push 0x8000
call sub.SDL2.dll_SDL_EventState
add esp, 8
push 0x5324a8
call sub.avcodec_58.dll_av_init_packet
add esp, 4
mov dword [0x5324c0], 0x5324a8
cmp dword [0x52d3ec], 0
jne 0x454543
mov dword [ebp - 0x64c], 8
cmp dword [0x52d3f0], 0
je 0x4542b3
mov ecx, dword [ebp - 0x64c]
or ecx, 0x10
mov dword [ebp - 0x64c], ecx
jmp 0x4542c2
mov edx, dword [ebp - 0x64c]
or edx, 0x20
mov dword [ebp - 0x64c], edx
xor eax, eax
mov dword [ebp - 0x62c], eax
mov dword [ebp - 0x628], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x620], eax
lea ecx, [ebp - 0x62c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x620]
push eax
mov ecx, dword [ebp - 0x624]
push ecx
mov edx, dword [ebp - 0x628]
push edx
mov eax, dword [ebp - 0x62c]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.Before_hwnd:_d__rect.left:_d__rect.top:_d__rect.right:_d__rect.bottom:_d
call fcn.0044f3e0
add esp, 0x18
mov edx, dword [ebp + 8]
push edx
call sub.SDL2.dll_SDL_CreateWindowFrom
add esp, 4
mov dword [0x5324f0], eax
push str.linear
push str.SDL_RENDER_SCALE_QUALITY
call sub.SDL2.dll_SDL_SetHint
add esp, 8
push str.overscan
push str.SDL_RENDER_LOGICAL_SIZE_MODE
call sub.SDL2.dll_SDL_SetHint
add esp, 8
push 0x524b68
push str.SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS
call sub.SDL2.dll_SDL_SetHint
add esp, 8
lea eax, [ebp - 0x62c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x620]
push edx
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [ebp - 0x628]
push ecx
mov edx, dword [ebp - 0x62c]
push edx
mov eax, dword [ebp + 8]
push eax
push str.After_hwnd:_d__rect.left:_d__rect.top:_d__rect.right:_d__rect.bottom:_d
call fcn.0044f3e0
add esp, 0x18
cmp dword [0x5324f0], 0
je 0x4544e6
mov ecx, dword [ebp - 0x624]
sub ecx, dword [ebp - 0x62c]
mov dword [ebp - 0x668], ecx
mov edx, dword [ebp - 0x620]
sub edx, dword [ebp - 0x628]
mov dword [ebp - 0x664], edx
mov eax, dword [ebp - 0x628]
push eax
mov ecx, dword [ebp - 0x62c]
push ecx
mov edx, dword [0x5324f0]
push edx
call sub.SDL2.dll_SDL_SetWindowPosition
add esp, 0xc
mov eax, dword [ebp - 0x664]
push eax
mov ecx, dword [ebp - 0x668]
push ecx
mov edx, dword [0x5324f0]
push edx
call sub.SDL2.dll_SDL_SetWindowSize
add esp, 0xc
push 0
mov eax, dword [0x5324f0]
push eax
call sub.SDL2.dll_SDL_SetWindowResizable
add esp, 8
push 6
push 0xffffffffffffffff
mov ecx, dword [0x5324f0]
push ecx
call sub.SDL2.dll_SDL_CreateRenderer
add esp, 0xc
mov dword [0x5324f4], eax
cmp dword [0x5324f4], 0
jne 0x4544ac
call sub.SDL2.dll_SDL_GetError
push eax
push 0x524bd8
push 0x18
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
push 0x400
push 0
lea edx, [ebp - 0x60c]
push edx
call fcn.004ad050
add esp, 0xc
call sub.SDL2.dll_SDL_GetError
push eax
push str.Failed_to_initialize_a_hardware_accelerated_renderer:__s_n
push 0x400
lea eax, [ebp - 0x60c]
push eax
call fcn.004036f0
add esp, 0x10
lea ecx, [ebp - 0x60c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0
push 0xffffffffffffffff
mov edx, dword [0x5324f0]
push edx
call sub.SDL2.dll_SDL_CreateRenderer
add esp, 0xc
mov dword [0x5324f4], eax
cmp dword [0x5324f4], 0
je 0x4544e4
push 0x5324f8
mov eax, dword [0x5324f4]
push eax
call sub.SDL2.dll_SDL_GetRendererInfo
add esp, 8
test eax, eax
jne 0x4544e4
mov ecx, dword [0x5324f8]
push ecx
push str.Initialized__s_renderer._n
push 0x28
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
jmp 0x4544fc
push str.ERROR:NULL__sdlWindow
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0x644]
jmp 0x454631
cmp dword [0x5324f0], 0
je 0x454517
cmp dword [0x5324f4], 0
je 0x454517
cmp dword [0x532500], 0
jne 0x454543
call sub.SDL2.dll_SDL_GetError
push eax
push 0x524c9c
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0x10
push str.Failed_to_create_window_or_renderer:__s
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call fcn.00452e80
add esp, 4
mov edx, dword [0x532470]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00459640
add esp, 8
mov dword [ebp - 0x648], eax
cmp dword [ebp - 0x648], 0
jne 0x454580
push str.Failed_to_initialize_VideoState__n
push 8
push 0
call sub.avutil_56.dll_av_log
add esp, 0xc
push 0
call fcn.00452e80
add esp, 4
mov ecx, dword [ebp - 0x648]
push ecx
call fcn.00458340
add esp, 4
mov edx, dword [ebp - 0x648]
push edx
call fcn.00453020
add esp, 4
push 0
call fcn.00458340
add esp, 4
mov dword [ebp - 0x644], 1
push str.ffplay_playfile_End...
push 0x4e20
lea eax, [ebp - 0x708]
push eax
call fcn.00465730
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x6a4], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x6a0], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x69c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x698], edx
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x694], eax
mov ecx, dword [ebp - 0x6a4]
push ecx
mov edx, dword [ebp - 0x6a0]
push edx
push 0x524d50
push 0x1368
push 0x524d58
call fcn.004654e0
add esp, 0x14
mov eax, dword [ebp - 0x6a4]
push eax
call fcn.004af6c1
add esp, 4
mov eax, dword [ebp - 0x644]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049425b
mov esp, ebp
pop ebp
ret