Function at 0x4179e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 0xffffffff
mov eax, dword [ebp + 0xc]
push eax
call fcn.00416fa0
mov ecx, eax
call fcn.00417300
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx + 8], 0
jne 0x417a48
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x2d
push 0x5b8c14
push 0x5b8c30
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push str._CLS_PlayerMp4::CreatePlayer__Mp4_Open_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
jmp 0x417c79
mov ecx, dword [ebp - 0x18]
add ecx, 0x68
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
push eax
call fcn.00416fa0
mov ecx, eax
call fcn.00417430
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x417a9a
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x34
push 0x5b8c80
push 0x5b8c9c
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str._CLS_PlayerMp4::CreatePlayer__Mp4_GetStartSampleTime_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov edx, dword [ebp - 0x18]
add edx, 0x70
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 8]
push ecx
call fcn.00416fa0
mov ecx, eax
call fcn.004174a0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x417aec
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x3a
push 0x5b8cf8
push 0x5b8d14
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push str._CLS_PlayerMp4::CreatePlayer__Mp4_GetEndSampleTime_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov eax, dword [ebp - 0x18]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
call fcn.00416fa0
mov ecx, eax
call fcn.004173c0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x417b48
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x42
push 0x5b8d70
push 0x5b8d8c
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov eax, dword [ebp + 0xc]
push eax
push str._CLS_PlayerMp4::CreatePlayer__Mp4_GetFileHead_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
jmp 0x417c79
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x70]
sub eax, dword [edx + 0x68]
mov ecx, dword [ecx + 0x74]
sbb ecx, dword [edx + 0x6c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
movzx eax, word [edx + 0xc]
test eax, eax
jle 0x417b94
cmp dword [ebp - 0xc], 0
ja 0x417b77
cmp dword [ebp - 0x10], 0
jbe 0x417b94
mov ecx, dword [ebp - 0x18]
movzx eax, word [ecx + 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.0045e480
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x60], eax
push 0x58
mov edx, dword [ebp - 0x18]
add edx, 0xc
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004167c0
mov ecx, eax
call fcn.00416c20
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x417bef
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x50
push 0x5b8de0
push 0x5b8dfc
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str._CLS_PlayerMp4::CreatePlayer__TC_CreatePlayerFromVoD_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
jmp 0x417c79
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x80], 1
mov eax, dword [ebp - 0x18]
add eax, 0x7c
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0x4179c0
push 0
push 0
call fcn.004548f5
add esp, 0x18
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x78], 0
jne 0x417c6a
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x59
push 0x5b8e58
push 0x5b8e74
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
push str._CLS_PlayerMp4::CreatePlayer___beginthreadex_failed__file_s._n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
mov eax, dword [edx + 8]
call eax
jmp 0x417c79
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 8