Function at 0x47fce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x561570
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5c9550]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x4d8], 0
je 0x47fd2d
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x4d8], 1
jne 0x47ff94
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x160], 0
je 0x47fdaf
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x84]
mov edx, dword [eax + 0x164]
sub edx, dword [ecx + 0x160]
mov eax, dword [ebp - 0x84]
mov dword [eax + 0x164], edx
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x164]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x160]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 0x158
call fcn.00479800
push eax
push 0
mov ecx, dword [ebp - 0x84]
add ecx, 0x158
call fcn.00479780
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x160], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov eax, 1
test eax, eax
je 0x47ff74
mov ecx, dword [ebp - 0x84]
add ecx, 0x158
call fcn.004778f0
mov ecx, dword [ebp - 0x84]
sub eax, dword [ecx + 0x164]
cmp eax, 0x20000
jbe 0x47fe08
mov dword [ebp - 0x88], 0x20000
jmp 0x47fe2b
mov ecx, dword [ebp - 0x84]
add ecx, 0x158
call fcn.004778f0
mov edx, dword [ebp - 0x84]
sub eax, dword [edx + 0x164]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
push 0
mov ecx, dword [ebp - 0x84]
add ecx, 0x5e8
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004a2fbc
mov dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x2c]
call fcn.004a2f7e
test eax, eax
je 0x47fe9d
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x144]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
push 1
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x164]
push eax
mov ecx, dword [ebp - 0x84]
add ecx, 0x158
call fcn.00479800
push eax
call fcn.004544a3
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jle 0x47feb7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047bc30
jmp 0x47ff74
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x4d8], 0
jne 0x47fee4
mov dword [ebp - 0x64], 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047bc30
mov eax, dword [ebp - 0x64]
jmp 0x480379
mov ecx, dword [ebp - 0x84]
call fcn.0047c1d0
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x84]
call fcn.0047bf10
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jl 0x47ff29
mov dword [ebp - 0x68], 0xfffffff1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047bc30
mov eax, dword [ebp - 0x68]
jmp 0x480379
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp eax, 5
jle 0x47ff58
mov dword [ebp - 0x6c], 0xffffffef
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047bc30
mov eax, dword [ebp - 0x6c]
jmp 0x480379
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0047bc30
jmp 0x47fdcb
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x164]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x164], eax
jmp 0x480377
push 0
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x5e0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004a2fbc
mov dword [ebp - 4], 1
push 0xffffffffffffffff
lea ecx, [ebp - 0x3c]
call fcn.004a2f7e
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x5dc], 0
je 0x47ffde
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x4d8], 2
jne 0x480150
mov eax, dword [ebp - 0x84]
movzx ecx, byte [eax + 0x5c4]
test ecx, ecx
je 0x48010d
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x5c8], 0
jg 0x4800cb
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0xcdc], 0x51
jne 0x4800cb
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x5d8], 0
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x520], 0
mov eax, dword [ebp - 0x84]
mov dword [eax + 0x530], 0
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x598], 0
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x598]
push eax
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x5dc]
call fcn.0049d7f0
push eax
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x5c8]
push eax
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ecx + 0x5c4]
push edx
push str.zyb_CLS_Player::GetData_OVER__d___count__d___RealFrameCount__d___m_iCurFrameNo__d_return_RET_STREAM_END_n
call sym.TDPlayer.exe_sdk_log_msg
add esp, 0x14
mov eax, dword [ebp - 0x84]
mov byte [eax + 0x5c4], 0
mov dword [ebp - 0x70], 0xfffffff3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
mov eax, dword [ebp - 0x70]
jmp 0x480379
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + 0x5dc]
call fcn.0049d7f0
test eax, eax
jg 0x48010b
mov edx, dword [ebp - 0x84]
mov byte [edx + 0x5c4], 0
mov dword [ebp - 0x74], 0xfffffff3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
mov eax, dword [ebp - 0x74]
jmp 0x480379
jmp 0x480150
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x5dc]
call fcn.0049d7f0
test eax, eax
jg 0x480150
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x5d8], 0
mov dword [ebp - 0x78], 0xffffffee
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
mov eax, dword [ebp - 0x78]
jmp 0x480379
mov edx, dword [ebp - 0x84]
mov ecx, dword [edx + 0x5dc]
call fcn.0049dbb0
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x84]
mov dword [eax + 0x160], 0
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x164], 0
cmp dword [ebp - 0x30], 0
je 0x48034d
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0xfac]
push ecx
call fcn.0045a310
add esp, 0xc
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
mov dword [edx + 0x164], ecx
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0xf98], 0
jne 0x48023e
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0xf7c], 0
je 0x48023e
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
push 0x20
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0xfac]
push eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.0045a310
add esp, 0xc
movzx edx, byte [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0xfac]
push eax
mov ecx, dword [ebp - 0x84]
call fcn.004864a0
push 0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0xfac]
push ecx
mov ecx, dword [ebp - 0x84]
call fcn.0047df10
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x84]
movzx eax, byte [edx + 0xfc4]
test eax, eax
je 0x4802aa
mov ecx, dword [ebp - 0x84]
call fcn.00485560
test eax, eax
jne 0x4802aa
mov ecx, dword [ebp - 0x84]
call fcn.004822b0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
mov eax, dword [ebp - 0x7c]
jmp 0x480379
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xfc8], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx + 0x5d8]
sub ecx, dword [eax + 4]
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x5d8], ecx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x5dc]
call fcn.0049dc80
mov ecx, dword [ebp - 0x84]
movzx edx, byte [ecx + 0x5c4]
test edx, edx
je 0x480317
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x5c8]
sub ecx, 1
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x5c8], ecx
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x5dc]
call fcn.0049d7f0
test eax, eax
jle 0x48033b
mov ecx, dword [ebp - 0x84]
cmp dword [ecx + 0x5d8], 0
jge 0x48034b
mov edx, dword [ebp - 0x84]
mov dword [edx + 0x5d8], 0
jmp 0x480368
mov dword [ebp - 0x80], 0xffffffee
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
mov eax, dword [ebp - 0x80]
jmp 0x480379
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0047bc30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret