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

Disassembly:
mov eax, 0x1054
call fcn.00526b50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1068]
push edi
push 0x401
lea eax, [esp + 0x864]
push esi
push eax
call fcn.00527768
push esi
mov esi, dword [esp + 0x1078]
push esi
mov word [esp + 0x1074], 0
call fcn.004c3560
mov edi, eax
add esp, 0x14
test edi, edi
mov dword [esp + 0x4c], edi
je 0x4c2438
mov ebx, dword [esp + 0x1070]
push ebx
push 0
push edi
push esi
call fcn.004c40f0
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4c2243
push edi
call fcn.004c35b0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1054
ret
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x860]
push ecx
push str._s_VIDEO_TS_VIDEO_TS.IFO
push 0x400
push edx
stosw word es:[edi], ax
call fcn.0052877e
push str.VIDEO_TS.IFO
push ebx
push esi
call fcn.004c3630
mov ecx, dword [esi + 0x1428]
lea eax, [esp + 0x78]
push eax
push ecx
push esi
call fcn.004193b0
add esp, 0x28
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c2438
test byte [eax + 0xdd], 2
jne 0x4c2438
mov eax, dword [esp + 0x38]
xor edi, edi
xor ebp, ebp
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov di, word [eax]
mov bp, word [edx + 8]
mov dword [esp + 0x54], ebp
lea ebx, [edi*4]
push ebx
call fcn.004df770
push ebx
mov dword [esp + 0x20], eax
call fcn.004df770
lea ebx, [ebp*4]
mov dword [esp + 0x24], eax
push ebx
call fcn.004df770
push ebx
mov dword [esp + 0x3c], eax
call fcn.004df770
push 8
mov dword [esp + 0x34], eax
call fcn.004df770
lea ecx, [ebp + ebp*4 + 5]
mov ebx, eax
mov dword [esp + 0x24], ebx
lea edx, [ebp + ecx*2 + 1]
shl edx, 3
push edx
call fcn.004df770
add esp, 0x18
cmp edi, 1
mov dword [ebx + 4], eax
mov dword [ebx], ebp
jl 0x4c2352
xor eax, eax
test edi, edi
jle 0x4c2352
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub edx, ecx
mov ebp, dword [esp + 0x38]
inc eax
add ecx, 4
cmp eax, edi
mov ebp, dword [ebp + 4]
mov ebp, dword [ebp + 4]
mov ebp, dword [ebp + eax*4 - 4]
mov dword [edx + ecx - 4], ebp
mov dword [ecx - 4], eax
jl 0x4c2331
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edi
push eax
push ecx
call fcn.004c20a0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
push edi
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.004c2100
mov edi, dword [esp + 0x1090]
mov eax, dword [esp + 0x6c]
push edi
push 2
push 0
push eax
push esi
call fcn.004c33e0
mov ecx, dword [esp + 0x80]
push edi
push 0
push 0
push ecx
push esi
mov dword [esp + 0x7c], eax
call fcn.004c33e0
mov edi, eax
mov eax, dword [esp + 0x7c]
add esp, 0x48
mov dword [esp + 0x28], edi
test eax, eax
jne 0x4c23e9
push edi
call fcn.004c35e0
mov edx, dword [esp + 0x3c]
add esp, 4
shl eax, 1
mov ecx, dword [edx]
mov edx, dword [ecx]
inc edx
cmp edx, eax
jae 0x4c2445
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
jmp 0x4c242a
mov ecx, dword [esp + 0x38]
push edi
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
call fcn.004c35e0
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
call fcn.004c35e0
mov ecx, dword [esp + 0x44]
lea edx, [eax + edi*2]
add esp, 8
mov eax, dword [ecx]
inc eax
cmp eax, edx
jae 0x4c2485
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004c2170
push ebx
call fcn.004c21a0
add esp, 0x14
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1054
ret
mov edx, dword [esp + 0x38]
push edi
mov eax, dword [edx]
mov dword [esp + 0x40], eax
call fcn.004c35e0
mov ecx, dword [esp + 0x40]
add esp, 4
shl eax, 1
mov edx, dword [ecx]
inc edx
cmp edx, eax
jbe 0x4c247b
push edi
call fcn.004c35e0
mov ecx, dword [esp + 0x3c]
add esp, 4
mov edx, dword [ecx]
mov edi, dword [edx]
sub edi, eax
inc edi
jmp 0x4c2492
mov eax, dword [esp + 0x3c]
mov edi, dword [eax + 4]
inc edi
jmp 0x4c2492
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
inc eax
cmp eax, edi
jb 0x4c2492
mov edi, eax
mov edx, dword [ebx + 4]
mov ecx, edi
shl ecx, 0xb
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov dword [esp + 0x24], edi
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x28]
push eax
call fcn.004c35e0
mov ecx, dword [ebx + 4]
sub edi, eax
xor eax, eax
add esp, 4
mov dword [ecx + 0x1c], edi
mov edi, dword [esp + 0x34]
cmp edi, eax
je 0x4c25dd
mov edx, dword [esp + 0x28]
push edx
call fcn.004c35e0
mov edx, eax
push edi
mov dword [esp + 0x58], edx
call fcn.004c35e0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
mov ecx, edi
add esp, 8
add ecx, edx
lea eax, [eax + ecx - 1]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
cmp eax, dword [edx]
jae 0x4c2520
mov eax, dword [esp + 0x28]
push eax
call fcn.004c35e0
mov edx, dword [esp + 0x3c]
mov ecx, eax
add esp, 4
mov eax, dword [edx]
mov eax, dword [eax]
sub eax, edi
sub eax, ecx
jmp 0x4c253b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004c35e0
mov edx, eax
mov eax, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [eax]
mov eax, dword [ecx]
sub eax, edi
sub eax, edx
inc eax
mov ecx, 0x200
mov dword [esp + 0x14], eax
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x860]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push str._s_VIDEO_TS_VIDEO_TS.VOB
lea eax, [esp + 0x64]
push 0x400
push eax
call fcn.0052877e
mov ecx, dword [esp + 0x1080]
push str.VIDEO_TS.VOB
push ecx
push esi
call fcn.004c3630
mov eax, dword [esi + 0x1428]
lea edx, [esp + 0x78]
push edx
push eax
push esi
call fcn.004193b0
add esp, 0x28
test eax, eax
je 0x4c23d3
test byte [eax + 0xdd], 2
jne 0x4c23d3
mov ecx, dword [ebx + 4]
mov edi, dword [esp + 0x34]
mov edx, dword [eax + 0x20]
push edi
mov dword [ecx + 4], edx
call fcn.004c35e0
mov ecx, dword [esp + 0x18]
push edi
mov edx, ecx
sub edx, eax
mov eax, dword [ebx + 4]
shl ecx, 0xb
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 4]
mov dword [edx + 0x10], ecx
call fcn.0050aa20
add esp, 8
jmp 0x4c25f3
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebx + 4]
mov dword [edx + 4], eax
mov ecx, dword [ebx + 4]
mov dword [ecx + 0x20], eax
cmp ebp, 1
jl 0x4c260c
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ebp, dword [edx]
sub ebp, ecx
sub ebp, eax
jmp 0x4c2621
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x24]
sub ebp, edx
sub ebp, ecx
inc ebp
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x860]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
push str._s_VIDEO_TS_VIDEO_TS.IFO
lea eax, [esp + 0x64]
push 0x400
push eax
call fcn.0052877e
mov ecx, dword [esp + 0x1080]
push str.VIDEO_TS.IFO
push ecx
push esi
call fcn.004c3630
mov eax, dword [esi + 0x1428]
lea edx, [esp + 0x78]
push edx
push eax
push esi
call fcn.004193b0
add esp, 0x28
test eax, eax
je 0x4c2416
test byte [eax + 0xdd], 2
jne 0x4c2416
mov ecx, dword [ebx + 4]
mov edx, dword [eax + 0x20]
mov edi, dword [esp + 0x28]
mov eax, ebp
mov dword [ecx + 8], edx
mov ecx, dword [ebx + 4]
shl eax, 0xb
push edi
mov dword [ecx + 0x18], eax
call fcn.004c35e0
mov edx, dword [ebx + 4]
sub ebp, eax
push edi
mov dword [edx + 0x28], ebp
mov eax, dword [ebx + 4]
xor ebp, ebp
mov dword [eax + 0x2c], ebp
mov ecx, dword [ebx + 4]
mov dword [ecx + 0x30], ebp
mov edx, dword [ebx + 4]
mov dword [edx + 0x24], ebp
call fcn.0050aa20
mov eax, dword [esp + 0x5c]
add esp, 8
cmp eax, 1
jl 0x4c2e56
cmp eax, ebp
jle 0x4c2e56
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ebp
mov ebx, 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], 0x22
mov ebp, dword [esp + 0x1070]
mov ecx, dword [esp + 0x4c]
push ebp
push ebx
push ecx
push esi
call fcn.004c40f0
add esp, 0x10
mov dword [esp + 0x30], eax
test eax, eax
je 0x4c2e93
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
push ebx
rep stosd dword es:[edi], eax
push str.VTS__02i_0.IFO
lea edx, [esp + 0x64]
push 0x400
push edx
stosw word es:[edi], ax
call fcn.0052877e
lea eax, [esp + 0x6c]
push eax
push ebp
push esi
call fcn.004c3630
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x78]
push ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x880]
lea edx, [esp + 0x7c]
push ecx
push str._s_VIDEO_TS_VTS__02i_0.IFO
push 0x400
push edx
stosw word es:[edi], ax
call fcn.0052877e
mov ecx, dword [esi + 0x1428]
lea eax, [esp + 0x8c]
push eax
push ecx
push esi
call fcn.004193b0
add esp, 0x3c
mov dword [esp + 0x14], eax
test eax, eax
je 0x4c2eb6
mov edx, eax
test byte [edx + 0xdd], 2
jne 0x4c2eb6
mov edi, dword [esp + 0x4c]
push ebp
push 2
push ebx
push edi
push esi
call fcn.004c33e0
push ebp
push 3
push ebx
push edi
push esi
mov dword [esp + 0x68], eax
call fcn.004c33e0
push ebp
push 0
push ebx
push edi
push esi
mov dword [esp + 0x80], eax
call fcn.004c33e0
mov ebp, eax
mov eax, dword [esp + 0x6c]
push ebp
mov dword [esp + 0x74], ebp
mov edi, dword [eax + 8]
call fcn.004c35e0
mov ecx, dword [edi]
add esp, 0x40
shl eax, 1
inc ecx
cmp ecx, eax
jb 0x4c2eb6
mov eax, dword [esp + 0x44]
test eax, eax
mov eax, dword [esp + 0x40]
je 0x4c28c5
test eax, eax
je 0x4c284d
mov edx, dword [esp + 0x30]
push ebp
mov edi, dword [edx + 8]
call fcn.004c35e0
mov ebp, eax
mov eax, dword [esp + 0x48]
push eax
call fcn.004c35e0
mov ecx, dword [esp + 0x48]
lea ebp, [eax + ebp*2]
push ecx
call fcn.004c35e0
mov edx, dword [edi]
add esp, 0xc
add ebp, eax
inc edx
cmp edx, ebp
jb 0x4c2ed9
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4c28c9
mov eax, dword [esp + 0x30]
push ebp
mov edi, dword [eax + 8]
call fcn.004c35e0
mov ecx, dword [esp + 0x48]
mov ebp, eax
push ecx
call fcn.004c35e0
lea edx, [eax + ebp*2]
mov eax, dword [edi]
add esp, 8
inc eax
cmp eax, edx
jb 0x4c2e93
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4c2924
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4c2901
push ebp
call fcn.004c35e0
mov edx, dword [esp + 0x34]
add esp, 4
shl eax, 1
mov ecx, dword [edx + 8]
push ebp
mov edx, dword [ecx]
inc edx
cmp edx, eax
call fcn.004c35e0
mov ecx, dword [esp + 0x34]
add esp, 4
mov edx, dword [ecx + 8]
mov edi, dword [edx]
sub edi, eax
inc edi
jmp 0x4c2931
test eax, eax
je 0x4c2883
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x4c2924
mov ecx, dword [esp + 0x30]
push ebp
mov edi, dword [ecx + 8]
call fcn.004c35e0
mov edx, dword [esp + 0x44]
mov ebp, eax
push edx
call fcn.004c35e0
mov ecx, dword [edi]
add esp, 8
lea eax, [eax + ebp*2]
inc ecx
cmp ecx, eax
jb 0x4c2eb6
mov ebp, dword [esp + 0x34]
jmp 0x4c288f
mov eax, dword [edi + 4]
mov ecx, dword [edi + 0xc]
inc eax
cmp eax, ecx
jae 0x4c2918
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 8]
mov edi, dword [edx + 0xc]
jmp 0x4c2931
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
mov edi, dword [ecx + 0xc]
jmp 0x4c2931
mov eax, dword [edi + 4]
mov edi, dword [edi + 8]
inc eax
cmp eax, edi
jb 0x4c2931
mov edi, eax
mov eax, dword [esp + 0x10]
mov edx, edi
shl edx, 0xb
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
push ebp
mov dword [esp + 0x28], edi
mov dword [ecx + eax + 0x64], edx
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x18]
mov edx, dword [edx + 0x20]
mov dword [ecx + eax + 0x58], edx
call fcn.004c35e0
mov edx, dword [esp + 0x2c]
sub edi, eax
mov eax, dword [esp + 0x14]
add esp, 4
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x40]
test eax, eax
mov dword [ecx + edx + 0x74], edi
je 0x4c2b06
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
test edx, edx
jne 0x4c29af
mov edx, dword [esp + 0x40]
xor ebp, ebp
push edx
mov dword [esp + 0x18], ebp
call fcn.004c35e0
add esp, 4
test eax, eax
jne 0x4c2438
jmp 0x4c2a3a
mov ecx, dword [esp + 0x44]
mov edi, dword [eax + 8]
test ecx, ecx
je 0x4c29d9
mov eax, dword [edi + 8]
mov ebp, dword [edi + 0xc]
mov dword [esp + 0x48], eax
sub ebp, eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004c35e0
add esp, 4
cmp ebp, eax
jbe 0x4c2a2d
jmp 0x4c2a36
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + 8]
push edx
mov dword [esp + 0x4c], ecx
call fcn.004c35e0
mov edx, eax
push ebp
mov dword [esp + 0x44], edx
call fcn.004c35e0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x44]
add ecx, edx
add esp, 8
lea eax, [eax + ecx - 1]
mov ecx, dword [edi]
cmp eax, ecx
jae 0x4c2a2d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push edx
mov edi, dword [ecx + 8]
call fcn.004c35e0
mov ebp, dword [edi]
mov edx, dword [edi + 8]
sub ebp, edx
add esp, 4
sub ebp, eax
inc ebp
jmp 0x4c2a36
mov ebp, dword [edi + 0xc]
mov eax, dword [esp + 0x48]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.VTS__02i_0.VOB
lea eax, [esp + 0x64]
push 0x400
push eax
call fcn.0052877e
mov edx, dword [esp + 0x1080]
lea ecx, [esp + 0x6c]
push ecx
push edx
push esi
call fcn.004c3630
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x78]
push ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x880]
lea ecx, [esp + 0x7c]
push eax
push str._s_VIDEO_TS_VTS__02i_0.VOB
push 0x400
push ecx
call fcn.0052877e
mov eax, dword [esi + 0x1428]
lea edx, [esp + 0x8c]
push edx
push eax
push esi
call fcn.004193b0
add esp, 0x3c
test eax, eax
je 0x4c2ed9
test byte [eax + 0xdd], 2
jne 0x4c2ed9
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov eax, dword [eax + 0x20]
mov edx, dword [ecx + 4]
mov dword [edx + edi + 0x5c], eax
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x40]
mov edx, ebp
shl edx, 0xb
push ecx
mov dword [eax + edi + 0x68], edx
call fcn.004c35e0
mov edx, ebp
add esp, 4
sub edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ecx + edi + 0x78], edx
jmp 0x4c2b2f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
xor ebp, ebp
mov edi, eax
mov edx, dword [ecx + 4]
mov dword [esp + 0x14], ebp
mov dword [edx + eax + 0x68], ebp
mov edx, dword [ecx + 4]
mov dword [edx + eax + 0x5c], ebp
mov ecx, dword [ecx + 4]
mov dword [ecx + eax + 0x78], ebp
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
xor ecx, ecx
cmp edx, ecx
je 0x4c2ca6
mov edx, dword [esp + 0x34]
push edx
call fcn.004c35e0
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
add eax, ebp
add esp, 4
mov edx, dword [ecx + 8]
lea eax, [eax + edi - 1]
cmp eax, dword [edx]
jae 0x4c2b7f
mov eax, dword [esp + 0x34]
push eax
call fcn.004c35e0
mov edx, dword [esp + 0x34]
mov ecx, eax
add esp, 4
mov eax, dword [edx + 8]
mov eax, dword [eax]
sub eax, ebp
sub eax, edi
sub eax, ecx
jmp 0x4c2b9d
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004c35e0
mov edx, eax
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
sub eax, ebp
sub eax, edi
sub eax, edx
inc eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x48]
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea ebp, [edx + 1]
push ebp
push ebx
stosw word es:[edi], ax
push str.VTS__02i__i.VOB
lea eax, [esp + 0x68]
push 0x400
push eax
call fcn.0052877e
mov edx, dword [esp + 0x1084]
lea ecx, [esp + 0x70]
push ecx
push edx
push esi
call fcn.004c3630
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x7c]
push ebp
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x884]
push ebx
push eax
push str._s_VIDEO_TS_VTS__02i__i.VOB
lea ecx, [esp + 0x8c]
push 0x400
push ecx
call fcn.0052877e
mov eax, dword [esi + 0x1428]
lea edx, [esp + 0x94]
push edx
push eax
push esi
call fcn.004193b0
add esp, 0x44
test eax, eax
je 0x4c2c64
test byte [eax + 0xdd], 2
jne 0x4c2c64
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x48]
mov edi, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
add ecx, edx
cmp ebp, 9
mov edx, dword [edi + 4]
mov dword [esp + 0x48], ebp
mov dword [edx + ecx*4], eax
jl 0x4c2baa
jmp 0x4c2c6c
mov edi, dword [esp + 0x10]
mov ebp, dword [esp + 0x48]
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x28]
mov dword [ecx + eax + 0x84], ebp
mov ebp, dword [esp + 0x3c]
mov ecx, dword [edi + 4]
mov edx, ebp
shl edx, 0xb
mov dword [ecx + eax + 0x6c], edx
mov edx, dword [esp + 0x44]
push edx
call fcn.004c35e0
mov ecx, dword [esp + 0x2c]
add esp, 4
sub ebp, eax
mov eax, dword [edi + 4]
mov dword [eax + ecx + 0x7c], ebp
jmp 0x4c2ccc
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [edx + edi + 0x84], ecx
mov edx, dword [eax + 4]
mov dword [edx + edi + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [edx + edi + 0x6c], ecx
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x7c], ecx
mov edx, dword [esp + 0x54]
lea ecx, [ebx - 1]
dec edx
cmp edx, ecx
jle 0x4c2cf7
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov ebp, dword [eax + 4]
mov edi, dword [eax]
mov eax, dword [esp + 0x24]
sub ebp, edi
sub ebp, edx
sub ebp, ecx
sub ebp, eax
jmp 0x4c2d13
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x24]
sub ebp, edi
sub ebp, edx
sub ebp, ecx
inc ebp
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x5c]
push ebx
rep stosd dword es:[edi], eax
push str.VTS__02i_0.IFO
lea edx, [esp + 0x64]
push 0x400
push edx
stosw word es:[edi], ax
call fcn.0052877e
mov ecx, dword [esp + 0x1080]
lea eax, [esp + 0x6c]
push eax
push ecx
push esi
call fcn.004c3630
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x78]
lea edx, [esp + 0x87c]
rep stosd dword es:[edi], eax
push ebx
push edx
stosw word es:[edi], ax
push str._s_VIDEO_TS_VTS__02i_0.IFO
lea eax, [esp + 0x84]
push 0x400
push eax
call fcn.0052877e
mov edx, dword [esi + 0x1428]
lea ecx, [esp + 0x8c]
push ecx
push edx
push esi
call fcn.004193b0
add esp, 0x3c
test eax, eax
je 0x4c2e93
test byte [eax + 0xdd], 2
jne 0x4c2e93
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x28]
mov ecx, ebp
mov edx, dword [edx + 4]
shl ecx, 0xb
mov dword [edx + edi + 0x70], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [ecx + 4]
mov ecx, dword [esp + 0x34]
push ecx
mov dword [edx + edi + 0x60], eax
call fcn.004c35e0
mov edx, dword [esp + 0x14]
sub ebp, eax
add esp, 4
mov eax, dword [edx + 4]
mov dword [eax + edi + 0x80], ebp
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c2df6
push eax
call fcn.0050aa20
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c2e07
push eax
call fcn.0050aa20
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4c2e18
push eax
call fcn.0050aa20
add esp, 4
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004c4380
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x58]
add esp, 4
add ebp, 0x16
add edx, 4
inc ebx
mov dword [esp + 0x50], edx
add edi, 0x58
mov dword [esp + 0x58], ebp
lea edx, [ebx - 1]
mov dword [esp + 0x28], edi
cmp edx, eax
jl 0x4c26fa
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004c2170
mov edx, dword [esp + 0x48]
push edx
call fcn.004c4380
mov eax, dword [esp + 0x60]
push eax
call fcn.004c35b0
add esp, 0x18
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1054
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push eax
call fcn.004c2170
mov ecx, dword [esp + 0x20]
push ecx
jmp 0x4c2430
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call fcn.004c2170
mov eax, dword [esp + 0x20]
push eax
jmp 0x4c2430
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.004c2170
mov edx, dword [esp + 0x20]
push edx
jmp 0x4c2430