Function at 0x4c63f3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x57a730
call fcn.004f894c
sub esp, 0x54
push ebx
push esi
push 1
mov dword [ebp - 0x18], ecx
pop esi
mov dword [ebp - 0x20], 0x58cd90
mov dword [ebp - 0x1c], esi
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.004323ba
cmp eax, esi
je 0x4c642e
or eax, 0xffffffff
jmp 0x4c680e
lea ecx, [ebp - 0x60]
call fcn.004b2e61
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00432605
test eax, eax
je 0x4c6458
or esi, 0xffffffff
jmp 0x4c6801
mov eax, dword [0x64b640]
push edi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x54], ebx
mov byte [ebp - 4], 2
jle 0x4c65b8
xor eax, eax
cmp dword [ebp - 0x54], ebx
mov dword [ebp + 0x10], eax
jle 0x4c65b8
mov ecx, dword [ebp - 0x58]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 0x48], ebx
jg 0x4c659f
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x5bca3c
call fcn.00498e06
mov esi, eax
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0x70], ebx
call fcn.0054fafb
lea eax, [edi + 0x44]
lea ecx, [esi + 0x14]
push eax
call fcn.0054fafb
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x14]
cmp dword [eax - 8], ebx
jne 0x4c64cf
push 0x5cb54c
call fcn.0054fb4b
push 0x5bca3c
lea ecx, [esi + 8]
call fcn.0054fb4b
lea eax, [edi + 0x20]
lea ecx, [esi + 0x38]
push eax
call fcn.0054fafb
mov eax, dword [edi + 0x38]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x74], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x78], eax
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x50]
cmp dword [ecx - 8], ebx
je 0x4c6523
push eax
lea ecx, [ebp - 0x10]
call fcn.0054fafb
mov dword [esi + 0x40], 0x1392
jmp 0x4c6537
mov ecx, dword [edi + 0x4c]
lea eax, [edi + 0x4c]
cmp dword [ecx - 8], ebx
je 0x4c6537
push eax
lea ecx, [ebp - 0x10]
call fcn.0054fafb
push 0x23
lea ecx, [ebp - 0x10]
call fcn.0054fe93
cmp eax, 0xffffffff
je 0x4c656c
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054c83b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0054fafb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x3c]
push eax
call fcn.0054fafb
lea eax, [edi + 0x24]
lea ecx, [esi + 0x50]
push eax
call fcn.0054fafb
lea eax, [edi + 0x28]
lea ecx, [esi + 0x5c]
push eax
call fcn.0054fafb
add edi, 0x2c
lea ecx, [esi + 0x64]
push edi
call fcn.0054fafb
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x54]
mov dword [ebp + 0x10], eax
jl 0x4c647f
cmp dword [ebp + 0xc], ebx
jne 0x4c666d
cmp dword [ebp - 0x40], ebx
jle 0x4c666d
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp + 0x10]
push ebx
push ebx
mov edi, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
push 0x5bca3c
call fcn.00498e06
mov esi, eax
push 0x5bca3c
lea ecx, [esi + 8]
mov dword [esi + 0x70], ebx
call fcn.0054fb4b
mov eax, dword [edi + 4]
add edi, 0x1c
mov dword [esi + 0x30], eax
mov eax, dword [edi - 0x10]
mov dword [esi + 0x74], eax
mov eax, dword [edi - 0xc]
mov dword [esi + 0x78], eax
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x4c661a
push edi
lea ecx, [ebp - 0x10]
call fcn.0054fafb
mov dword [esi + 0x40], 0x1392
push 0x23
lea ecx, [ebp - 0x10]
call fcn.0054fe93
cmp eax, 0xffffffff
je 0x4c664f
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054c83b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0054fafb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x3c]
push eax
call fcn.0054fafb
inc dword [ebp + 0xc]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x40]
jl 0x4c65c4
cmp dword [ebp - 0x2c], ebx
jle 0x4c67d5
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push str.VIDEO
mov esi, dword [eax + ecx*4]
push dword [esi]
call fcn.004f8a05
pop ecx
cmp eax, ebx
pop ecx
jne 0x4c66af
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x5bca3c
call fcn.00498e06
mov dword [eax + 0x70], ebx
mov edi, eax
push 0x5bca3c
jmp 0x4c66dd
push str.AUDIO
push dword [esi]
call fcn.004f8a05
pop ecx
cmp eax, ebx
pop ecx
jne 0x4c66e2
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 0x5bca30
call fcn.00498e06
mov dword [eax + 0x90], ebx
mov edi, eax
push 0x5bca30
lea ecx, [eax + 8]
jmp 0x4c672d
push str.SUBTITLES
push dword [esi]
call fcn.004f8a05
pop ecx
cmp eax, ebx
pop ecx
jne 0x4c6705
mov ecx, dword [ebp + 8]
call fcn.0049c21f
mov edi, eax
push 0x5cb0c0
jmp 0x4c672a
push str.CLOSED_CAPTIONS
push dword [esi]
call fcn.004f8a05
pop ecx
cmp eax, ebx
pop ecx
jne 0x4c67c6
mov ecx, dword [ebp + 8]
call fcn.004c681e
mov edi, eax
push 0x5cdf20
lea ecx, [edi + 8]
call fcn.0054fb4b
cmp edi, ebx
je 0x4c67c6
lea eax, [esi + 4]
lea ecx, [edi + 0xc]
push eax
call fcn.0054fafb
lea eax, [esi + 0xc]
lea ecx, [edi + 0x44]
push eax
call fcn.0054fafb
lea eax, [esi + 8]
lea ecx, [edi + 0x48]
push eax
call fcn.0054fafb
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x94], eax
mov ecx, dword [esi + 0x20]
lea eax, [esi + 0x20]
cmp dword [ecx - 8], ebx
je 0x4c6782
push eax
lea ecx, [ebp - 0x10]
call fcn.0054fafb
mov dword [edi + 0x40], 0x1392
push 0x23
lea ecx, [ebp - 0x10]
call fcn.0054fe93
cmp eax, 0xffffffff
je 0x4c67b7
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0054c83b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0054fafb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0054f9b4
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x3c]
push eax
call fcn.0054fafb
inc dword [ebp + 0xc]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x2c]
jl 0x4c6679
cmp dword [ebp + 0xc], ebx
pop edi
jle 0x4c67ea
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
call fcn.004c6875
xor eax, eax
cmp dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
setg al
dec eax
mov esi, eax
call fcn.0054f9b4
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004b30f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10