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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x324
mov eax, dword [0x5eef00]
xor eax, esp
mov dword [esp + 0x320], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push 0xff
mov dword [esp + 0x40], eax
xor eax, eax
lea ecx, [esp + 0x22d]
push edi
push ecx
mov dword [esp + 0x1c], esi
mov byte [esp + 0xf8], 0
mov dword [esp + 0xf9], eax
mov dword [esp + 0xfd], eax
mov dword [esp + 0x101], eax
mov dword [esp + 0x105], eax
mov word [esp + 0x109], ax
mov byte [esp + 0x10b], al
mov byte [esp + 0x10c], al
mov dword [esp + 0x10d], eax
mov dword [esp + 0x111], eax
mov dword [esp + 0x115], eax
mov dword [esp + 0x119], eax
mov dword [esp + 0x11d], eax
mov dword [esp + 0x121], eax
mov dword [esp + 0x125], eax
mov word [esp + 0x129], ax
mov byte [esp + 0x12b], al
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov byte [esp + 0x234], al
call fcn.004b3a80
add esp, 0xc
cmp esi, edi
je 0x4496a9
push esi
push str.adding__s
push edi
push str.db_add_video_file
push pe_nt_image_headers32
push 1
call fcn.0048d750
lea edx, [esp + 0x68]
push edx
push esi
call fcn.00478880
add esp, 0x20
test eax, eax
jne 0x4496a9
mov eax, dword [esp + 0x68]
or eax, dword [esp + 0x6c]
je 0x4496a9
push 0x6c
lea ecx, [esp + 0x7c]
push edi
push ecx
call fcn.004b3a80
mov eax, dword [0x60a1c4]
add esp, 0xc
cmp eax, edi
mov dword [esp + 0x78], edi
je 0x448b51
call eax
cmp eax, 1
jne 0x448b51
mov eax, dword [0x60a1e4]
cmp eax, edi
je 0x448b51
push esi
call eax
add esp, 4
cmp eax, 1
mov dword [esp + 0x2c], 1
je 0x448b55
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x58]
push edx
push 0x22
xor edi, edi
call fcn.0042fd20
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
push ecx
push edx
push 0x3d
mov esi, eax
call fcn.0042fd80
add esp, 0x14
cmp dword [esp + 0x3c], edi
mov ebx, eax
je 0x448b87
mov eax, dword [esp + 0x3c]
jmp 0x448b94
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0048f0d0
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4495cc
mov esi, eax
push 0x5e0d90
push esi
call fcn.004c633d
add esp, 8
test eax, eax
je 0x448bca
push str.divx
push esi
call fcn.004c633d
add esp, 8
test eax, eax
jne 0x448d9b
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x2c]
push edx
xor edi, edi
push eax
lea ecx, [esp + 0x28]
lea edx, [esp + 0x44]
mov dword [esp + 0x28], edi
mov dword [esp + 0x54], edi
call fcn.004475a0
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x44961b
mov ecx, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
je 0x44961b
mov edi, dword [esp + 0x14]
test edi, edi
je 0x448ca7
test ebx, ebx
mov esi, ebx
jne 0x448c45
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x448c3f
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x448ca5
cmp byte [edi], 0
push edi
jne 0x448c55
call fcn.00477540
add esp, 4
jmp 0x448ca5
call fcn.00476620
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x430], ebx
je 0x448c85
mov eax, dword [esi + 0x430]
cmp eax, ebx
je 0x448c85
cmp dword [esi + 0x34], ebx
jne 0x448c7f
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x430], ebx
mov eax, 0xc
cmp word [esi], ax
mov dword [esi + 0x430], edi
mov dword [esi + 0x34], ebx
jle 0x448c9b
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x448ca5
mov word [esi + 2], ax
mov ebx, esi
mov edi, dword [esp + 0x40]
test edi, edi
je 0x448d9b
test ebx, ebx
mov esi, ebx
jne 0x448cde
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x448cd1
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x448ce0
xor esi, esi
jmp 0x448d99
xor ebx, ebx
cmp byte [edi], 0
jne 0x448cf3
push edi
call fcn.00477540
add esp, 4
jmp 0x448d99
push 0x4c
push esi
call fcn.0042f0b0
push eax
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x448d44
mov ecx, edi
jmp 0x448d10
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x448d30
test dl, dl
je 0x448d2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x448d30
add eax, 2
add ecx, 2
test dl, dl
jne 0x448d10
xor eax, eax
jmp 0x448d35
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x448d44
push edi
call fcn.00477540
add esp, 4
jmp 0x448d99
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x448d76
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x448d76
cmp dword [esi + 0x154], ebx
jne 0x448d70
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x448d8f
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x448d99
mov word [esi + 2], ax
mov ebx, esi
mov edx, dword [esp + 0x18]
push edx
push 0
call fcn.0047d0e0
add esp, 8
test eax, eax
jne 0x448db3
mov eax, 0x5cd6b3
mov edi, str.video_mpeg
mov esi, eax
mov ecx, 0xb
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x448ded
mov edi, str.video_vnd.dlna.mpeg_tts
mov esi, eax
mov ecx, 0x18
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x448ded
mov esi, eax
mov edi, str.video_mpeg2
mov ecx, 0xc
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x44933c
mov ecx, dword [esp + 0x20]
or ecx, dword [esp + 0x24]
jne 0x44933c
mov esi, dword [esp + 0x10]
push esi
push str.calling_mpeg_scanner__s
push ecx
push str.db_add_video_file
push pe_nt_image_headers32
push 1
call fcn.0048d750
lea edx, [esp + 0x90]
push edx
lea edi, [esp + 0x3c]
mov eax, esi
call fcn.004420e0
add esp, 0x1c
cmp dword [esp + 0x78], 0
jne 0x448e59
push ebx
call fcn.0042ea90
add esp, 4
mov edi, esi
call fcn.00438340
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xe0]
push eax
push 0xd7
mov edi, ebx
call fcn.0042fd20
mov ecx, dword [esp + 0xe4]
push ecx
push 0xd6
mov edi, eax
call fcn.0042fd20
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x40], edx
push ecx
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x4c], eax
call fcn.00442540
add esp, 0x18
test eax, eax
mov dword [esp + 0x1c], eax
je 0x448f5e
push eax
call fcn.004774f0
mov ebx, eax
add esp, 4
test ebx, ebx
mov esi, edi
jne 0x448ed4
jmp 0x448f56
test edi, edi
jne 0x448ef6
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x448ef0
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x448f56
cmp byte [ebx], 0
push ebx
jne 0x448f06
call fcn.00477540
add esp, 4
jmp 0x448f56
call fcn.00476620
xor edi, edi
add esp, 4
cmp dword [esi + 0x430], edi
je 0x448f36
mov eax, dword [esi + 0x430]
cmp eax, edi
je 0x448f36
cmp dword [esi + 0x34], edi
jne 0x448f30
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x430], edi
mov eax, 0xc
cmp word [esi], ax
mov dword [esi + 0x430], ebx
mov dword [esi + 0x34], edi
jle 0x448f4c
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x448f56
mov word [esi + 2], ax
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
mov eax, esi
call fcn.00448050
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xb8]
add esp, 0xc
xor edx, edx
cmp dword [esp + 0xa4], edx
push esi
push str.mpeg_scanner_done_with__s
sete dl
push 0
push str.db_add_video_file
push pe_nt_image_headers32
push 1
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
call fcn.0048d750
mov edi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0x244]
mov edx, edi
call fcn.00405080
add esp, 0x1c
cmp byte [esp + 0x228], 0
je 0x4490a4
lea eax, [esp + 0x228]
push eax
call fcn.004774f0
mov esi, dword [esp + 0x18]
mov edi, eax
xor ebx, ebx
add esp, 4
cmp edi, ebx
je 0x449098
cmp esi, ebx
jne 0x44902a
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x449016
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x44902a
mov edi, dword [esp + 0x1c]
xor esi, esi
mov ebx, esi
mov esi, dword [esp + 0x10]
jmp 0x4490a8
cmp byte [edi], 0
push edi
jne 0x449044
call fcn.00477540
mov edi, dword [esp + 0x20]
mov ebx, esi
mov esi, dword [esp + 0x14]
add esp, 4
jmp 0x4490a8
call fcn.00476620
add esp, 4
cmp dword [esi + 0x750], ebx
je 0x449075
mov eax, dword [esi + 0x750]
cmp eax, ebx
je 0x449075
cmp dword [esi + 0x354], ebx
jne 0x44906f
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x750], ebx
mov eax, 0xd4
cmp word [esi], ax
mov dword [esi + 0x750], edi
mov dword [esi + 0x354], ebx
jle 0x44908e
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449098
mov word [esi + 2], ax
mov edi, dword [esp + 0x1c]
mov ebx, esi
mov esi, dword [esp + 0x10]
jmp 0x4490a8
mov ebx, dword [esp + 0x14]
test edi, edi
jne 0x4490df
cmp dword [esp + 0x38], edi
jne 0x449112
mov ecx, dword [esp + 0x18]
push 0x5e0428
push ecx
call fcn.004c633d
add esp, 8
test eax, eax
jne 0x449112
push str.MPEG_TS_SD_EU_ISO
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x1c], edi
je 0x449112
push str.MPEG_PS_NTSC
push edi
call fcn.004b3110
add esp, 8
test eax, eax
je 0x449103
push str.MPEG_PS_PAL
push edi
call fcn.004b3110
add esp, 8
test eax, eax
jne 0x449112
push 0x50
push esi
mov ecx, ebx
call fcn.00447130
add esp, 8
mov ebx, eax
lea esi, [esp + 0x2c]
lea eax, [esp + 0x78]
mov dword [esp + 0x2c], 0
call fcn.00444cc0
mov edi, dword [esp + 0x2c]
test edi, edi
mov esi, ebx
jne 0x449136
jmp 0x449219
test ebx, ebx
jne 0x44915c
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x449152
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x449219
cmp byte [edi], 0
jne 0x44916f
push edi
call fcn.00477540
add esp, 4
jmp 0x449219
push 0x4c
push esi
call fcn.0042f0b0
push eax
xor ebx, ebx
push ebx
call fcn.0047d0e0
add esp, 0x10
cmp eax, ebx
je 0x4491c4
mov ecx, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4491b0
test dl, dl
je 0x4491ac
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4491b0
add eax, 2
add ecx, 2
test dl, dl
jne 0x449190
xor eax, eax
jmp 0x4491b5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4491c4
push edi
call fcn.00477540
add esp, 4
jmp 0x449219
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x550], ebx
je 0x4491f6
mov eax, dword [esi + 0x550]
cmp eax, ebx
je 0x4491f6
cmp dword [esi + 0x154], ebx
jne 0x4491f0
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x550], ebx
mov eax, 0x54
cmp word [esi], ax
mov dword [esi + 0x550], edi
mov dword [esi + 0x154], ebx
jle 0x44920f
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449219
mov word [esi + 2], ax
mov eax, dword [esp + 0x88]
xor edi, edi
cmp eax, edi
mov ebx, esi
je 0x4495cc
mov edx, dword [esp + 0xcc]
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x7c]
push ecx
push eax
push edx
push str._d__d__d__d
lea eax, [esp + 0x114]
push 0x20
push eax
call fcn.004776e0
lea ecx, [esp + 0x11c]
add esp, 0x1c
push ecx
call fcn.004774f0
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x4492fd
cmp esi, edi
jne 0x449299
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x44928f
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x449299
xor esi, esi
jmp 0x4492fd
cmp byte [ebx], 0
push ebx
jne 0x4492a9
call fcn.00477540
add esp, 4
jmp 0x4492fd
call fcn.00476620
add esp, 4
cmp dword [esi + 0x548], edi
je 0x4492da
mov eax, dword [esi + 0x548]
cmp eax, edi
je 0x4492da
cmp dword [esi + 0x14c], edi
jne 0x4492d4
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x548], edi
mov eax, 0x52
cmp word [esi], ax
mov dword [esi + 0x548], ebx
mov dword [esi + 0x14c], edi
jle 0x4492f3
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x4492fd
mov word [esi + 2], ax
push 3
push 0x53
mov edi, esi
call fcn.0042fd20
mov edi, dword [esp + 0x18]
push edi
push str.calling_timeseek_scanner_for__s
push 0
push str.db_add_video_file
push pe_nt_image_headers32
push 1
mov ebx, eax
call fcn.0048d750
push 0xc
push ebx
call fcn.0042f0b0
add esp, 0x28
call fcn.0040f3a0
jmp 0x4495cc
mov esi, dword [esp + 0x18]
push str.spts
push esi
call fcn.004c633d
add esp, 8
test eax, eax
jne 0x449367
mov dword [esp + 0x30], 0x2d0
mov dword [esp + 0x34], 0x240
jmp 0x4495cc
push str.dvr_ms
push esi
call fcn.004c633d
add esp, 8
test eax, eax
je 0x44938f
push 0x5e0d64
push esi
call fcn.004c633d
add esp, 8
test eax, eax
jne 0x4495cc
mov edx, dword [esp + 0x10]
push 0x5c
push edx
call fcn.004b34a0
add esp, 8
test eax, eax
je 0x4495cc
add eax, 1
push eax
push 0x5cd6b0
lea eax, [esp + 0x128]
push 0x104
push eax
call fcn.004776e0
lea ecx, [esp + 0x130]
push 0x2e
push ecx
call fcn.004b34a0
add esp, 0x18
test eax, eax
je 0x4493f2
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
add ecx, 1
test dl, dl
jne 0x4493e0
sub ecx, esi
cmp ecx, 7
jae 0x4493f2
mov byte [eax], dl
lea eax, [esp + 0x120]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x449400
sub eax, edx
cmp eax, 0x14
jbe 0x44960f
lea eax, [esp + 0x120]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x449420
sub eax, edx
cmp byte [esp + eax + 0x10c], 0x5f
lea eax, [esp + eax + 0x10c]
jne 0x4495cc
cmp byte [eax + 5], 0x5f
jne 0x4495cc
cmp byte [eax + 8], 0x5f
jne 0x4495cc
cmp byte [eax + 0xb], 0x5f
jne 0x4495cc
cmp byte [eax + 0xe], 0x5f
jne 0x4495cc
cmp byte [eax + 0x11], 0x5f
jne 0x4495cc
movzx edx, byte [eax + 1]
mov byte [esp + 0xec], dl
movzx ecx, byte [eax + 2]
mov byte [esp + 0xed], cl
movzx edx, byte [eax + 3]
mov byte [esp + 0xee], dl
movzx ecx, byte [eax + 4]
mov byte [esp + 0xef], cl
mov cl, 0x2d
mov byte [esp + 0xf0], cl
movzx edx, byte [eax + 6]
mov byte [esp + 0xf1], dl
movzx edx, byte [eax + 7]
mov byte [esp + 0xf2], dl
mov byte [esp + 0xf3], cl
movzx ecx, byte [eax + 9]
mov byte [esp + 0xf4], cl
movzx edx, byte [eax + 0xa]
mov byte [esp + 0xf5], dl
mov byte [eax], 0
lea eax, [esp + 0x120]
push 0x5f
push eax
call fcn.004b41d0
lea ecx, [esp + 0x128]
push 0x5f
push ecx
mov esi, eax
call fcn.004b34a0
add esp, 0x10
test esi, esi
je 0x4495b8
test eax, eax
je 0x4495b8
cmp esi, eax
jne 0x4495b8
mov byte [esi], 0
add esi, 1
push esi
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
mov esi, ebx
jne 0x449534
jmp 0x4495b6
test ebx, ebx
jne 0x449556
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x449550
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x4495b6
cmp byte [edi], 0
push edi
jne 0x449566
call fcn.00477540
add esp, 4
jmp 0x4495b6
call fcn.00476620
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x468], ebx
je 0x449596
mov eax, dword [esi + 0x468]
cmp eax, ebx
je 0x449596
cmp dword [esi + 0x6c], ebx
jne 0x449590
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x468], ebx
mov eax, 0x1a
cmp word [esi], ax
mov dword [esi + 0x468], edi
mov dword [esi + 0x6c], ebx
jle 0x4495ac
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x4495b6
mov word [esi + 2], ax
mov ebx, esi
lea edx, [esp + 0x120]
push edx
call fcn.004774f0
add esp, 4
mov dword [esp + 0x28], eax
mov edi, dword [esp + 0x28]
push edi
call fcn.004766f0
add esp, 4
test edi, edi
je 0x4495eb
cmp byte [edi], 0
jne 0x4495fe
push edi
call fcn.00477540
add esp, 4
mov edx, dword [esp + 0x10]
push edx
call fcn.0048fc20
mov edi, eax
add esp, 4
mov dword [esp + 0x28], edi
test edi, edi
mov esi, ebx
jne 0x4496c0
mov edi, ebx
jmp 0x44974f
mov eax, dword [esp + 0x10]
push eax
call fcn.0048fc20
jmp 0x4495c5
push ebx
call fcn.0042ea90
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, edi
je 0x449635
push eax
call fcn.00477540
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, edi
je 0x449646
push eax
call fcn.00477540
add esp, 4
cmp esi, edi
jne 0x44968a
cmp dword [esp + 0x3c], edi
jne 0x44968a
mov edi, dword [esp + 0x10]
push edi
push str._s:_file_is_invalid_or_not_avi_file
push 0
push str.db_add_video_file
push pe_nt_image_headers32
push 4
call fcn.0048d750
add esp, 0x18
call fcn.00438340
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
push ecx
push str._s:_file_has_duration_0__skipping
push edi
push str.db_add_video_file
push pe_nt_image_headers32
push 4
call fcn.0048d750
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x320]
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret
test ebx, ebx
jne 0x4496e8
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x4496dc
mov word [eax], 0xff
test eax, eax
mov esi, eax
jne 0x4496e8
xor ebx, ebx
xor edi, edi
jmp 0x449751
cmp byte [edi], 0
jne 0x4496fc
mov eax, dword [esp + 0x28]
push eax
call fcn.00477540
add esp, 4
jmp 0x44974d
push edi
call fcn.00476620
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x450], ebx
je 0x44972d
mov eax, dword [esi + 0x450]
cmp eax, ebx
je 0x44972d
cmp dword [esi + 0x54], ebx
jne 0x449727
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x450], ebx
mov eax, 0x14
cmp word [esi], ax
mov dword [esi + 0x450], edi
mov dword [esi + 0x54], ebx
jle 0x449743
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x44974d
mov word [esi + 2], ax
mov edi, esi
xor ebx, ebx
lea esi, [esp + 0xec]
call fcn.00448820
test eax, eax
jne 0x44977c
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push ecx
push edx
mov esi, edi
call fcn.0042fe30
add esp, 8
mov esi, eax
jmp 0x449847
lea eax, [esp + 0xec]
push eax
call fcn.004774f0
mov ebx, eax
add esp, 4
test ebx, ebx
mov esi, edi
jne 0x449799
jmp 0x449845
test edi, edi
jne 0x4497bf
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x4497b5
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x449845
cmp byte [ebx], 0
jne 0x4497cf
push ebx
call fcn.00477540
add esp, 4
jmp 0x449845
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4497d4
sub eax, edx
cmp eax, 0xa
push ebx
jae 0x4497ef
call fcn.00477540
add esp, 4
jmp 0x449845
call fcn.00476620
xor edi, edi
add esp, 4
cmp dword [esi + 0x484], edi
je 0x449822
mov eax, dword [esi + 0x484]
cmp eax, edi
je 0x449822
cmp dword [esi + 0x88], edi
jne 0x44981c
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x484], edi
mov eax, 0x21
cmp word [esi], ax
mov dword [esi + 0x484], ebx
mov dword [esi + 0x88], edi
jle 0x44983b
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449845
mov word [esi + 2], ax
xor ebx, ebx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jle 0x4498fd
mov eax, dword [esp + 0x34]
cmp eax, ebx
jle 0x4498fd
push eax
push ecx
call fcn.0048fba0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4498fd
cmp esi, ebx
jne 0x449899
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x44988f
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x449899
xor esi, esi
jmp 0x4498fd
cmp byte [edi], 0
push edi
jne 0x4498a9
call fcn.00477540
add esp, 4
jmp 0x4498fd
call fcn.00476620
add esp, 4
cmp dword [esi + 0x50c], ebx
je 0x4498da
mov eax, dword [esi + 0x50c]
cmp eax, ebx
je 0x4498da
cmp dword [esi + 0x110], ebx
jne 0x4498d4
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x50c], ebx
mov eax, 0x43
cmp word [esi], ax
mov dword [esi + 0x50c], edi
mov dword [esi + 0x110], ebx
jle 0x4498f3
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x4498fd
mov word [esi + 2], ax
mov eax, dword [esp + 0x24]
cmp eax, ebx
ja 0x44990f
cmp dword [esp + 0x20], ebx
jbe 0x4499b1
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.00474ef0
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x4499b1
cmp esi, ebx
jne 0x44994d
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x449943
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x44994d
xor esi, esi
jmp 0x4499b1
cmp byte [edi], 0
push edi
jne 0x44995d
call fcn.00477540
add esp, 4
jmp 0x4499b1
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f8], ebx
je 0x44998e
mov eax, dword [esi + 0x4f8]
cmp eax, ebx
je 0x44998e
cmp dword [esi + 0xfc], ebx
jne 0x449988
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f8], ebx
mov eax, 0x3e
cmp word [esi], ax
mov dword [esi + 0x4f8], edi
mov dword [esi + 0xfc], ebx
jle 0x4499a7
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x4499b1
mov word [esi + 2], ax
cmp esi, ebx
jne 0x4499d7
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x4499cd
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x4499d7
xor esi, esi
jmp 0x449a3b
cmp byte [str.object.item.videoItem.movie], 0
je 0x449a3b
push str.object.item.videoItem.movie
call fcn.00476620
add esp, 4
cmp dword [esi + 0x40c], ebx
je 0x449a13
mov eax, dword [esi + 0x40c]
cmp eax, ebx
je 0x449a13
cmp dword [esi + 0x10], ebx
jne 0x449a0d
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x40c], ebx
mov eax, 3
cmp word [esi], ax
mov dword [esi + 0x40c], 0x5df8d8
mov dword [esi + 0x10], 1
jle 0x449a31
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449a3b
mov word [esi + 2], ax
mov edx, dword [esp + 0x10]
push edx
call fcn.004774f0
mov edi, eax
add esp, 4
test edi, edi
mov ebx, 0x3c
je 0x449ae2
test esi, esi
jne 0x449a79
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x449a73
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x449ae2
cmp byte [edi], 0
push edi
jne 0x449a89
call fcn.00477540
add esp, 4
jmp 0x449ae2
call fcn.00476620
add esp, 4
cmp dword [esi + 0x4f0], 0
je 0x449ac0
mov eax, dword [esi + 0x4f0]
test eax, eax
je 0x449ac0
cmp dword [esi + 0xf4], 0
jne 0x449ab6
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x4f0], 0
cmp word [esi], bx
mov dword [esi + 0x4f0], edi
mov dword [esi + 0xf4], 0
jle 0x449ad8
mov word [esi], bx
cmp word [esi + 2], bx
jge 0x449ae2
mov word [esi + 2], bx
xor edi, edi
cmp esi, edi
jne 0x449b0a
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, edi
je 0x449b00
mov word [eax], 0xff
cmp eax, edi
mov esi, eax
jne 0x449b0a
xor esi, esi
jmp 0x449b74
cmp byte [0x5dfdd8], 0
je 0x449b74
push 0x5dfdd8
call fcn.00476620
add esp, 4
cmp dword [esi + 0x514], edi
je 0x449b49
mov eax, dword [esi + 0x514]
cmp eax, edi
je 0x449b49
cmp dword [esi + 0x118], edi
jne 0x449b43
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x514], edi
mov eax, 0x45
cmp word [esi], ax
mov dword [esi + 0x514], 0x5dfdd8
mov dword [esi + 0x118], 1
jle 0x449b6a
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449b74
mov word [esi + 2], ax
mov ebx, 0x1a
push ebx
push esi
call fcn.0042f0b0
add esp, 8
test eax, eax
je 0x449b9a
push ebx
push esi
call fcn.0042f0b0
add esp, 8
cmp byte [eax], 0
jne 0x449c36
mov eax, dword [esp + 0x10]
push eax
call fcn.0048fd00
mov edi, eax
add esp, 4
test edi, edi
je 0x449c36
test esi, esi
jne 0x449bd3
push 0x7fc
push 1
call fcn.00477460
add esp, 8
test eax, eax
je 0x449bcd
mov word [eax], 0xff
test eax, eax
mov esi, eax
je 0x449c36
cmp byte [edi], 0
push edi
jne 0x449be3
call fcn.00477540
add esp, 4
jmp 0x449c36
call fcn.00476620
add esp, 4
cmp dword [esi + 0x468], 0
je 0x449c17
mov eax, dword [esi + 0x468]
test eax, eax
je 0x449c17
cmp dword [esi + 0x6c], 0
jne 0x449c0d
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x468], 0
cmp word [esi], bx
mov dword [esi + 0x468], edi
mov dword [esi + 0x6c], 0
jle 0x449c2c
mov word [esi], bx
cmp word [esi + 2], bx
jge 0x449c36
mov word [esi + 2], bx
mov ecx, dword [esp + 0x10]
push 0x47
push ecx
mov ecx, esi
call fcn.00447130
mov edx, dword [esp + 0x20]
push edx
mov esi, eax
call fcn.004774f0
mov edi, eax
xor ebx, ebx
add esp, 0xc
cmp edi, ebx
je 0x449d3a
cmp esi, ebx
jne 0x449c88
push 0x7fc
push 1
call fcn.00477460
add esp, 8
cmp eax, ebx
je 0x449c7b
mov word [eax], 0xff
cmp eax, ebx
mov esi, eax
jne 0x449c88
xor eax, eax
jmp 0x449d3c
cmp byte [edi], bl
jne 0x449c9a
push edi
call fcn.00477540
add esp, 4
jmp 0x449d3a
push 0x3c
push esi
call fcn.0042f0b0
push eax
call fcn.0048f0d0
add esp, 0xc
cmp eax, ebx
je 0x449ce5
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x449cd1
test dl, dl
je 0x449ccd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x449cd1
add eax, 2
add ecx, 2
test dl, dl
jne 0x449cb1
xor eax, eax
jmp 0x449cd6
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x449ce5
push edi
call fcn.00477540
add esp, 4
jmp 0x449d3a
push edi
call fcn.00476620
add esp, 4
cmp dword [esi + 0x530], ebx
je 0x449d17
mov eax, dword [esi + 0x530]
cmp eax, ebx
je 0x449d17
cmp dword [esi + 0x134], ebx
jne 0x449d11
push eax
call fcn.00477540
add esp, 4
mov dword [esi + 0x530], ebx
mov eax, 0x4c
cmp word [esi], ax
mov dword [esi + 0x530], edi
mov dword [esi + 0x134], ebx
jle 0x449d30
mov word [esi], ax
cmp word [esi + 2], ax
jge 0x449d3a
mov word [esi + 2], ax
mov eax, esi
lea esi, [esp + 0x44]
call fcn.00438300
mov ecx, dword [esp + 0x4c]
push ecx
push 0x5d
mov edi, eax
call fcn.0042fd20
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x50]
push eax
push ebx
call fcn.00448440
add esp, 0x20
test ebx, ebx
mov esi, eax
je 0x449d8f
push ebx
call fcn.00477540
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x449da0
push eax
call fcn.00477540
add esp, 4
push edi
mov eax, esi
call fcn.004488a0
add esp, 4
push edi
push str.exiting_for__s
push 0
push str.db_add_video_file
push pe_nt_image_headers32
push 1
mov esi, eax
call fcn.0048d750
mov ecx, dword [esp + 0x344]
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.004b2f95
mov esp, ebp
pop ebp
ret