Function at 0x47eb60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x520]
jae 0x47eb89
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x520]
mov dword [ebp - 0x64], eax
jmp 0x47eb8f
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp + 8], edx
mov ecx, dword [ebp - 0x60]
call fcn.0047c1d0
test eax, eax
jle 0x47ebaf
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x588]
jbe 0x47ebee
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x94c
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x94c
push str.FindFrameByFrmNo_return_error__line__d_
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 0xc
or eax, 0xffffffff
jmp 0x47f152
mov dword [ebp - 0x48], 0xfffe0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x3d], 0
mov eax, dword [ebp - 0x48]
add eax, 0x20
push eax
call fcn.00452e85
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47ec6f
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x95c
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push 0x95c
push 0x56b084
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
or eax, 0xffffffff
jmp 0x47f152
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x20]
sbb esi, dword [ebp + 0x18]
mov eax, dword [ebp - 0x48]
cdq
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x68]
cmp edx, dword [ebp - 0x70]
jg 0x47eed3
jl 0x47ecab
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x74]
ja 0x47eed3
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.004a3b45
add esp, 0x10
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp + 0x1c]
sub ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
sbb edx, dword [ebp + 0x18]
add ecx, 0x20
adc edx, 0
push ecx
push 1
mov eax, dword [ebp - 0x10]
push eax
call fcn.004544a3
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
cdq
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0x4c], edx
mov eax, 1
test eax, eax
je 0x47eed3
cmp dword [ebp - 0x54], 0
jg 0x47ed6f
jl 0x47ed26
cmp dword [ebp - 0x58], 0x20
jae 0x47ed6f
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00452f4f
add esp, 4
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x96c
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push 0x96c
push 0x56b084
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov eax, 0xfffffffa
jmp 0x47f152
push 0
push 0
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0xc]
push edx
call fcn.00493a90
add esp, 0x30
mov byte [ebp - 0x3d], al
movzx eax, byte [ebp - 0x3d]
test eax, eax
jne 0x47edf2
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00452f4f
add esp, 4
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x974
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push 0x974
push 0x56b084
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov eax, 0xfffffffb
jmp 0x47f152
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x54]
sbb eax, dword [ebp - 0x1c]
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x50]
add ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x4c]
adc edx, dword [ebp - 0x1c]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0xc]
cmp eax, dword [ebp + 8]
jne 0x47ee53
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x50]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00452f4f
add esp, 4
xor eax, eax
jmp 0x47f152
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
xor ecx, ecx
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x54]
cmp edx, dword [ebp - 0x78]
jg 0x47ee94
jl 0x47ee73
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x7c]
ja 0x47ee94
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp - 0x50]
mov dword [ecx], edx
mov eax, dword [ebp - 0x4c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00452f4f
add esp, 4
xor eax, eax
jmp 0x47f152
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
xor eax, eax
add edx, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
adc ecx, eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
xor ecx, ecx
mov edx, dword [ebp - 0x58]
sub edx, eax
mov eax, dword [ebp - 0x54]
sbb eax, ecx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
jmp 0x47ed0b
mov dword [ebp - 0x3c], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], 0
fild qword [ebp - 0x84]
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp + 0xc]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], 0
fild qword [ebp - 0x8c]
fdivp st(1)
mov eax, dword [ebp + 0x1c]
sub eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x20]
sbb ecx, dword [ebp + 0x18]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
fild qword [ebp - 0x94]
fmulp st(1)
call fcn.00457976
add eax, dword [ebp + 0x14]
adc edx, dword [ebp + 0x18]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x20]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], ecx
mov edx, 1
test edx, edx
je 0x47f143
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x34]
jg 0x47ef97
jl 0x47ef85
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x38]
ja 0x47ef97
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0x14]
jg 0x47efd6
jl 0x47ef97
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x18]
jae 0x47efd6
call sym.TDPlayer.exe__sdk_log_buf_lock_0
call sym.TDPlayer.exe__sdk_log_buf_date_0
push 0x99a
push str..SourceCodePlayerPlayer.cpp
push str.file:__s_line:__d
call sym.TDPlayer.exe_sdk_log_buf_msg
add esp, 0xc
push 0x99a
push 0x56b084
call sym.TDPlayer.exe_sdk_err_buf_msg_unlock
add esp, 8
mov dword [ebp - 0x3c], 0xfffffffe
jmp 0x47f143
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x148]
push ecx
call fcn.004a3b45
add esp, 0x10
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x148]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x20
push ecx
push 1
mov edx, dword [ebp - 0x10]
push edx
call fcn.004544a3
add esp, 0x10
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0xc]
push ecx
call fcn.00493a90
add esp, 0x30
mov byte [ebp - 0x3d], al
movzx edx, byte [ebp - 0x3d]
test edx, edx
je 0x47f0e3
mov eax, dword [ebp - 0x30]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
adc ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0x24]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp + 8]
jne 0x47f07a
mov dword [ebp - 0x3c], 0
jmp 0x47f143
mov ecx, dword [ebp - 0x44]
cmp ecx, dword [ebp + 8]
jbe 0x47f0b4
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x60]
call fcn.0047eb60
mov dword [ebp - 0x3c], eax
jmp 0x47f143
mov ecx, dword [ebp + 0x24]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x60]
call fcn.0047eb60
mov dword [ebp - 0x3c], eax
jmp 0x47f143
mov eax, dword [ebp - 0x48]
add eax, 0x20
cmp dword [ebp - 0xc], eax
jge 0x47f12c
mov eax, dword [ebp - 0x48]
cdq
mov ecx, dword [ebp - 0x30]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
sbb eax, edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jg 0x47f11e
jl 0x47f110
cmp dword [ebp - 0x30], 0
jae 0x47f11e
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], edx
jmp 0x47f13e
mov eax, dword [ebp - 0x48]
cdq
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
adc ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ecx
jmp 0x47ef66
mov edx, dword [ebp - 0x24]
push edx
call fcn.00452f4f
add esp, 4
mov eax, dword [ebp - 0x3c]
pop esi
mov esp, ebp
pop ebp
ret 0x20