Function at 0x66ff80
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x1f4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
cmp eax, esi
push edi
mov edi, dword [ebp + 0x10]
push esi
je 0x66ff9f
push eax
jmp 0x66ffb0
cmp dword [edi + 0x1f], esi
jne 0x66ffab
push str.Converting_video_file...
jmp 0x66ffb0
push str.Converting_video_file__lossless_...
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
push 0x64
push esi
push ebx
call fcn.0066fe60
fstp qword [esp + 0x98]
mov eax, dword [edi + 0x31]
cmp eax, esi
jne 0x66ffd7
mov ecx, dword [edi]
mov eax, dword [ecx + 0x5e]
cmp eax, esi
jle 0x67002b
mov ecx, dword [edi + 0x14]
cmp ecx, esi
jle 0x66ffec
cmp ecx, eax
jge 0x66fff5
mov eax, ecx
mov dword [esp + 0x3c], ecx
jmp 0x66fff9
mov ecx, dword [edi + 0x2d]
cmp ecx, esi
je 0x66fff5
sub eax, ecx
mov dword [esp + 0x3c], eax
cmp eax, esi
je 0x670036
mov edx, dword [edi]
cmp dword [edx + 0x5e], 0x7fffffff
je 0x670036
mov eax, dword [ebx]
mov edx, dword [eax + 0x2c]
mov byte [esp + 0x2f], 0
mov ecx, ebx
call edx
mov eax, dword [edi + 0xc]
cmp eax, esi
mov dword [esp + 0x60], esi
mov byte [esp + 0x37], 0
je 0x670042
mov bl, byte [eax + 8]
jmp 0x670044
mov eax, dword [edi + 0x14]
cmp eax, esi
jg 0x66fff5
mov dword [esp + 0x3c], esi
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
mov byte [esp + 0x2f], 1
jmp 0x670012
mov bl, 1
cmp eax, esi
je 0x67004d
mov ecx, dword [eax + 4]
jmp 0x670052
mov ecx, 0xac44
cmp ecx, esi
mov eax, dword [edi + 0x2d]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x48], eax
jg 0x670065
xor eax, eax
jmp 0x6700a7
mov eax, 0x10624dd3
imul dword [esp + 0x48]
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esp + 0x48]
mov eax, ecx
imul ecx, dword [esp + 0x40]
imul eax, eax, 0x3e8
sub edx, eax
imul edx, dword [esp + 0x40]
mov eax, 0x10624dd3
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
add eax, ecx
mov ecx, dword [esp + 0x40]
cmp ecx, esi
mov dword [esp + 0x4c], eax
jg 0x6700b5
mov dword [esp + 0x5c], esi
jmp 0x6700d4
mov ecx, dword [esp + 0x40]
imul ecx, ecx, 0x1f4
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x5c], eax
movzx eax, bl
xor ecx, ecx
shl eax, 0xd
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0069c0de
add esp, 4
cmp eax, esi
mov dword [esp + 0x44], eax
jne 0x670118
mov edi, dword [ebp + 8]
push esi
mov dword [edi], 2
call fcn.0069c8fa
mov eax, edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [esp + 0x150]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x30], esi
call fcn.0066cdd0
lea ecx, [esp + 0x1a8]
call fcn.0066cdd0
mov eax, SysReAllocStringLen
mov dword [esp + 0x70], eax
mov dword [esp + 0x78], eax
mov eax, 1
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov al, byte [edi + 0x2c]
neg al
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
sbb eax, eax
and eax, 0xffffff9b
add eax, 0x64
mov dword [esp + 0x68], eax
mov eax, dword [edi + 0x31]
cmp eax, esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x64], esi
je 0x6701a6
mov dword [esp + 0x58], eax
jmp 0x6701af
mov ecx, dword [edi]
mov edx, dword [ecx + 0x5e]
mov dword [esp + 0x58], edx
mov ecx, dword [edi + 0x2d]
cmp ecx, esi
jne 0x6701c4
cmp eax, esi
jne 0x6701c4
mov byte [esp + 0x2e], 0
jmp 0x67031d
mov eax, dword [edi + 0xc]
cmp eax, esi
mov byte [esp + 0x2e], 1
je 0x6702b8
cmp byte [eax + 0xd], 0
setne al
test al, al
jne 0x6702b8
mov esi, dword [edi + 0x35]
test esi, esi
jne 0x6701ec
mov esi, ecx
mov ecx, dword [edi + 0xc]
test ecx, ecx
lea ebx, [edi + 0xc]
je 0x6702a9
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
je 0x6702a9
fld qword [esp + 0x98]
mov eax, dword [ebp + 0xc]
push esi
fstp qword [esp + 0xac]
fld qword [0x7235e0]
push ebx
lea ecx, [esp + 0xa8]
fstp qword [esp + 0xb8]
push ecx
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], 0x6dbc50
call fcn.0066fb80
mov eax, dword [esp + 0x38]
test eax, eax
je 0x6702b8
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [esp + 0x90]
test eax, eax
mov dword [esp + 0xa0], 0x70c5e4
je 0x670279
push eax
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x1a8]
call fcn.004d0c50
lea ecx, [esp + 0x150]
call fcn.004d0c50
mov eax, dword [esp + 0x44]
push eax
call fcn.0069c8fa
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea edx, [esp + 0x38]
mov eax, ebx
mov dword [esp + 0x38], esi
call fcn.005fccb0
xor esi, esi
cmp dword [edi + 0x1f], esi
jne 0x67031d
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edi + 0x2d]
mov edx, dword [edx + 0x10]
push eax
call edx
lea ecx, [esp + 0xb8]
call fcn.0066cdd0
mov edx, dword [esp + 0x68]
mov ecx, dword [edi]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
push edx
lea edx, [esp + 0xbc]
push edx
mov edx, dword [ebp + 0xc]
push edx
call eax
test al, al
je 0x670304
mov eax, dword [esp + 0x108]
sub eax, dword [edi + 0x2d]
mov dword [esp + 0x64], eax
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edi + 0x2d]
mov edx, dword [edx + 0x10]
push eax
call edx
lea ecx, [esp + 0xb8]
call fcn.004d0c50
xor ebx, ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x67098b
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x670998
cmp dword [esp + 0x50], 0x12c
jae 0x6709a5
add edi, 0xc
mov byte [esp + 0x2d], al
mov eax, dword [edi]
cmp eax, esi
je 0x67048e
cmp byte [eax + 0xd], 0
setne al
test al, al
jne 0x67048e
mov ecx, dword [edi]
cmp ecx, esi
je 0x670383
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
jne 0x6703af
mov ecx, dword [edi]
cmp ecx, esi
je 0x670394
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
jmp 0x670396
xor esi, esi
mov ecx, dword [edi]
test ecx, ecx
je 0x6703a5
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
jmp 0x6703a7
xor eax, eax
cmp esi, eax
jge 0x67048c
mov esi, dword [ebp + 0x10]
call fcn.0066f910
mov edi, eax
test edi, edi
setg al
test al, al
mov byte [esp + 0x2d], al
je 0x6703ce
mov dword [esp + 0x50], 0
test edi, edi
jle 0x6703de
mov eax, dword [esp + 0x5c]
cmp edi, eax
jl 0x6703e0
mov edi, eax
jmp 0x6703e0
xor edi, edi
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
mov edx, dword [eax]
add dword [esp + 0x4c], edi
mov ecx, ebx
call edx
test al, al
jne 0x67045c
cmp edi, 0x2000
jge 0x67041d
test edi, edi
mov esi, edi
jle 0x67045c
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 0xc]
add eax, 0xc
test ecx, ecx
je 0x670424
mov eax, dword [ecx]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 4]
push esi
push edx
call eax
jmp 0x67043b
mov esi, 0x2000
jmp 0x670401
mov ecx, dword [esp + 0x44]
lea eax, [esi*4]
push eax
push 0
push ecx
call fcn.006a1300
add esp, 0xc
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 0x10]
mov eax, dword [ecx]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 4]
push esi
push edx
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
sub edi, esi
call eax
test al, al
je 0x6703f3
mov esi, dword [esp + 0x40]
test esi, esi
jg 0x670468
xor eax, eax
jmp 0x670484
mov eax, dword [esp + 0x4c]
cdq
idiv esi
mov ecx, eax
mov eax, edx
imul ecx, ecx, 0x3e8
imul eax, eax, 0x3e8
cdq
idiv esi
add eax, ecx
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x48], eax
xor esi, esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, 1
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov eax, dword [edx]
mov dword [esp + 0xb8], 0xffffffff
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xe0], esi
mov dword [esp + 0xe4], esi
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], esi
mov dword [esp + 0xfc], esi
mov dword [esp + 0x100], esi
mov dword [esp + 0x104], esi
call eax
test al, al
jne 0x670952
jmp 0x670540
mov edi, dword [ebp + 0x10]
cmp dword [edi + 0x1f], 0
jne 0x6707b2
cmp byte [esp + 0x2d], 0
je 0x670560
cmp ebx, dword [esp + 0x48]
jge 0x670952
jmp 0x67058f
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670572
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
jmp 0x670574
xor esi, esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670584
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x670586
xor eax, eax
sub esi, eax
test esi, esi
setg byte [esp + 0x2d]
fld qword [esp + 0x98]
mov eax, dword [esp + 0x68]
mov esi, dword [ebp + 0xc]
fstp qword [esp + 0xa8]
fldz
mov ecx, dword [edi]
push eax
fstp qword [esp + 0xb4]
lea eax, [esp + 0x154]
push eax
mov dword [esp + 0xac], esi
mov dword [esp + 0xa8], 0x6dbc50
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0xa8]
push eax
call edx
test al, al
je 0x6708f4
cmp byte [esp + 0x37], 0
mov eax, dword [esp + 0x1a0]
mov ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x50], 0
jne 0x67079f
mov byte [esp + 0x37], 1
mov ecx, dword [edi + 0x2d]
add ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x150]
mov dword [esp + 0x60], eax
sub eax, ecx
mov dword [esp + 0x1a0], eax
mov esi, eax
mov eax, dword [edi + 8]
cmp edx, dword [eax + 5]
je 0x67070c
mov ecx, dword [eax + 5]
mov edx, dword [eax + 9]
mov dword [esp + 0x110], ecx
mov ecx, dword [eax + 0xd]
mov dword [esp + 0x114], edx
mov edx, dword [eax + 0x11]
mov dword [esp + 0x118], ecx
mov ecx, dword [eax + 0x15]
mov dword [esp + 0x11c], edx
mov edx, dword [eax + 0x19]
mov dword [esp + 0x120], ecx
mov ecx, dword [eax + 0x1d]
mov dword [esp + 0x124], edx
mov edx, dword [eax + 0x21]
mov dword [esp + 0x128], ecx
mov ecx, dword [eax + 0x25]
mov dword [esp + 0x12c], edx
mov edx, dword [eax + 0x29]
mov dword [esp + 0x130], ecx
mov ecx, dword [eax + 0x2d]
mov dword [esp + 0x134], edx
mov edx, dword [eax + 0x31]
mov dword [esp + 0x138], ecx
mov ecx, dword [eax + 0x35]
mov dword [esp + 0x13c], edx
mov edx, dword [eax + 0x39]
mov dword [esp + 0x140], ecx
mov ecx, dword [eax + 0x3d]
mov dword [esp + 0x144], edx
mov edx, dword [eax + 0x41]
lea eax, [esp + 0x110]
mov dword [esp + 0x148], ecx
push eax
lea ecx, [esp + 0xbc]
push ecx
mov dword [esp + 0x154], edx
call fcn.004d22f0
lea edx, [esp + 0x150]
lea ecx, [esp + 0xb8]
call fcn.004d6750
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x154]
push eax
call fcn.004d1300
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x150]
push eax
call edx
test al, al
je 0x670934
lea eax, [esp + 0x150]
lea edi, [esp + 0x1a8]
call fcn.004d1240
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
xor edi, edi
cmp byte [esp + 0x2e], 0
mov dword [esp + 0x1f8], eax
mov dword [esp + 0x1fc], ecx
mov dword [esp + 0x1a0], edi
mov dword [esp + 0x1a4], edi
je 0x6708a0
cmp ebx, dword [esp + 0x58]
jl 0x6708a0
mov dword [esp + 0x30], edi
mov edi, dword [ebp + 0x10]
lea ecx, [esp + 0xb8]
call fcn.004d0c50
xor esi, esi
cmp dword [edi + 0x1f], esi
jne 0x6709ae
mov eax, ebx
jmp 0x6709e9
cmp eax, dword [esp + 0x60]
jg 0x670606
mov byte [edi + 0x18], 1
jmp 0x6708e1
mov eax, dword [esp + 0x80]
cdq
push edx
push eax
mov eax, dword [esp + 0x84]
push 0
cdq
push 0x3e8
push edx
push eax
call fcn.006abd10
push edx
mov edx, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push edx
push eax
mov ecx, 5
call fcn.006601c0
cmp byte [esp + 0x2d], 0
mov ebx, eax
mov dword [esp + 0x38], ebx
je 0x670807
cmp ebx, dword [esp + 0x48]
jge 0x670952
jmp 0x670836
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670819
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov esi, eax
jmp 0x67081b
xor esi, esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x67082b
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
jmp 0x67082d
xor eax, eax
sub esi, eax
test esi, esi
setg byte [esp + 0x2d]
mov ecx, dword [edi + 0x1f]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x6c]
push eax
push 0
push 0xffffffffffffffff
call edx
test al, al
je 0x670973
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x23]
lea edi, [esp + 0x6c]
call fcn.00658420
mov eax, dword [esp + 0x80]
cdq
push edx
push eax
mov eax, dword [esp + 0x84]
push 0
cdq
push 0x3e8
push edx
push eax
call fcn.006abd10
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push edx
mov ecx, 5
call fcn.006601c0
mov esi, eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x54]
jb 0x6708cf
mov eax, dword [esp + 0x3c]
mov ecx, dword [ebp + 0xc]
push eax
push esi
push ecx
call fcn.0066fe60
fstp qword [esp + 0x98]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x64
mov dword [esp + 0x54], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 0x14]
cmp eax, edi
jle 0x6708e1
cmp eax, esi
jle 0x670980
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
je 0x670540
jmp 0x670952
cmp byte [edi + 0x2c], 0
je 0x67091c
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x67094a
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
test al, al
je 0x670973
mov dword [esp + 0x30], 1
jmp 0x670952
mov eax, dword [edi]
mov ecx, dword [esp + 0x48]
cmp ecx, dword [eax + 0x5e]
jl 0x67092d
cmp byte [edi + 0x2b], 0
jne 0x670973
add dword [esp + 0x50], 1
jmp 0x670952
mov byte [edi + 0x19], 1
mov ecx, dword [edi + 8]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
cmp al, 8
jne 0x67094a
mov byte [edi + 0x1a], 1
mov dword [esp + 0x30], 2
lea ecx, [esp + 0xb8]
call fcn.004d0c50
cmp dword [esp + 0x30], 0
jne 0x670ab3
mov edi, dword [ebp + 0x10]
xor esi, esi
jmp 0x670323
mov dword [esp + 0x30], 0
jmp 0x670781
mov dword [esp + 0x30], edi
mov edi, edx
jmp 0x670781
mov dword [esp + 0x30], 1
jmp 0x670ab3
mov dword [esp + 0x30], 2
jmp 0x670ab3
mov dword [esp + 0x30], esi
jmp 0x67078f
mov eax, dword [esp + 0x80]
cdq
push edx
push eax
mov eax, dword [esp + 0x84]
push esi
cdq
push 0x3e8
push edx
push eax
call fcn.006abd10
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0x80]
push eax
push ecx
push edx
mov ecx, 5
call fcn.006601c0
mov edi, dword [esp + 0x40]
call fcn.006621b0
mov edi, dword [ebp + 0x10]
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], 0
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670a17
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
test al, al
jne 0x670a41
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670a29
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov esi, eax
jmp 0x670a2b
xor esi, esi
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x670a3b
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
jmp 0x670a3d
xor eax, eax
cmp esi, eax
jge 0x670a9a
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
test al, al
jne 0x670a9a
cmp byte [edi + 0x2b], al
je 0x670a5d
mov eax, dword [esp + 0x4c]
cmp eax, dword [esp + 0x54]
jge 0x670a9a
mov esi, edi
call fcn.0066f910
mov esi, eax
test esi, esi
jg 0x670af2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push 0x1e
lea eax, [esp + 0x5c]
push eax
call edx
cmp dword [eax], 0
jne 0x670a9a
mov eax, dword [esp + 0x38]
add eax, 0x1e
cmp eax, 0xbb8
mov dword [esp + 0x38], eax
jl 0x670a05
cmp byte [esp + 0x2f], 0
jne 0x670ab3
mov ecx, dword [ebp + 0xc]
fld1
mov eax, dword [ecx]
mov edx, dword [eax + 0x24]
sub esp, 8
fstp qword [esp]
call edx
cmp byte [esp + 0x2e], 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 0x5e]
mov dword [ebx + 0x1b], ecx
jne 0x670b56
lea edi, [esp + 0x54]
lea eax, [ebx + 0xc]
call fcn.005fcd20
mov eax, dword [eax]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
jg 0x670ae2
mov eax, ecx
mov edx, dword [ebx + 4]
lea edi, [ebx + 4]
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
jmp 0x670b68
xor eax, eax
cmp esi, 0x2000
mov dword [esp + 0x38], eax
jl 0x670b05
mov esi, 0x2000
mov ecx, dword [edi + 0xc]
cmp ecx, eax
je 0x670b2a
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
push ebx
call edx
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
push ebx
call edx
add dword [esp + 0x4c], esi
jmp 0x670a05
cmp esi, eax
jle 0x670b35
lea eax, [esi*4]
push eax
push 0
push ebx
call fcn.006a1300
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
add esp, 0xc
push esi
push ebx
call edx
add dword [esp + 0x4c], esi
jmp 0x670a05
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 4]
lea edi, [ebx + 4]
push eax
mov ecx, edi
call edx
lea eax, [ebx + 0xc]
call fcn.005ebe90
lea esi, [ebx + 0x10]
call fcn.005ebb80
mov eax, dword [ebx]
add eax, 0x62
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x670b99
mov ecx, dword [ebx]
test ecx, ecx
je 0x670b99
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
call fcn.0067fc80
mov dword [ebx], eax
mov ecx, dword [eax + 0x62]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
call fcn.0067f980
mov esi, dword [ebp + 0xc]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 1
push 0x6bc0cc
mov ecx, esi
call eax
cmp byte [esp + 0x2f], 0
je 0x670bd2
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
mov ecx, esi
call eax
mov eax, dword [esp + 0x90]
test eax, eax
mov esi, dword [ebp + 8]
mov ecx, dword [esp + 0x30]
mov dword [esi], ecx
je 0x670bef
push eax
call fcn.0069c8fa
add esp, 4
lea ecx, [esp + 0x1a8]
call fcn.004d0c50
lea ecx, [esp + 0x150]
call fcn.004d0c50
mov edx, dword [esp + 0x44]
push edx
call fcn.0069c8fa
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc