Function at 0x10025a70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b87c
mov eax, dword fs:[0]
push eax
sub esp, 0x84
push ebx
push esi
push edi
mov eax, dword [0x10064008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], 0
mov eax, dword [ecx + 0xc]
mov esi, dword [eax + 0x2c]
mov edx, esi
mov eax, dword [eax + 0x30]
cmp esi, eax
mov dword [ebp - 0x64], esi
cmovl edx, eax
mov dword [ebp - 0x54], eax
xor edi, edi
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], edi
push dword [ecx + 8]
mov ecx, ebx
call fcn.100259f0
test esi, esi
mov dword [ebp - 0x30], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x50], edi
jle 0x100268dc
xor edi, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x58], ecx
mov byte [ebp - 4], 2
mov eax, dword [ebx]
mov eax, dword [eax + 0x88]
sub eax, 1
mov dword [ebp - 0x14], eax
js 0x100267a2
mov esi, eax
nop dword [eax]
mov eax, dword [ebx]
cmp esi, dword [eax + 0x88]
jae 0x10025b45
mov eax, dword [eax + 0x80]
mov ebx, dword [eax + esi*4]
jmp 0x10025b47
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov eax, dword [ebx + 8]
cmp eax, dword [ecx + 8]
jne 0x10025c5f
mov eax, dword [ebp - 0x50]
cmp dword [ebx + 0xc], eax
jne 0x10025c5f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx]
inc ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], ecx
cmp ecx, edi
jle 0x10025bd0
mov eax, ecx
test eax, eax
jns 0x10025b7b
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [ebp - 0x1c], edi
je 0x10025bd0
test edi, edi
jle 0x10025bb5
mov ecx, dword [ebp - 0x20]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10025ba7
call fcn.10035da6
mov dword [ebp - 0x20], eax
jmp 0x10025bc4
push ecx
call fcn.10036008
add esp, 8
mov dword [ebp - 0x20], eax
jmp 0x10025bc7
push dword [ebp - 0x20]
call fcn.10035d3c
mov dword [ebp - 0x20], 0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*4]
test eax, eax
je 0x10025be5
mov ecx, dword [ebp - 0x34]
mov dword [eax], ecx
mov ecx, dword [ebx + 4]
mov ebx, dword [ebp - 0x58]
inc ebx
mov dword [ebp - 0x14], ecx
cmp ebx, edx
jle 0x10025c4a
mov eax, ebx
test eax, eax
jns 0x10025bfc
add eax, 1
sar eax, 1
lea edi, [ebx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x10025c4a
test edi, edi
jle 0x10025c32
mov ecx, dword [ebp - 0x60]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10025c27
call fcn.10035da6
add esp, 4
jmp 0x10025c3f
push ecx
call fcn.10036008
add esp, 8
jmp 0x10025c3f
push dword [ebp - 0x60]
call fcn.10035d3c
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x58]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x58], ebx
mov ebx, dword [ebp - 0x60]
lea eax, [ebx + eax*4]
test eax, eax
je 0x10025c5f
mov dword [eax], ecx
sub esi, 1
mov ebx, dword [ebp - 0x10]
jns 0x10025b30
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
test eax, eax
je 0x100267a2
cmp eax, 1
jne 0x10025ece
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov edi, dword [eax]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x34], edi
push dword [eax]
push edi
call fcn.10027320
mov ecx, dword [ebp - 0x50]
mov ebx, eax
xor eax, eax
test ebx, ebx
cmovs ebx, eax
mov dword [ebp - 0x2c], ebx
cmp ecx, dword [ebp - 0x54]
jge 0x10025d71
mov eax, dword [ebp - 0x60]
push dword [eax]
push edi
push ecx
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.10027530
test al, al
je 0x10025d71
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10027140
push 0xc
mov dword [ebp - 0x40], eax
call fcn.1002e989
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x74], edx
mov dword [edx], vtable.GraphRenderingOps::CopyChannelOp.0
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
inc ecx
cmp ecx, ebx
jle 0x10025d57
mov eax, ecx
test eax, eax
jns 0x10025d08
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp ebx, edi
je 0x10025d54
test edi, edi
jle 0x10025d3e
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10025d31
call fcn.10035da6
mov dword [esi], eax
jmp 0x10025d4b
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10025d4e
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x74]
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x34]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10025d6b
mov dword [eax], edx
mov ebx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x2c]
mov ecx, edx
mov eax, dword [eax + 0x34]
lea eax, [ecx + eax*4]
cmp ecx, eax
je 0x10025d8e
cmp edi, dword [ecx]
je 0x10025da1
add ecx, 4
cmp ecx, eax
jne 0x10025d83
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x40]
jae 0x10025da8
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ecx*4]
jmp 0x10025daa
sub ecx, edx
sar ecx, 2
jmp 0x10025d91
xor edi, edi
cmp edi, dword [ebp - 0x30]
jge 0x10025e76
push 0x18
call fcn.1002e989
mov ecx, eax
mov dword [ebp - 0x78], ecx
mov eax, dword [ebp - 0x30]
sub eax, edi
mov dword [ecx], vtable.GraphRenderingOps::DelayChannelOp.0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 5
lea edi, [eax + 1]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
push dword [ecx + 4]
call fcn.10035d3c
push 4
push edi
call fcn.10035ffd
mov ebx, dword [ebp - 0x78]
add esp, 0x10
mov byte [ebp - 4], 2
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
inc ecx
cmp ecx, edx
jle 0x10025e62
mov eax, ecx
test eax, eax
jns 0x10025e19
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x10025e62
test edi, edi
jle 0x10025e4f
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10025e42
call fcn.10035da6
mov dword [esi], eax
jmp 0x10025e5c
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10025e5f
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10025e76
mov dword [eax], ebx
mov ebx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
inc ecx
mov dword [ebp - 0x14], ecx
cmp ecx, edx
jle 0x10026878
mov eax, ecx
test eax, eax
jns 0x10025e94
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x10026878
test edi, edi
jle 0x1002685e
mov ecx, dword [ebp - 0x4c]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026850
call fcn.10035da6
mov dword [ebp - 0x4c], eax
jmp 0x1002686d
xor edx, edx
mov dword [ebp - 0x24], edx
test eax, eax
jle 0x100260be
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x60]
sub ecx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], ecx
nop dword [eax]
mov ecx, dword [ecx + eax]
mov edx, dword [eax]
mov dword [ebp - 0x14], edx
cmp ecx, 0x1000
jne 0x10025f20
mov edi, dword [ebp - 0x10]
mov ebx, dword [edi + 0x28]
sub ebx, 1
mov dword [ebp - 0x2c], ebx
js 0x10025f81
mov eax, dword [edi + 0x20]
cmp dword [eax + ebx*4], edx
je 0x10025f67
sub ebx, 1
mov dword [ebp - 0x2c], ebx
jns 0x10025f11
jmp 0x10025f7e
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ecx + 0x1c]
sub ebx, 1
mov dword [ebp - 0x2c], ebx
js 0x10025f81
mov eax, ecx
mov edi, dword [eax + 0x14]
cmp dword [edi + ebx*4], edx
lea ecx, [ebx*4]
jne 0x10025f5a
mov eax, dword [eax + 8]
mov esi, dword [ebp - 0x28]
add eax, ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [edx + esi]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp - 0x14]
cmp dword [eax], ecx
je 0x10025f64
mov eax, dword [ebp - 0x10]
sub ebx, 1
mov dword [ebp - 0x2c], ebx
jns 0x10025f33
jmp 0x10025f7e
mov edi, dword [ebp - 0x10]
test ebx, ebx
js 0x10025f7e
push ecx
push edx
push dword [ebp - 0x50]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.10027530
test al, al
je 0x10025f9f
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
add eax, 4
inc ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
cmp ebx, dword [ebp - 0x18]
jge 0x100260be
mov ecx, dword [ebp - 0x34]
jmp 0x10025ef0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov edi, dword [edi + 0x2c]
mov ecx, edi
mov edx, dword [eax + edx*4]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
lea eax, [ecx + eax*4]
cmp ecx, eax
je 0x10025fcb
nop word [eax + eax]
cmp edx, dword [ecx]
je 0x10025fde
add ecx, 4
cmp ecx, eax
jne 0x10025fc0
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x40]
jae 0x10025fe5
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ecx*4]
jmp 0x10025fe7
sub ecx, edi
sar ecx, 2
jmp 0x10025fce
xor edi, edi
cmp edi, dword [ebp - 0x30]
jge 0x100260b3
push 0x18
call fcn.1002e989
mov ecx, eax
mov dword [ebp - 0x7c], ecx
mov eax, dword [ebp - 0x30]
sub eax, edi
mov dword [ecx], vtable.GraphRenderingOps::DelayChannelOp.0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 8
lea edi, [eax + 1]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
push dword [ecx + 4]
call fcn.10035d3c
push 4
push edi
call fcn.10035ffd
mov ebx, dword [ebp - 0x7c]
add esp, 0x10
mov byte [ebp - 4], 2
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
inc ecx
cmp ecx, edx
jle 0x1002609f
mov eax, ecx
test eax, eax
jns 0x10026056
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x1002609f
test edi, edi
jle 0x1002608c
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x1002607f
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026099
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x1002609c
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x100260b3
mov dword [eax], ebx
mov edx, dword [ebp - 0x24]
test edx, edx
jns 0x100263a1
mov edi, dword [ebp - 0x10]
mov ecx, edi
push 0
call fcn.10027140
mov ecx, dword [ebp - 0x20]
mov ebx, eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], ebx
mov edx, dword [ecx]
mov eax, dword [eax]
cmp eax, 0x1000
jne 0x1002616a
mov edi, dword [edi + 0x28]
sub edi, 1
js 0x10026100
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
cmp dword [eax + edi*4], edx
je 0x100261ad
sub edi, 1
jns 0x100260f2
push 8
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp - 0x84], edx
mov dword [edx], vtable.GraphRenderingOps::ClearChannelOp.0
mov dword [edx + 4], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026261
mov eax, ecx
test eax, eax
jns 0x10026131
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026261
test edi, edi
jle 0x10026248
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x1002623b
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026255
mov edi, dword [edi + 0x1c]
sub edi, 1
js 0x10026100
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
nop dword [eax + eax]
cmp dword [eax + edi*4], edx
lea ecx, [edi*4]
jne 0x100261a3
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x60]
mov eax, dword [eax + 8]
add eax, ecx
mov ecx, dword [esi]
mov esi, dword [ebp + 0xc]
cmp dword [eax], ecx
je 0x100261ad
mov eax, dword [ebp - 0x14]
sub edi, 1
jns 0x10026180
jmp 0x10026100
test edi, edi
js 0x10026100
push 0xc
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp - 0x80], edx
mov dword [edx], vtable.GraphRenderingOps::CopyChannelOp.0
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026261
mov eax, ecx
test eax, eax
jns 0x100261e6
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026261
test edi, edi
jle 0x10026226
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026216
call fcn.10035da6
mov edx, dword [ebp - 0x80]
add esp, 4
mov dword [esi], eax
jmp 0x1002625e
push ecx
call fcn.10036008
mov edx, dword [ebp - 0x80]
add esp, 8
mov dword [esi], eax
jmp 0x1002625e
push dword [esi]
call fcn.10035d3c
mov edx, dword [ebp - 0x80]
add esp, 4
mov dword [esi], 0
jmp 0x1002625e
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026258
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x84]
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10026275
mov dword [eax], edx
xor edx, edx
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x18], edx
jle 0x10026286
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
jmp 0x10026288
xor edx, edx
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x2c]
mov ecx, edi
mov eax, dword [eax + 0x34]
lea eax, [ecx + eax*4]
cmp ecx, eax
je 0x100262ab
nop word [eax + eax]
cmp edx, dword [ecx]
je 0x100262be
add ecx, 4
cmp ecx, eax
jne 0x100262a0
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x40]
jae 0x100262c5
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ecx*4]
jmp 0x100262c7
sub ecx, edi
sar ecx, 2
jmp 0x100262ae
xor edi, edi
cmp edi, dword [ebp - 0x30]
jge 0x1002639e
push 0x18
call fcn.1002e989
mov ecx, eax
mov dword [ebp - 0x88], ecx
mov eax, dword [ebp - 0x30]
sub eax, edi
mov dword [ecx], vtable.GraphRenderingOps::DelayChannelOp.0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 0xb
lea edi, [eax + 1]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
push dword [ecx + 4]
call fcn.10035d3c
push 4
push edi
call fcn.10035ffd
mov ebx, dword [ebp - 0x88]
add esp, 0x10
mov byte [ebp - 4], 2
mov dword [ebx + 4], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
inc ecx
cmp ecx, edx
jle 0x10026385
mov eax, ecx
test eax, eax
jns 0x1002633c
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x10026385
test edi, edi
jle 0x10026372
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026365
call fcn.10035da6
mov dword [esi], eax
jmp 0x1002637f
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026382
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x24]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x100263a1
mov dword [eax], ebx
jmp 0x100263a1
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x40], ecx
cmp dword [ebp - 0x18], ecx
jle 0x10025e76
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x60]
mov ebx, dword [ebp - 0x18]
sub eax, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], eax
cmp ecx, edx
je 0x1002643b
mov eax, dword [edi + eax]
cmp eax, 0x1000
mov edx, dword [edi]
mov eax, dword [ebp - 0x10]
jne 0x100263ec
mov ebx, dword [eax + 0x28]
sub ebx, 1
js 0x10026432
mov eax, dword [eax + 0x20]
nop
cmp dword [eax + ebx*4], edx
je 0x10026458
sub ebx, 1
jns 0x100263e0
jmp 0x10026432
mov ebx, dword [eax + 0x1c]
sub ebx, 1
js 0x10026432
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x14], edi
nop word [eax + eax]
cmp dword [edi + ebx*4], edx
lea ecx, [ebx*4]
jne 0x10026427
mov eax, dword [eax + 8]
mov esi, dword [ebp - 0x28]
add eax, ecx
mov edi, dword [ebp - 0x38]
mov ecx, dword [esi + edi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
cmp dword [eax], ecx
je 0x10026452
mov eax, dword [ebp - 0x10]
sub ebx, 1
jns 0x10026400
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x24]
inc ecx
add edi, 4
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x28], edi
cmp ecx, ebx
jl 0x100263c0
jmp 0x10025e76
mov ecx, dword [ebp - 0x40]
mov edi, dword [ebp - 0x28]
test ebx, ebx
js 0x10026432
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x2c]
mov ecx, edi
mov eax, dword [eax + 0x34]
lea eax, [ecx + eax*4]
cmp ecx, eax
je 0x1002647b
nop
cmp edx, dword [ecx]
je 0x1002648e
add ecx, 4
cmp ecx, eax
jne 0x10026470
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x40]
jae 0x10026495
mov eax, dword [eax + 0x38]
mov edi, dword [eax + ecx*4]
jmp 0x10026497
sub ecx, edi
sar ecx, 2
jmp 0x1002647e
xor edi, edi
mov dword [ebp - 0x14], edi
cmp edi, dword [ebp - 0x30]
jge 0x100266fe
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x38]
mov eax, dword [ecx + esi]
mov ecx, dword [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x50]
push dword [ebp + 0x10]
call fcn.10027530
mov esi, dword [ebp + 0xc]
test al, al
jne 0x10026595
push 0x18
call fcn.1002e989
mov ecx, eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp - 0x30]
sub eax, edi
mov dword [ecx], vtable.GraphRenderingOps::DelayChannelOp.0
mov dword [ecx + 4], 0
mov byte [ebp - 4], 0xe
lea edi, [eax + 1]
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], eax
push dword [ecx + 4]
call fcn.10035d3c
push 4
push edi
call fcn.10035ffd
mov edx, dword [ebp - 0x6c]
add esp, 0x10
mov byte [ebp - 4], 2
mov dword [edx + 4], eax
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026578
mov eax, ecx
test eax, eax
jns 0x1002652b
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026578
test edi, edi
jle 0x10026562
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026555
call fcn.10035da6
mov dword [esi], eax
jmp 0x1002656f
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026572
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x6c]
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x100266fe
mov dword [eax], edx
jmp 0x100266fe
mov ecx, dword [ebp - 0x10]
push 0
call fcn.10027140
push 0xc
mov dword [ebp - 0x34], eax
call fcn.1002e989
mov edi, eax
add esp, 4
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x70], edi
mov dword [edi], vtable.GraphRenderingOps::CopyChannelOp.0
mov dword [edi + 4], ebx
mov dword [edi + 8], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
inc ecx
cmp ecx, edx
jle 0x10026620
mov eax, ecx
test eax, eax
jns 0x100265d4
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x1002661d
test edi, edi
jle 0x1002660a
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x100265fd
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026617
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x1002661a
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x70]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10026634
mov dword [eax], edi
push 0x18
call fcn.1002e989
mov ebx, eax
mov dword [ebp - 0x90], ebx
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
mov dword [ebx], vtable.GraphRenderingOps::DelayChannelOp.0
mov dword [ebx + 4], 0
mov ecx, dword [ebp - 0x34]
lea edi, [eax + 1]
mov byte [ebp - 4], 0x11
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], eax
push dword [ebx + 4]
call fcn.10035d3c
push 4
push edi
call fcn.10035ffd
mov dword [ebx + 4], eax
add esp, 0x10
mov byte [ebp - 4], 2
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
inc ecx
cmp ecx, edx
jle 0x100266e7
mov eax, ecx
test eax, eax
jns 0x1002669e
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp edx, edi
je 0x100266e7
test edi, edi
jle 0x100266d4
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x100266c7
call fcn.10035da6
mov dword [esi], eax
jmp 0x100266e1
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x100266e4
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x100266fb
mov dword [eax], ebx
mov ebx, dword [ebp - 0x34]
push 0xc
call fcn.1002e989
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x68], edx
mov dword [edx], vtable.GraphRenderingOps::AddChannelOp.0
mov dword [edx + 4], ebx
mov dword [edx + 8], eax
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
inc ecx
cmp ecx, ebx
jle 0x1002677c
mov eax, ecx
test eax, eax
jns 0x10026730
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp ebx, edi
je 0x1002677c
test edi, edi
jle 0x10026766
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026759
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026773
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026776
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x68]
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
mov edi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x40]
test eax, eax
je 0x10026435
mov dword [eax], edx
jmp 0x10026435
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x50], eax
jl 0x100267b1
xor ebx, ebx
jmp 0x10025e79
push 0
mov ecx, ebx
call fcn.10027140
push 8
mov ebx, eax
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp - 0x3c], edx
mov dword [edx], vtable.GraphRenderingOps::ClearChannelOp.0
mov dword [edx + 4], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026833
mov eax, ecx
test eax, eax
jns 0x100267e6
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026833
test edi, edi
jle 0x1002681d
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026810
call fcn.10035da6
mov dword [esi], eax
jmp 0x1002682a
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x1002682d
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x3c]
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10025e79
mov dword [eax], edx
jmp 0x10025e79
push ecx
call fcn.10036008
add esp, 8
mov dword [ebp - 0x4c], eax
jmp 0x10026870
push dword [ebp - 0x4c]
call fcn.10035d3c
mov dword [ebp - 0x4c], 0
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x4c]
lea eax, [ecx + eax*4]
test eax, eax
je 0x1002688a
mov dword [eax], ebx
mov edi, dword [ebp - 0x50]
cmp edi, dword [ebp - 0x54]
jge 0x100268a6
mov eax, dword [ebp + 8]
push edi
push dword [eax + 8]
push ebx
mov ebx, dword [ebp - 0x10]
mov ecx, ebx
call fcn.10027660
jmp 0x100268a9
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x12
push dword [ebp - 0x60]
call fcn.10035d3c
mov byte [ebp - 4], 0x13
push dword [ebp - 0x20]
call fcn.10035d3c
mov eax, dword [ebp - 0x64]
inc edi
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - 0x50], edi
cmp edi, eax
jl 0x10025af3
mov edi, dword [ebp - 0x48]
jmp 0x100268df
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x54]
jge 0x100269aa
mov esi, dword [ebp - 0x4c]
nop dword [eax + eax]
push 0
mov ecx, ebx
call fcn.10027140
mov ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
lea ebx, [eax + 1]
cmp ebx, edi
jle 0x10026977
mov ecx, ebx
test ecx, ecx
jns 0x10026911
add ecx, 1
sar ecx, 1
lea edi, [ebx + 8]
add edi, ecx
and edi, 0xfffffff8
cmp dword [ebp - 0x48], edi
je 0x10026971
test edi, edi
jle 0x1002695b
lea eax, [edi*4]
push eax
test esi, esi
jne 0x10026945
call fcn.10035da6
mov esi, eax
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x4c], esi
jmp 0x10026974
push esi
call fcn.10036008
mov esi, eax
mov dword [ebp - 0x48], edi
mov eax, dword [ebp - 0x44]
add esp, 8
mov dword [ebp - 0x4c], esi
jmp 0x10026974
push esi
call fcn.10035d3c
mov eax, dword [ebp - 0x44]
add esp, 4
xor esi, esi
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], esi
jmp 0x10026974
mov edi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x14]
lea eax, [esi + eax*4]
mov dword [ebp - 0x44], ebx
test eax, eax
je 0x10026983
mov dword [eax], ecx
mov eax, dword [ebp + 8]
push dword [ebp - 0x64]
mov ebx, dword [ebp - 0x10]
push dword [eax + 8]
push ecx
mov ecx, ebx
call fcn.10027660
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp eax, dword [ebp - 0x54]
jl 0x100268f0
mov esi, dword [ebp + 0xc]
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x14
mov eax, dword [eax]
mov edx, dword [eax + 0x88]
sub edx, 1
mov dword [ebp - 0x14], edx
js 0x10026eaf
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp edx, dword [eax + 0x88]
jae 0x100269ea
mov eax, dword [eax + 0x80]
mov ecx, dword [eax + edx*4]
jmp 0x100269ec
xor ecx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 8]
jne 0x10026aa1
cmp dword [ecx + 0xc], 0x1000
jne 0x10026aa1
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
inc ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], ecx
cmp ecx, ebx
jle 0x10026a8d
mov eax, ecx
test eax, eax
jns 0x10026a21
add eax, 1
sar eax, 1
lea ebx, [ecx + 8]
add ebx, eax
and ebx, 0xfffffff8
cmp dword [ebp - 0x1c], ebx
je 0x10026a8a
test ebx, ebx
jle 0x10026a71
lea eax, [ebx*4]
push eax
test edi, edi
jne 0x10026a58
call fcn.10035da6
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov edx, dword [ebp - 0x14]
add esp, 4
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
jmp 0x10026a8d
push edi
call fcn.10036008
mov ecx, dword [ebp - 0x3c]
mov edi, eax
mov edx, dword [ebp - 0x14]
add esp, 8
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
jmp 0x10026a8d
push edi
call fcn.10035d3c
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov edx, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], ebx
jmp 0x10026a8d
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], ecx
lea eax, [edi + eax*4]
test eax, eax
je 0x10026aa4
mov esi, dword [ebp - 0x68]
mov dword [eax], esi
jmp 0x10026aa4
mov ecx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x14], edx
jns 0x100269d2
mov esi, dword [ebp + 0xc]
test ecx, ecx
je 0x10026eaf
cmp ecx, 1
jne 0x10026be3
mov eax, dword [edi]
mov edi, dword [ebp - 0x10]
mov ebx, dword [edi + 0x28]
sub ebx, ecx
js 0x10026add
mov ecx, dword [edi + 0x20]
cmp dword [ecx + ebx*4], eax
je 0x10026aed
sub ebx, 1
jns 0x10026ad3
push 1
mov ecx, edi
call fcn.10027140
mov ebx, eax
jmp 0x10026baf
test ebx, ebx
js 0x10026add
push 0x1000
push eax
push 0x1000
push dword [ebp + 0x10]
mov ecx, edi
call fcn.10027530
test al, al
je 0x10026baf
push 1
mov ecx, edi
call fcn.10027140
mov edi, eax
push 0xc
mov dword [ebp + 0x10], edi
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp + 0xc], edx
mov dword [edx], vtable.GraphRenderingOps::CopyMidiBufferOp.0
mov dword [edx + 4], ebx
mov dword [edx + 8], edi
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
inc ecx
cmp ecx, ebx
jle 0x10026b96
mov eax, ecx
lea edi, [ecx + 8]
cdq
sub eax, edx
sar eax, 1
add edi, eax
and edi, 0xfffffff8
cmp ebx, edi
je 0x10026b90
test edi, edi
jle 0x10026b7d
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026b70
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026b8a
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026b8d
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10026baa
mov dword [eax], edx
mov ebx, edi
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x1002700f
mov eax, dword [ebp + 8]
mov ecx, dword [edi + 0x28]
mov edx, dword [eax + 8]
mov dword [ebp + 0xc], edx
cmp ebx, ecx
jae 0x10026f76
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], edx
jmp 0x1002700f
xor edx, edx
mov dword [ebp + 0xc], edx
test ecx, ecx
jle 0x10026c4b
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x28]
dec ebx
mov dword [ebp - 0x3c], ebx
mov eax, dword [edi + edx*4]
test ebx, ebx
js 0x10026c33
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x20]
cmp dword [ecx + ebx*4], eax
je 0x10026c0f
sub ebx, 1
jns 0x10026c03
jmp 0x10026c30
test ebx, ebx
js 0x10026c30
mov ecx, dword [ebp - 0x10]
push 0x1000
push eax
push 0x1000
push dword [ebp + 0x10]
call fcn.10027530
test al, al
je 0x10026c40
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
inc edx
mov dword [ebp + 0xc], edx
cmp edx, ecx
jge 0x10026c4b
mov ebx, dword [ebp - 0x3c]
jmp 0x10026bf6
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x10026db8
mov ecx, dword [ebp - 0x10]
push 1
call fcn.10027140
mov ecx, dword [ebp - 0x10]
mov ebx, eax
mov edx, dword [edi]
mov eax, dword [ecx + 0x28]
sub eax, 1
mov dword [ebp + 0xc], eax
js 0x10026c7d
mov ecx, dword [ecx + 0x20]
nop word [eax + eax]
cmp dword [ecx + eax*4], edx
je 0x10026cdf
sub eax, 1
mov dword [ebp + 0xc], eax
jns 0x10026c70
push 8
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp + 0xc], edx
mov dword [edx], vtable.GraphRenderingOps::ClearMidiBufferOp.0
mov dword [edx + 4], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026d9f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 8
add eax, ecx
and eax, 0xfffffff8
mov dword [ebp + 0x10], eax
cmp dword [esi + 4], eax
je 0x10026d9c
test eax, eax
jle 0x10026d86
mov ecx, dword [esi]
shl eax, 2
push eax
test ecx, ecx
jne 0x10026d79
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026d93
test eax, eax
js 0x10026c7d
push 0xc
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp + 0x10], edx
mov ecx, dword [ebp + 0xc]
mov dword [edx + 4], ecx
mov dword [edx], vtable.GraphRenderingOps::CopyMidiBufferOp.0
mov dword [edx + 8], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026d9f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, 8
add eax, ecx
and eax, 0xfffffff8
mov dword [ebp + 0xc], eax
cmp dword [esi + 4], eax
je 0x10026d74
test eax, eax
jle 0x10026d5e
mov ecx, dword [esi]
shl eax, 2
push eax
test ecx, ecx
jne 0x10026d48
call fcn.10035da6
mov edx, dword [ebp + 0x10]
add esp, 4
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x10026d9f
push ecx
call fcn.10036008
mov edx, dword [ebp + 0x10]
add esp, 8
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
jmp 0x10026d9f
push dword [esi]
call fcn.10035d3c
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], eax
mov edx, dword [ebp + 0x10]
jmp 0x10026d9f
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026d96
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [esi + 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10026db3
mov dword [eax], edx
xor eax, eax
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp + 0x10], edx
test ecx, ecx
jle 0x10026bac
cmp edx, eax
je 0x10026df7
mov ecx, dword [edi + edx*4]
mov edi, dword [ebp - 0x10]
mov edi, dword [edi + 0x28]
sub edi, 1
js 0x10026ea4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
cmp dword [eax + edi*4], ecx
je 0x10026e04
sub edi, 1
jns 0x10026de4
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
inc edx
mov dword [ebp + 0x10], edx
cmp edx, ecx
jl 0x10026dc8
jmp 0x10026bac
test edi, edi
js 0x10026dee
push 0xc
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp - 0x3c], edx
mov dword [edx], vtable.GraphRenderingOps::AddMidiBufferOp.0
mov dword [edx + 4], edi
mov dword [edx + 8], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026e82
mov eax, ecx
test eax, eax
jns 0x10026e35
add eax, 1
sar eax, 1
lea edi, [ecx + 8]
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026e82
test edi, edi
jle 0x10026e6c
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026e5f
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026e79
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026e7c
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov edx, dword [ebp - 0x3c]
mov dword [esi + 4], edi
mov ecx, dword [esi + 8]
mov edi, dword [ebp - 0x20]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x10026e9c
mov dword [eax], edx
mov edx, dword [ebp + 0x10]
jmp 0x10026df4
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
jmp 0x10026df7
mov edi, dword [ebp - 0x10]
mov ecx, edi
push 1
call fcn.10027140
mov ebx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10026ee3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
test al, al
je 0x10026baf
push 8
call fcn.1002e989
mov edx, eax
add esp, 4
mov dword [ebp + 0xc], edx
mov dword [edx], vtable.GraphRenderingOps::ClearMidiBufferOp.0
mov dword [edx + 4], ebx
mov ecx, dword [esi + 8]
inc ecx
cmp ecx, dword [esi + 4]
jle 0x10026f59
mov eax, ecx
lea edi, [ecx + 8]
cdq
sub eax, edx
sar eax, 1
add edi, eax
and edi, 0xfffffff8
cmp dword [esi + 4], edi
je 0x10026f53
test edi, edi
jle 0x10026f40
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026f33
call fcn.10035da6
mov dword [esi], eax
jmp 0x10026f4d
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x10026f50
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x10026baf
mov dword [eax], edx
jmp 0x10026baf
test ebx, ebx
js 0x1002700f
inc ecx
cmp ecx, dword [edi + 0x24]
jle 0x10026ffa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea edi, [eax + 8]
mov eax, dword [ebp - 0x10]
add edi, ecx
and edi, 0xfffffff8
cmp dword [eax + 0x24], edi
je 0x10026ff5
test edi, edi
jle 0x10026fd9
mov ecx, dword [eax + 0x20]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x10026fc3
call fcn.10035da6
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edi
mov edi, ecx
jmp 0x10026ff7
push ecx
call fcn.10036008
mov ecx, dword [ebp - 0x10]
add esp, 8
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edi
mov edi, ecx
jmp 0x10026ff7
push dword [eax + 0x20]
call fcn.10035d3c
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], edi
mov edi, ecx
jmp 0x10026ff7
mov edi, eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x28]
lea eax, [ecx + 1]
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x20]
lea eax, [eax + ecx*4]
test eax, eax
je 0x1002700f
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x34]
add eax, dword [ebp - 0x30]
push eax
push dword [ecx + 8]
mov ecx, edi
call fcn.10025920
cmp dword [ebp - 0x54], 0
jne 0x10027032
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x44], eax
push 0x24
call fcn.1002e989
mov edi, eax
add esp, 4
mov dword [ebp + 0xc], edi
mov eax, dword [ebp + 8]
mov dword [ebp + 0x10], eax
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ebx
push dword [ebp - 0x8c]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x16
push eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x3c], 1
push eax
mov ecx, edi
call fcn.10025490
mov edx, eax
mov dword [ebp + 0xc], edx
mov dword [ebp - 4], 0x17
mov ecx, dword [esi + 8]
mov ebx, dword [esi + 4]
inc ecx
cmp ecx, ebx
jle 0x100270da
mov eax, ecx
lea edi, [ecx + 8]
cdq
sub eax, edx
sar eax, 1
add edi, eax
and edi, 0xfffffff8
cmp ebx, edi
je 0x100270d7
test edi, edi
jle 0x100270c4
mov ecx, dword [esi]
lea eax, [edi*4]
push eax
test ecx, ecx
jne 0x100270b7
call fcn.10035da6
mov dword [esi], eax
jmp 0x100270d1
push ecx
call fcn.10036008
add esp, 8
mov dword [esi], eax
jmp 0x100270d4
push dword [esi]
call fcn.10035d3c
mov dword [esi], 0
add esp, 4
mov dword [esi + 4], edi
mov edx, dword [ebp + 0xc]
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov eax, dword [esi]
lea eax, [eax + ecx*4]
test eax, eax
je 0x100270ee
mov dword [eax], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0x14
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1002710e
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov byte [ebp - 4], 0x18
push dword [ebp - 0x20]
call fcn.10035d3c
mov dword [ebp - 4], 0x19
push dword [ebp - 0x4c]
call fcn.10035d3c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc