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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a8
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x3c
call fcn.00408bf0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jg 0x40cc34
xor eax, eax
jmp 0x40de95
mov eax, dword [ebp - 0x114]
add eax, 0x84
push eax
push 0
call fcn.0040ff00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40cc77
lea edx, [ebp - 0x64]
push edx
call fcn.0040dea0
add esp, 4
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.00403ee0
lea ecx, [ebp - 0x64]
call fcn.00413400
mov eax, dword [ebp - 0x114]
add eax, 0x88
push eax
push 0
call fcn.0040ff00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40ccba
lea edx, [ebp - 0x68]
push edx
call fcn.0040e020
add esp, 4
push eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
call fcn.00403ee0
lea ecx, [ebp - 0x68]
call fcn.00413400
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x58], 0
jne 0x40cce1
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x3c
call fcn.00408c10
mov ecx, dword [ebp - 0x114]
mov edx, dword [eax]
mov dword [ecx + 0x58], edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x58]
add ecx, 8
call fcn.0040f230
push eax
mov ecx, dword [ebp - 0x114]
call fcn.0040a970
test eax, eax
jne 0x40cd59
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x58]
add ecx, 8
call fcn.0040f230
push eax
mov edx, dword [ebp - 0x114]
mov ecx, dword [edx + 0x58]
add ecx, 4
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
test eax, eax
jge 0x40cd59
xor eax, eax
jmp 0x40de95
cmp dword [0x438644], 2
je 0x40ce9b
lea ecx, [ebp - 0x40]
call fcn.0040f550
mov ecx, dword [ebp - 0x114]
add ecx, 0x78
call fcn.0040f520
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x40]
call fcn.0040f570
push eax
push 0x4311c8
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x58]
add ecx, 4
call fcn.0040f230
push eax
push str.vids
push 0x4310d8
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
call edx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x40ce93
lea ecx, [ebp - 0x40]
call fcn.0040f520
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
mov edx, dword [ebp - 0x120]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jl 0x40ce93
push 0x4310c8
mov edx, dword [ebp - 0x44]
add edx, 0x2c
push edx
call fcn.0040f0e0
add esp, 8
test eax, eax
je 0x40ce87
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x48], ecx
cmp dword [0x438644], 1
jne 0x40ce38
fld qword [0x42ff18]
fstp qword [ebp - 0x128]
jmp 0x40ce44
fld qword [0x42ff10]
fstp qword [ebp - 0x128]
fld qword [0x42ff08]
fdiv qword [ebp - 0x128]
call fcn.0042d2c6
mov ecx, dword [ebp - 0x48]
mov dword [ecx + 0x28], eax
mov dword [ecx + 0x2c], edx
lea ecx, [ebp - 0x40]
call fcn.0040f520
mov dword [ebp - 0x12c], eax
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x12c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.0040a240
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.00413400
push 0
lea ecx, [ebp - 0x28]
call fcn.00413050
mov ecx, dword [ebp - 0x114]
add ecx, 0x78
call fcn.0040f520
mov dword [ebp - 0x130], eax
lea ecx, [ebp - 0x28]
call fcn.0040f570
push eax
push 0
push 0
push 0
push 0x4310e8
push 1
mov edx, dword [ebp - 0x114]
mov ecx, dword [edx + 0x58]
add ecx, 4
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov eax, dword [edx + 0x2c]
call eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x1c]
call fcn.0040f550
push 0x17
push 0
push 0x431038
lea ecx, [ebp - 0x1c]
call fcn.0040f240
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040f480
movzx ecx, al
test ecx, ecx
je 0x40cf41
mov dword [ebp - 0x6c], 0
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x6c]
jmp 0x40de95
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x134], eax
push str.Video_Renderer
lea ecx, [ebp - 0x1c]
call fcn.0040f230
push eax
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
test eax, eax
jge 0x40cf9a
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x70]
jmp 0x40de95
push 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x58]
add ecx, 4
call fcn.0040f230
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.00412070
add esp, 0xc
push 0
lea ecx, [ebp - 0x20]
call fcn.0040f480
movzx edx, al
test edx, edx
je 0x40cff2
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x74]
jmp 0x40de95
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0040ff00
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x40d198
mov ecx, dword [ebp - 0x114]
add ecx, 0x94
call fcn.0040f210
movzx edx, al
test edx, edx
je 0x40d0ec
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x138], eax
push str.Media_Grabber
mov ecx, dword [ebp - 0x114]
add ecx, 0x94
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x138]
push eax
mov ecx, dword [ebp - 0x138]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x114]
add edx, 0x94
push ecx
mov ecx, esp
push edx
call fcn.0040f1e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx eax, al
test eax, eax
je 0x40d0ec
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x94
call fcn.0040f230
push eax
lea ecx, [ebp - 0x84]
push ecx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00403ee0
lea ecx, [ebp - 0x84]
call fcn.00413400
mov ecx, dword [ebp - 0x114]
add ecx, 0x94
call fcn.0040f210
movzx edx, al
test edx, edx
je 0x40d198
lea ecx, [ebp - 0x4c]
call fcn.0040f550
mov ecx, dword [ebp - 0x114]
add ecx, 0x94
call fcn.0040f520
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x4c]
call fcn.0040f570
push eax
push 0x431158
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 0x4c]
call fcn.0040f520
mov dword [ebp - 0x140], eax
push 1
mov ecx, dword [ebp - 0x140]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx]
mov ecx, dword [eax + 0x18]
call ecx
lea ecx, [ebp - 0x4c]
call fcn.0040f520
mov dword [ebp - 0x144], eax
push 0
mov edx, dword [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x144]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
lea ecx, [ebp - 0x4c]
call fcn.00413400
push 0
lea ecx, [ebp - 0x18]
call fcn.00413050
push 0x17
push 0
push 0x431028
lea ecx, [ebp - 0x18]
call fcn.0040f240
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x148], eax
push str.Video_InfTee
lea ecx, [ebp - 0x18]
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
lea edx, [ebp - 0x18]
push edx
call fcn.0040f1e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x40d25d
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x94]
jmp 0x40de95
push 0
lea ecx, [ebp - 0x18]
call fcn.0040f230
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00403ee0
lea ecx, [ebp - 0x98]
call fcn.00413400
mov edx, dword [ebp - 0x14]
push edx
push ecx
mov ecx, esp
lea eax, [ebp - 0x1c]
push eax
call fcn.0040f1e0
push ecx
mov ecx, esp
lea edx, [ebp - 0x20]
push edx
call fcn.0040f1e0
mov eax, dword [ebp - 0x114]
add eax, 0x7c
push ecx
mov ecx, esp
push eax
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx ecx, al
test ecx, ecx
jne 0x40d2fd
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0xa8]
jmp 0x40de95
push 1
lea ecx, [ebp - 0x18]
call fcn.0040f230
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00403ee0
lea ecx, [ebp - 0xac]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.0040f550
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x54], 0
je 0x40d459
mov dword [ebp - 0x50], 0
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x54]
add ecx, 0xc
call fcn.00408bf0
test eax, eax
jle 0x40d3a1
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0x54]
cmp dword [eax + 0x24], 0xffffffff
jne 0x40d37e
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x54]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x54]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x54]
add ecx, 0xc
call fcn.00408c10
mov ecx, dword [eax]
mov dword [ebp - 0x50], ecx
cmp dword [ebp - 0x50], 0
je 0x40d459
mov ecx, dword [ebp - 0x50]
add ecx, 8
call fcn.0040f520
mov dword [ebp - 0x14c], eax
push 1
mov edx, dword [ebp - 0x14c]
push edx
mov eax, dword [ebp - 0x14c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x54]
add ecx, 8
call fcn.0040f230
push eax
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + 0x54]
add ecx, 4
call fcn.0040f230
push eax
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x150]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
test eax, eax
jl 0x40d459
push 0
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x54]
add ecx, 4
call fcn.0040f230
push eax
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ee0
lea ecx, [ebp - 0xb0]
call fcn.00413400
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.0040f210
movzx edx, al
test edx, edx
je 0x40d6cd
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x154], eax
push str.MJPEG_Encoder
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x154]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.0040f230
push eax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.00412070
add esp, 0xc
push 0
lea ecx, [ebp - 0x54]
call fcn.0040f590
lea ecx, [ebp - 0x5c]
call fcn.0040f520
mov dword [ebp - 0x158], eax
lea ecx, [ebp - 0x54]
call fcn.0042aca0
push eax
push 0x4311d8
mov edx, dword [ebp - 0x158]
push edx
mov eax, dword [ebp - 0x158]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
jl 0x40d602
lea ecx, [ebp - 0x54]
call fcn.0040f230
test eax, eax
je 0x40d602
cmp dword [0x438640], 1
jne 0x40d566
lea ecx, [ebp - 0x54]
call fcn.0040f230
mov dword [ebp - 0x15c], eax
sub esp, 8
fld qword [0x42ff00]
fstp qword [esp]
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
jmp 0x40d602
cmp dword [0x438640], 2
jne 0x40d59f
lea ecx, [ebp - 0x54]
call fcn.0040f230
mov dword [ebp - 0x160], eax
sub esp, 8
fld qword [0x42fef8]
fstp qword [esp]
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
call ecx
jmp 0x40d602
cmp dword [0x438640], 3
jne 0x40d5d8
lea ecx, [ebp - 0x54]
call fcn.0040f230
mov dword [ebp - 0x164], eax
sub esp, 8
fld qword [0x42fef0]
fstp qword [esp]
mov edx, dword [ebp - 0x164]
push edx
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
call edx
jmp 0x40d602
lea ecx, [ebp - 0x54]
call fcn.0040f230
mov dword [ebp - 0x168], eax
sub esp, 8
fld1
fstp qword [esp]
mov eax, dword [ebp - 0x168]
push eax
mov ecx, dword [ebp - 0x168]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040f1e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x40d686
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.0040f230
push eax
mov ecx, dword [ebp - 0x16c]
push ecx
mov edx, dword [ebp - 0x16c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
jmp 0x40d6bd
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x84
call fcn.0040f230
push eax
lea edx, [ebp - 0xc0]
push edx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00403ee0
lea ecx, [ebp - 0xc0]
call fcn.00413400
lea ecx, [ebp - 0x54]
call fcn.00413400
lea ecx, [ebp - 0x5c]
call fcn.00413400
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x170], eax
push str.Avi_Muxer
mov ecx, dword [ebp - 0x114]
add ecx, 0x8c
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x170]
push eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x114]
add edx, 0x8c
push ecx
mov ecx, esp
push edx
call fcn.0040f1e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x20]
push eax
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x40d794
mov dword [ebp - 0xd0], 0
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0xd0]
jmp 0x40de95
lea ecx, [ebp - 0x10]
call fcn.0040f210
movzx ecx, al
test ecx, ecx
je 0x40d8f9
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
call fcn.0040f210
movzx edx, al
test edx, edx
je 0x40d8bd
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x174], eax
push str.Audio_Encoder
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
call fcn.0040f230
push eax
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x174]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040f1e0
push ecx
mov ecx, esp
lea eax, [ebp - 0x10]
push eax
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
push ecx
mov edx, esp
push ecx
mov ecx, edx
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx eax, al
test eax, eax
jne 0x40d886
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x178], eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
call fcn.0040f230
push eax
mov ecx, dword [ebp - 0x178]
push ecx
mov edx, dword [ebp - 0x178]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
jmp 0x40d8bd
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x88
call fcn.0040f230
push eax
lea edx, [ebp - 0xe0]
push edx
call fcn.00412070
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ee0
lea ecx, [ebp - 0xe0]
call fcn.00413400
push 0
mov eax, dword [ebp - 0x114]
add eax, 0x8c
push ecx
mov ecx, esp
push eax
call fcn.0040f1e0
push ecx
mov ecx, esp
lea edx, [ebp - 0x10]
push edx
call fcn.0040f1e0
mov eax, dword [ebp - 0x114]
add eax, 0x7c
push ecx
mov ecx, esp
push eax
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0x8c
call fcn.0040f230
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00412070
add esp, 0xc
push 0
lea ecx, [ebp - 0xc]
call fcn.0040f480
movzx edx, al
test edx, edx
je 0x40d96f
mov dword [ebp - 0xf0], 0
lea ecx, [ebp - 0xc]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0xf0]
jmp 0x40de95
mov ecx, dword [ebp - 0x114]
add ecx, 0x8c
call fcn.0040f230
push eax
lea ecx, [ebp - 8]
call fcn.0040f5b0
lea ecx, [ebp - 8]
call fcn.0040f230
test eax, eax
je 0x40d9dd
lea ecx, [ebp - 8]
call fcn.0040f230
mov dword [ebp - 0x17c], eax
push 1
mov eax, dword [ebp - 0x17c]
push eax
mov ecx, dword [ebp - 0x17c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea ecx, [ebp - 8]
call fcn.0040f230
mov dword [ebp - 0x180], eax
push 1
mov ecx, dword [ebp - 0x180]
push ecx
mov edx, dword [ebp - 0x180]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov ecx, dword [ebp - 0x114]
add ecx, 0x7c
call fcn.0040f520
mov dword [ebp - 0x184], eax
push str.Avi_Writer
mov ecx, dword [ebp - 0x114]
add ecx, 0x90
call fcn.0040f230
push eax
mov edx, dword [ebp - 0x184]
push edx
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x24], eax
push 0
mov eax, dword [ebp - 0x114]
add eax, 0x90
push ecx
mov ecx, esp
push eax
call fcn.0040f1e0
push ecx
mov ecx, esp
lea edx, [ebp - 0xc]
push edx
call fcn.0040f1e0
mov eax, dword [ebp - 0x114]
add eax, 0x7c
push ecx
mov ecx, esp
push eax
call fcn.0040ff20
call fcn.00411980
add esp, 0x10
movzx ecx, al
test ecx, ecx
jne 0x40daaf
mov dword [ebp - 0x100], 0
lea ecx, [ebp - 8]
call fcn.0042aa70
lea ecx, [ebp - 0xc]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x100]
jmp 0x40de95
mov ecx, dword [ebp - 0x114]
add ecx, 0x90
call fcn.0040f230
push eax
lea ecx, [ebp - 4]
call fcn.0040f5f0
push 0
lea ecx, [ebp - 4]
call fcn.0042c8b0
movzx edx, al
test edx, edx
je 0x40db2f
mov dword [ebp - 0x104], 0
lea ecx, [ebp - 4]
call fcn.0042aa70
lea ecx, [ebp - 8]
call fcn.0042aa70
lea ecx, [ebp - 0xc]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x104]
jmp 0x40de95
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx ecx, word [ebp - 0x2c]
push ecx
movzx edx, word [ebp - 0x2e]
push edx
movzx eax, word [ebp - 0x30]
push eax
movzx ecx, word [ebp - 0x32]
push ecx
mov edx, dword [0x438650]
push edx
push str._s_d_d_d_d.avi
mov eax, dword [ebp - 0x114]
add eax, 0xa4
push eax
call fcn.004103c0
add esp, 0x1c
lea ecx, [ebp - 4]
call fcn.0040f230
mov dword [ebp - 0x188], eax
push 1
mov ecx, dword [ebp - 0x188]
push ecx
mov edx, dword [ebp - 0x188]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
call ecx
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 4]
call fcn.0040f230
mov dword [ebp - 0x18c], eax
push 0
mov ecx, dword [ebp - 0x114]
add ecx, 0xa4
call fcn.0040f230
push eax
mov edx, dword [ebp - 0x18c]
push edx
mov eax, dword [ebp - 0x18c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
test eax, eax
jge 0x40dc23
mov dword [ebp - 0x108], 0
lea ecx, [ebp - 4]
call fcn.0042aa70
lea ecx, [ebp - 8]
call fcn.0042aa70
lea ecx, [ebp - 0xc]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x108]
jmp 0x40de95
lea ecx, [ebp - 0x28]
call fcn.0040f210
movzx eax, al
test eax, eax
je 0x40dc49
push ecx
mov ecx, esp
lea edx, [ebp - 0x28]
push edx
call fcn.0040f1e0
mov ecx, dword [ebp - 0x114]
call fcn.0040e450
mov eax, dword [ebp - 0x114]
cmp dword [eax + 0x5c], 0
je 0x40dda5
mov ecx, dword [ebp - 0x114]
add ecx, 0x64
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0x5c]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp - 0x114]
add ecx, 0x9c
call fcn.0040f520
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x5c]
push edx
mov eax, dword [ebp - 0x190]
push eax
mov ecx, dword [ebp - 0x190]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x9c
call fcn.0040f520
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x194]
push edx
mov eax, dword [ebp - 0x194]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
call edx
mov ecx, dword [ebp - 0x114]
add ecx, 0x9c
call fcn.0040f520
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x60]
or eax, 0x40000000
and eax, 0xff3bffff
push eax
mov ecx, dword [ebp - 0x198]
push ecx
mov edx, dword [ebp - 0x198]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
call ecx
mov ecx, dword [ebp - 0x114]
add ecx, 0x9c
call fcn.0040f520
mov dword [ebp - 0x19c], eax
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
mov ecx, dword [edx + 0x70]
sub ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [ebp - 0x114]
mov ecx, dword [edx + 0x6c]
sub ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0x68]
push eax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x19c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x9c]
call eax
mov ecx, dword [ebp - 0x114]
add ecx, 0x9c
call fcn.0040f520
mov dword [ebp - 0x1a0], eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1a0]
push ecx
mov edx, dword [ebp - 0x1a0]
mov eax, dword [edx]
mov ecx, dword [eax + 0x4c]
call ecx
mov ecx, dword [ebp - 0x114]
add ecx, 0xa0
call fcn.0040f210
movzx edx, al
test edx, edx
je 0x40de45
mov eax, dword [ebp - 0x114]
push eax
push 0xffffffffffffffeb
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x60]
push edx
call fcn.004062d0
add esp, 0xc
mov ecx, dword [ebp - 0x114]
add ecx, 0xa0
call fcn.0040f520
mov dword [ebp - 0x1a4], eax
push 0
push 0x82ee
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x60]
push ecx
mov edx, dword [ebp - 0x1a4]
push edx
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x34]
call edx
mov ecx, dword [ebp - 0x114]
add ecx, 0xa0
call fcn.0040f520
mov dword [ebp - 0x1a8], eax
push 0
mov eax, dword [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x1a8]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x110], 0
lea ecx, [ebp - 4]
call fcn.0042aa70
lea ecx, [ebp - 8]
call fcn.0042aa70
lea ecx, [ebp - 0xc]
call fcn.00413400
lea ecx, [ebp - 0x10]
call fcn.00413400
lea ecx, [ebp - 0x18]
call fcn.00413400
lea ecx, [ebp - 0x20]
call fcn.00413400
lea ecx, [ebp - 0x1c]
call fcn.00413400
lea ecx, [ebp - 0x28]
call fcn.00413400
mov eax, dword [ebp - 0x110]
mov esp, ebp
pop ebp
ret