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

Disassembly:
mov eax, 0x571250
call fcn.0052a208
sub esp, 0x54
push ebx
push esi
push 1
mov dword [ebp - 0x18], ecx
pop esi
mov dword [ebp - 0x20], 0x5831d0
mov dword [ebp - 0x1c], esi
push dword [ebp + 0xc]
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00431322
cmp eax, esi
je 0x4bda5b
or eax, 0xffffffff
jmp 0x4bde20
lea ecx, [ebp - 0x60]
call fcn.004aae82
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.0043156d
test eax, eax
je 0x4bda85
or esi, 0xffffffff
jmp 0x4bde13
mov eax, dword [0x643788]
push edi
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x54], ebx
mov byte [ebp - 4], 2
jle 0x4bdbdc
xor eax, eax
cmp dword [ebp - 0x54], ebx
mov dword [ebp + 0x10], eax
jle 0x4bdbdc
mov ecx, dword [ebp - 0x58]
mov edi, dword [ecx + eax*4]
cmp dword [edi + 0x48], ebx
jg 0x4bdbc3
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 1
call fcn.00491c3d
mov esi, eax
lea eax, [edi + 0x40]
push eax
lea ecx, [esi + 0x14]
mov dword [esi + 0x74], ebx
call fcn.00546aaf
lea eax, [edi + 0x44]
lea ecx, [esi + 0x18]
push eax
call fcn.00546aaf
mov eax, dword [esi + 0x18]
lea ecx, [esi + 0x18]
cmp dword [eax - 8], ebx
jne 0x4bdaf9
push 0x5c056c
call fcn.00546aff
lea eax, [edi + 0x20]
lea ecx, [esi + 0x40]
push eax
mov dword [esi + 0xc], 1
call fcn.00546aaf
mov eax, dword [edi + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x78], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x7c], eax
mov ecx, dword [edi + 0x50]
lea eax, [edi + 0x50]
cmp dword [ecx - 8], ebx
je 0x4bdb47
push eax
lea ecx, [ebp - 0x10]
call fcn.00546aaf
mov dword [esi + 8], 0xbc2
jmp 0x4bdb5b
mov ecx, dword [edi + 0x4c]
lea eax, [edi + 0x4c]
cmp dword [ecx - 8], ebx
je 0x4bdb5b
push eax
lea ecx, [ebp - 0x10]
call fcn.00546aaf
push 0x23
lea ecx, [ebp - 0x10]
call fcn.00546e47
cmp eax, 0xffffffff
je 0x4bdb90
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00543913
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.00546aaf
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00546968
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x44]
push eax
call fcn.00546aaf
lea eax, [edi + 0x24]
lea ecx, [esi + 0x54]
push eax
call fcn.00546aaf
lea eax, [edi + 0x28]
lea ecx, [esi + 0x64]
push eax
call fcn.00546aaf
add edi, 0x2c
lea ecx, [esi + 0x6c]
push edi
call fcn.00546aaf
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
inc eax
cmp eax, dword [ebp - 0x54]
mov dword [ebp + 0x10], eax
jl 0x4bdaac
cmp dword [ebp + 0xc], ebx
jne 0x4bdc88
cmp dword [ebp - 0x40], ebx
jle 0x4bdc88
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 1
call fcn.00491c3d
mov esi, eax
add edi, 0x1c
mov dword [esi + 0x74], ebx
mov dword [esi + 0xc], 1
mov eax, dword [edi - 0x18]
mov dword [esi + 0x38], eax
mov eax, dword [edi - 0x10]
mov dword [esi + 0x78], eax
mov eax, dword [edi - 0xc]
mov dword [esi + 0x7c], eax
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x4bdc35
push edi
lea ecx, [ebp - 0x10]
call fcn.00546aaf
mov dword [esi + 8], 0xbc2
push 0x23
lea ecx, [ebp - 0x10]
call fcn.00546e47
cmp eax, 0xffffffff
je 0x4bdc6a
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00543913
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00546aaf
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00546968
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x44]
push eax
call fcn.00546aaf
inc dword [ebp + 0xc]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x40]
jl 0x4bdbe8
cmp dword [ebp - 0x2c], ebx
jle 0x4bdde7
mov dword [ebp + 0x10], ebx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x10]
push str.VIDEO
mov edi, dword [eax + ecx*4]
push dword [edi]
call fcn.0052a2c5
pop ecx
cmp eax, ebx
pop ecx
jne 0x4bdcc9
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 1
call fcn.00491c3d
mov dword [eax + 0x74], ebx
mov esi, eax
mov dword [eax + 0xc], 1
jmp 0x4bdd44
push str.AUDIO
push dword [edi]
call fcn.0052a2c5
pop ecx
cmp eax, ebx
pop ecx
jne 0x4bdcf8
mov ecx, dword [ebp + 8]
push ebx
push ebx
push 2
call fcn.00491c3d
mov dword [eax + 0x90], ebx
mov esi, eax
mov dword [eax + 0xc], 2
jmp 0x4bdd44
push str.SUBTITLES
push dword [edi]
call fcn.0052a2c5
pop ecx
cmp eax, ebx
pop ecx
jne 0x4bdd1d
mov ecx, dword [ebp + 8]
call fcn.004b5e6c
mov esi, eax
mov dword [esi + 0xc], 3
jmp 0x4bdd44
push str.CLOSED_CAPTIONS
push dword [edi]
call fcn.0052a2c5
pop ecx
cmp eax, ebx
pop ecx
jne 0x4bddd8
mov ecx, dword [ebp + 8]
call fcn.004bde30
mov esi, eax
mov dword [esi + 0xc], 4
cmp esi, ebx
je 0x4bddd8
lea eax, [edi + 4]
lea ecx, [esi + 0x10]
push eax
call fcn.00546aaf
lea eax, [edi + 0xc]
lea ecx, [esi + 0x48]
push eax
call fcn.00546aaf
lea eax, [edi + 8]
lea ecx, [esi + 0x4c]
push eax
call fcn.00546aaf
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x94], eax
mov ecx, dword [edi + 0x20]
lea eax, [edi + 0x20]
cmp dword [ecx - 8], ebx
je 0x4bdd94
push eax
lea ecx, [ebp - 0x10]
call fcn.00546aaf
mov dword [esi + 8], 0xbc2
push 0x23
lea ecx, [ebp - 0x10]
call fcn.00546e47
cmp eax, 0xffffffff
je 0x4bddc9
push eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.00543913
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00546aaf
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00546968
lea eax, [ebp - 0x10]
lea ecx, [esi + 0x44]
push eax
call fcn.00546aaf
inc dword [ebp + 0xc]
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 0x2c]
jl 0x4bdc94
cmp dword [ebp + 0xc], ebx
pop edi
jle 0x4bddfc
push dword [ebp + 8]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x60]
push eax
call fcn.004bde81
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.00546968
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004ab111
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10