Function at 0x423460
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56efa4
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x5b16b0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
push 0x3048
call fcn.0047b51b
mov ebx, dword [ebp + 8]
mov edi, eax
mov eax, dword [ebx + 0x44]
xor esi, esi
add eax, 0xffffffff
add esp, 4
cmp dword [ebx + 0x64], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x30], esi
mov byte [esp + 0x16], 1
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x70], 0
mov byte [esp + 0x17], 0
jne 0x4234e4
mov byte [esp + 0x17], 1
mov dword [esp + 0x5c], esi
mov dword [esp + 0x7c], esi
call fcn.0042cba0
mov dword [esp + 0x54], eax
emms
mov edx, dword [ebx + 0x64]
cmp edx, esi
mov dword [esp + 0x2c], edx
jl 0x424346
cmp edx, dword [ebx + 0x44]
jge 0x424346
mov ecx, dword [ebx + 0x40]
mov eax, edx
imul eax, eax, 0x8c
add ecx, eax
mov ecx, dword [ecx + 0xc]
mov dword [ebx + 0x118], ecx
cmp edx, dword [ebx + 0x44]
mov dword [esp + 0x80], edx
jge 0x424346
mov ecx, dword [ebx + 0x40]
add ecx, eax
add ecx, 0x28
push ecx
lea ecx, [esp + 0x50]
call fcn.0040de00
mov dword [esp + 0x128], esi
mov eax, dword [esp + 0x4c]
cmp dword [eax - 4], 1
jle 0x423569
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x50]
call fcn.00404ae0
mov eax, dword [esp + 0x4c]
push eax
mov esi, edi
call fcn.00432d50
add esp, 4
test eax, eax
je 0x424285
mov eax, dword [edi + 0x10]
movzx edx, byte [edi + 0x2a]
mov ecx, dword [edi + 0x14]
push 0xffffffffffffffff
push edx
movzx edx, byte [edi + 0x27]
mov dword [esp + 0x30], eax
movzx eax, byte [edi + 0x29]
mov dword [esp + 0x24], ecx
movzx ecx, byte [edi + 0x28]
push eax
movzx eax, byte [edi + 0x26]
push ecx
movzx ecx, word [edi + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0xa0]
call fcn.00421f60
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [esp + 0x90], eax
mov al, byte [edi + 0x1b]
and al, 1
mov byte [esp + 0x27], al
mov al, byte [edi + 0xa]
xor esi, esi
test al, al
mov dword [esp + 0x8c], edx
mov dword [esp + 0x48], esi
jne 0x42376e
push 0x448
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x84], esi
test esi, esi
mov byte [esp + 0x128], 1
je 0x423626
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
push ecx
push edx
push esi
call fcn.004326d0
mov dword [esi], vtable.CMpeg4Decoder.0
jmp 0x423628
xor esi, esi
fild dword [esp + 0x28]
mov byte [esp + 0x128], 0
fnstcw word [esp + 0x20]
fimul dword [esp + 0x1c]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x34], eax
fmul qword [0x578008]
fmul qword [0x577fa8]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fldcw word [esp + 0x34]
fistp qword [esp + 0x74]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
fldcw word [esp + 0x20]
mov dword [esp + 0x38], esi
mov edx, dword [esp + 0x48]
push edx
call fcn.0047b54b
movzx ecx, byte [edi + 0x19]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x18]
cdq
idiv ecx
mov edx, dword [esp + 0x30]
add esp, 4
cmp edx, dword [ebx + 0x64]
mov dword [ebx + 0x12c], eax
jne 0x4236b0
mov edx, edi
mov edi, dword [ebx + 0x68]
push 0
call fcn.00432e90
add esp, 4
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
lea eax, [ebx + 0x6c]
mov ebx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x44], eax
call fcn.0042e580
mov esi, dword [ebp + 8]
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x44], 0
je 0x424215
mov edi, edi
cmp byte [esi + 0x2d], 0
je 0x4237e7
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42420b
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x98], edx
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x9c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xa8], eax
sar eax, 1
mov dword [esp + 0xa0], edx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], 1
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x54]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.0042e600
push 0x50
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42420b
cmp al, 1
jne 0x423672
push 0x148
call fcn.0047b51b
mov edx, eax
add esp, 4
cmp edx, esi
je 0x42379a
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
mov esi, edx
call fcn.00433350
jmp 0x42379c
xor eax, eax
fild dword [esp + 0x28]
mov dword [esp + 0x38], eax
fnstcw word [esp + 0x20]
fimul dword [esp + 0x1c]
movzx eax, word [esp + 0x20]
or eax, 0xc00
mov dword [esp + 0x34], eax
fmul qword [0x578008]
fmul qword [0x5a3940]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fldcw word [esp + 0x34]
fistp qword [esp + 0x74]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x48], ecx
fldcw word [esp + 0x20]
jmp 0x423676
cmp byte [esi + 0x2e], 0
je 0x4238d1
cmp byte [esi + 0x2f], 0
je 0x423834
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov byte [esi + 0x2f], 0
call fcn.00432dd0
test eax, eax
je 0x424215
mov eax, edi
test byte [eax + 0x3040], 0x18
jne 0x423834
mov eax, dword [eax + 0x3038]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, ebx
push eax
call edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x42420b
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0xa0], eax
mov eax, edi
sar eax, 1
cmp byte [esp + 0x27], 0
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], 1
je 0x42374b
mov ecx, dword [esp + 0x18]
mov eax, 0x10624dd3
mul dword [ecx + 0x303c]
mov ecx, edx
push ebx
shr ecx, 6
add ecx, dword [esp + 0x90]
push edi
push esi
lea edi, [esp + 0xa4]
call fcn.00425ee0
jmp 0x42374b
cmp byte [esi + 0x30], 0
je 0x42391d
mov ecx, dword [esi + 0x28]
sub dword [esi + 0x124], ecx
mov byte [esi + 0x30], 0
jns 0x4238f0
mov dword [esi + 0x124], 0
mov edi, dword [esi + 0x124]
sub edi, dword [esi + 0x118]
mov edx, dword [esp + 0x18]
imul edi, edi, 0x3e8
push 1
call fcn.00432e90
add esp, 4
mov byte [esp + 0x16], 1
mov dword [esp + 0x5c], 0
cmp byte [esi + 0x31], 0
je 0x42395f
mov edx, dword [esi + 0x28]
add dword [esi + 0x124], edx
mov eax, dword [esi + 0x124]
sub eax, dword [esi + 0x118]
mov edx, dword [esp + 0x18]
imul eax, eax, 0x3e8
push 0
mov edi, eax
mov byte [esi + 0x31], 0
call fcn.00432e90
add esp, 4
mov byte [esp + 0x16], 1
mov dword [esp + 0x5c], 0
cmp dword [esi + 0x128], 0
je 0x423be7
mov eax, dword [esi + 0x44]
xor edx, edx
xor ebx, ebx
cmp eax, edx
mov dword [esi + 0x128], edx
mov byte [esp + 0x16], 1
mov dword [esp + 0x5c], edx
mov dword [esp + 0x2c], ebx
jle 0x423bde
mov dword [esp + 0x58], edx
mov eax, dword [esi + 0x44]
add eax, 0xffffffff
cmp ebx, eax
jne 0x4239a1
mov byte [esp + 0x17], 1
test edx, edx
jl 0x424346
cmp ebx, dword [esi + 0x44]
jge 0x424346
mov edi, dword [esi + 0x40]
mov eax, dword [esi + 0x124]
mov ecx, dword [edi + edx + 0xc]
add edi, edx
cmp eax, ecx
mov dword [esp + 0x34], edi
jl 0x4239d6
mov edx, dword [edi + 0x10]
add edx, ecx
cmp eax, edx
jl 0x4239f1
mov edx, dword [esp + 0x58]
add ebx, 1
add edx, 0x8c
cmp ebx, dword [esi + 0x44]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], edx
jl 0x423992
jmp 0x423bde
cmp dword [esp + 0x80], ebx
je 0x423bb8
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x64], ebx
mov eax, dword [edi + 0xc]
add ecx, 0xffffffff
cmp ebx, ecx
mov dword [esp + 0x80], ebx
mov dword [esi + 0x118], eax
je 0x423a20
mov byte [esp + 0x17], 0
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0x28
push edi
lea ecx, [esp + 0x64]
mov dword [esi], 0xffffffff
call fcn.0040de00
mov byte [esp + 0x128], 2
mov eax, dword [esp + 0x60]
cmp dword [eax - 4], 1
jle 0x423a63
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x64]
call fcn.00404ae0
mov eax, dword [esp + 0x60]
push eax
call fcn.00432d50
add esp, 4
test eax, eax
je 0x424310
mov edi, dword [esp + 0x18]
movzx edx, byte [edi + 0x2a]
mov ecx, dword [edi + 0x14]
movzx eax, byte [edi + 0x29]
mov ebx, dword [edi + 0x10]
push 0xffffffffffffffff
push edx
movzx edx, byte [edi + 0x27]
mov dword [esp + 0x24], ecx
movzx ecx, byte [edi + 0x28]
push eax
movzx eax, byte [edi + 0x26]
push ecx
movzx ecx, word [edi + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0x44], ebx
call fcn.00421f60
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x90], eax
mov al, byte [edi + 0x1b]
and al, 1
test ecx, ecx
mov dword [esp + 0x8c], edx
mov byte [esp + 0x27], al
je 0x423ae1
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov al, byte [edi + 0xa]
test al, al
jne 0x423b37
push 0x448
call fcn.0047b51b
mov esi, eax
add esp, 4
mov dword [esp + 0x64], esi
test esi, esi
mov byte [esp + 0x128], 3
je 0x423b27
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
push esi
call fcn.004326d0
mov dword [esi], vtable.CMpeg4Decoder.0
mov byte [esp + 0x128], 2
mov dword [esp + 0x38], esi
jmp 0x423b6f
xor esi, esi
mov byte [esp + 0x128], 2
mov dword [esp + 0x38], esi
jmp 0x423b6f
cmp al, 1
jne 0x423b67
push 0x148
call fcn.0047b51b
mov esi, eax
add esp, 4
test esi, esi
je 0x423b5f
mov eax, dword [esp + 0x1c]
mov ecx, ebx
call fcn.00433350
mov dword [esp + 0x38], eax
jmp 0x423b6f
xor eax, eax
mov dword [esp + 0x38], eax
jmp 0x423b6f
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x54]
push edx
call fcn.0042e580
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423bad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x2c]
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov eax, dword [esi + 0x124]
mov edx, dword [esp + 0x18]
mov byte [esi + 0x2c], 1
sub eax, dword [edi + 0xc]
push 0
imul eax, eax, 0x3e8
mov edi, eax
mov dword [esi + 0x68], eax
call fcn.00432e90
add esp, 4
cmp ebx, dword [esi + 0x44]
je 0x42434b
mov eax, dword [esi + 0x24]
cmp eax, 1
jne 0x423d73
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push ecx
call fcn.00432e30
add esp, 4
test eax, eax
je 0x424215
mov edx, edi
mov al, byte [edx + 0x3040]
shr al, 3
and al, 3
jne 0x423c80
cmp byte [esp + 0x16], 0
mov eax, dword [edx + 0x303c]
je 0x423c3b
mov ecx, eax
sub ecx, eax
mov byte [esp + 0x16], 0
mov dword [esp + 0x3c], eax
mov dword [esp + 0x30], ecx
jmp 0x423c49
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
sub eax, ecx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x423c58
cmp eax, 0x190
jle 0x423c60
mov dword [esp + 0x30], 0x28
mov edx, dword [edx + 0x3038]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x24]
push edx
call eax
mov dword [esp + 0x44], eax
jmp 0x423e77
cmp al, 1
jne 0x423e77
cmp dword [esi + 0x130], 0
je 0x42420b
cmp dword [esp + 0x50], 0
jne 0x423cad
push 0x2800
call fcn.0047b54b
add esp, 4
mov dword [esp + 0x50], eax
mov al, byte [edi + 0xb]
cmp al, 1
jne 0x423d02
cmp dword [esp + 0x68], 0
jne 0x423ce1
push 0x38
call fcn.0047b51b
movzx ecx, byte [edi + 0xf]
movzx edx, word [edi + 0xc]
add esp, 4
mov esi, eax
movzx eax, byte [edi + 0xe]
push ecx
push edx
mov dword [esp + 0x70], esi
call fcn.00432f70
add esp, 8
mov eax, dword [edi + 0x3038]
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
push eax
call fcn.00432fc0
add esp, 4
mov dword [esp + 0x6c], eax
jmp 0x423d22
cmp al, 3
jne 0x423d22
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 0x3038]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x54]
push edx
call fcn.00427b30
add esp, 8
cmp dword [esp + 0x70], 0
jne 0x423d55
push 0x188
call fcn.0047b51b
movzx edx, byte [edi + 0xf]
movzx ecx, byte [edi + 0xe]
mov esi, eax
movzx eax, word [edi + 0xc]
mov edi, dword [esp + 0x70]
add esp, 4
push edi
mov dword [esp + 0x74], esi
call fcn.00431790
add esp, 4
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x70]
push eax
push ecx
call fcn.00431880
mov esi, dword [ebp + 8]
add esp, 8
jmp 0x42420b
jle 0x423e02
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x423e77
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
call fcn.00432dd0
test eax, eax
je 0x424215
mov edx, edi
test byte [edx + 0x3040], 0x18
jne 0x423df7
cmp byte [esp + 0x16], 0
mov eax, dword [edx + 0x303c]
je 0x423dc9
mov ecx, eax
mov dword [esp + 0x3c], ecx
sub ecx, eax
mov byte [esp + 0x16], 0
mov dword [esp + 0x30], ecx
jmp 0x423dd7
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
sub eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [edx + 0x3038]
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x24]
push edx
call eax
add dword [esp + 0x2c], 1
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esi + 0x24]
jl 0x423d89
jmp 0x423e77
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
call fcn.00432dd0
test eax, eax
je 0x423e77
mov eax, edi
mov cl, byte [eax + 0x3040]
shr cl, 3
and cl, 3
jne 0x423e6e
cmp byte [esp + 0x16], 0
mov ecx, dword [eax + 0x303c]
je 0x423e43
mov edx, ecx
mov dword [esp + 0x3c], edx
sub edx, ecx
mov byte [esp + 0x16], 0
mov dword [esp + 0x30], edx
jmp 0x423e51
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
sub ecx, edx
mov dword [esp + 0x30], ecx
mov eax, dword [eax + 0x3038]
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x24]
push eax
call edx
mov dword [esp + 0x44], eax
jmp 0x423e77
cmp cl, 1
je 0x42420b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x424215
mov ecx, dword [eax]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0xc4], ecx
mov edx, dword [eax + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc8], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xec], ecx
mov ecx, dword [esp + 0x5c]
mov eax, ebx
sar eax, 1
test ecx, ecx
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe4], 1
jne 0x423ee8
mov dword [esp + 0x30], ecx
jmp 0x423f3a
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x303c]
cmp eax, ecx
jb 0x423efa
sub eax, ecx
jmp 0x423f01
sub eax, ecx
add eax, 0x5265c00
mov edi, eax
mov eax, dword [esi + 0x24]
cmp eax, 1
je 0x423f19
jle 0x423f13
mov edi, dword [esp + 0x30]
jmp 0x423f19
mov eax, dword [esi + 0x20]
imul edi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esp + 0x7c]
jns 0x423f27
xor eax, eax
sub edi, eax
test edi, edi
mov dword [esp + 0x30], edi
jle 0x423f3a
mov ecx, edi
push ecx
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp byte [esp + 0x27], 0
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x303c]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x5c], ecx
je 0x423f7f
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esp + 0x1c]
mov ecx, edx
push eax
shr ecx, 6
add ecx, dword [esp + 0x90]
push ebx
push esi
lea edi, [esp + 0xd0]
call fcn.00425ee0
cmp dword [esp + 0xc4], 0
je 0x42420b
mov ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0xc8]
push edx
call fcn.0042e600
mov eax, dword [esi + 0x120]
test al, 1
je 0x42420b
and eax, 0xfffffffe
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x48]
push eax
call fcn.0047b54b
mov ebx, dword [esp + 0x2c]
add esp, 4
cmp ebx, 0x160
mov dword [esp + 0x2c], eax
jle 0x4240b1
cmp dword [esp + 0x1c], 0x120
jg 0x4240b1
push 0x2c
lea ecx, [esp + 0xf4]
push 0
push ecx
call fcn.004a1c90
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x28]
add esp, 0xc
push edx
add ebx, ebx
push 1
lea edi, [esp + 0xf8]
mov dword [esp + 0x3c], ebx
call fcn.00432420
mov ecx, dword [esp + 0x30]
mov eax, edi
push eax
mov eax, dword [esp + 0x28]
lea ebx, [esp + 0xd0]
call fcn.00438580
add esp, 0xc
push 0xc
mov dword [esp + 0x114], 1
call fcn.0047b51b
mov edi, eax
add esp, 4
mov dword [esp + 0x64], edi
test edi, edi
mov byte [esp + 0x128], 4
je 0x424078
mov ecx, dword [esp + 0x28]
push 0x1e
push 8
push ecx
mov ecx, dword [esp + 0x40]
push edi
call fcn.00432b00
mov dword [edi], vtable.CJpegEncoder.0
mov ecx, edi
jmp 0x42407a
xor ecx, ecx
mov eax, dword [esp + 0x48]
push 0
push eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x130], 0
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push eax
lea eax, [esp + 0xfc]
push eax
mov ebx, ecx
call edx
mov dword [esp + 0x34], eax
lea eax, [esp + 0xf0]
call fcn.004324c0
jmp 0x424111
push 0xc
call fcn.0047b51b
mov edi, eax
add esp, 4
mov dword [esp + 0x34], edi
test edi, edi
mov byte [esp + 0x128], 5
je 0x4240e6
mov ecx, dword [esp + 0x1c]
push 0x1e
push 8
push ebx
push edi
call fcn.00432b00
mov dword [edi], vtable.CJpegEncoder.0
mov ecx, edi
jmp 0x4240e8
xor ecx, ecx
mov edx, dword [esp + 0x48]
push 0
push edx
mov edx, dword [esp + 0x34]
mov byte [esp + 0x130], 0
mov eax, dword [ecx]
mov eax, dword [eax + 8]
push edx
lea edx, [esp + 0xd0]
push edx
mov ebx, ecx
call eax
mov dword [esp + 0x34], eax
call fcn.0047c271
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x424374
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x58], eax
push ecx
mov byte [esp + 0x12c], 6
mov ecx, esp
mov dword [esp + 0x68], esp
push str.playback_
call fcn.0040de00
lea ecx, [esp + 0x88]
push ecx
push esi
call fcn.004223e0
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x12c], 7
call fcn.00404a60
mov byte [esp + 0x128], 6
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424199
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
push 0x595828
push ecx
call fcn.0049c48e
mov edi, eax
add esp, 8
test edi, edi
je 0x4241cc
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
push edi
push edx
push 1
push eax
call fcn.0049ccd1
push edi
call fcn.0049c78c
add esp, 0x14
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0047b546
mov edx, dword [ebx]
mov eax, dword [edx]
add esp, 4
push 1
mov ecx, ebx
call eax
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42420b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esi + 0x2c], 0
jne 0x4236e0
mov esi, dword [esp + 0x18]
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0xffffffff
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x58]
call fcn.0042f280
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x424246
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edi, dword [esp + 0x70]
test edi, edi
je 0x42425c
call fcn.00431800
push edi
call fcn.0047b546
add esp, 4
mov eax, dword [esp + 0x68]
test eax, eax
je 0x42426d
push eax
call fcn.0047b546
add esp, 4
mov eax, dword [esp + 0x50]
test eax, eax
je 0x42427e
push eax
call fcn.0047b546
add esp, 4
mov edi, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
push edi
call fcn.0047b546
add esp, 4
cmp byte [esp + 0x17], 0
mov byte [ebx + 0x2c], 0
mov byte [ebx + 0x2d], 0
mov byte [ebx + 0x2e], 0
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x12c], 0
je 0x4242b6
mov byte [ebx + 0x70], 1
mov eax, dword [esp + 0x20]
test eax, eax
mov byte [ebx + 0x32], 1
je 0x4242cb
push eax
call fcn.0047b546
add esp, 4
mov dword [esp + 0x128], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4242f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov byte [esp + 0x128], 0
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
mov byte [esp + 0x17], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424228
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x424228
call fcn.0047dc2b
add ebx, 0xffffffff
js 0x424346
cmp ebx, dword [esi + 0x44]
jge 0x424346
imul ebx, ebx, 0x8c
add ebx, dword [esi + 0x40]
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
cmp dword [esi + 0x124], ecx
setg byte [esp + 0x17]
jmp 0x424228
push 0x80004005
call fcn.00404150
int3