Function at 0x487a80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x5c9550]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x6c], ecx
push 0x5bb8ff
mov eax, dword [ebp - 0x6c]
add eax, 0x44
push eax
call fcn.004587a0
add esp, 8
test eax, eax
je 0x487b4a
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x164], 0
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x160], 0
mov eax, dword [ebp - 0x6c]
cmp dword [eax + 0x144], 0
je 0x487af4
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x144]
push edx
call fcn.00453ad6
add esp, 4
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x144], 0
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x148], 0
je 0x487b1f
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x148]
push eax
call fcn.00453ad6
add esp, 4
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x148], 0
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x2e18], 0
je 0x487b4a
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x2e18]
push ecx
call fcn.00453ad6
add esp, 4
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x2e18], 0
push 0x40
push 0x56bf88
mov eax, dword [ebp + 8]
push eax
call fcn.0045374d
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x144], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x144], 0
jne 0x487c39
call fcn.00456c8e
cmp dword [eax], 0xd
je 0x487bc2
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x1bd3
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
call fcn.00456c8e
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._CLS_Player::InitFilePlayParam__open_file__s__failed__Err__d__n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 0xc
or eax, 0xffffffff
jmp 0x487ddf
push str._CLS_Player::InitFilePlayParam__open__rw_Mode_file_failed__try__r_mode_.
call sym.TDPlayer.exe_sdk_log_msg
add esp, 4
push 0x40
push 0x56bef4
mov edx, dword [ebp + 8]
push edx
call fcn.0045374d
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x144], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x144], 0
jne 0x487c39
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x1bdc
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
call fcn.00456c8e
mov eax, dword [eax]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._CLS_Player::InitFilePlayParam__open_file__s__failed__Err__d__n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 0xc
or eax, 0xffffffff
jmp 0x487ddf
push 0x40
push 0x56bef4
mov edx, dword [ebp + 8]
push edx
call fcn.0045374d
add esp, 0xc
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x148], eax
mov edx, dword [ebp - 0x6c]
cmp dword [edx + 0x148], 0
jne 0x487ca3
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x1be4
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str._CLS_Player::InitFilePlayParam__open_file__s__failed___2_n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov ecx, dword [ebp - 0x6c]
call fcn.0047b0a0
or eax, 0xffffffff
jmp 0x487ddf
push 0x40
push 0x56bef4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0045374d
add esp, 0xc
mov edx, dword [ebp - 0x6c]
mov dword [edx + 0x2e18], eax
mov ecx, dword [ebp - 0x6c]
call fcn.0047f600
movzx eax, al
test eax, eax
jne 0x487d0c
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x1bed
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push str._CLS_Player::InitFilePlayParam___IsValidFile__failed_n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 4
mov ecx, dword [ebp - 0x6c]
call fcn.0047b0a0
or eax, 0xffffffff
jmp 0x487ddf
mov ecx, dword [ebp + 8]
push ecx
push 0xff
mov edx, dword [ebp - 0x6c]
add edx, 0x44
push edx
call fcn.00453518
add esp, 0xc
push 0
push 0
push 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x144]
push ecx
call fcn.004a3b45
add esp, 0x10
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x144]
push eax
push 0x58
push 1
lea ecx, [ebp - 0x68]
push ecx
call fcn.004544a3
add esp, 0x10
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x144]
push eax
call fcn.004a3a5f
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0047f770
mov ecx, dword [ebp - 0x6c]
call fcn.0047fa20
test eax, eax
je 0x487dc1
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x1bfc
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push str._CLS_Player::InitFilePlayParam___GetInfoFromFile__failed_n
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 4
mov ecx, dword [ebp - 0x6c]
call fcn.0047b0a0
or eax, 0xffffffff
jmp 0x487ddf
push 0
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx + 0x144]
push edx
call fcn.004a3b45
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00452910
mov esp, ebp
pop ebp
ret 4