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

Disassembly:
sub esp, 0x7c
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x48], ebx
call fcn.0060a2b0
test eax, eax
je 0x607dc1
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebx
call fcn.0060a2f0
test eax, eax
je 0x607dc1
lea edx, [esp + 0x58]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x607dc1
lea eax, [esp + 0x88]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x607dc1
mov ecx, dword [ebx + 0xc4]
mov eax, dword [esp + 0x10]
imul ecx, dword [ebx + 0xc0]
cmp eax, ecx
jae 0x607db3
mov edx, dword [ebx + 0xc8]
shl eax, 6
add eax, edx
mov edx, dword [esp + 0x58]
mov ecx, dword [eax + 0x38]
cmp edx, ecx
jne 0x607db3
xor ebp, ebp
cmp edx, ebp
jbe 0x606571
cmp dword [eax], ebp
je 0x607db3
cmp edx, ebp
jne 0x60657b
cmp dword [eax], ebp
jne 0x607db3
inc ecx
lea edx, [esp + 0x18]
mov dword [eax + 0x38], ecx
mov eax, dword [esp + 0x38]
xor ecx, ecx
cmp eax, ebp
sete cl
sub eax, 0xc
mov dword [esp + 0x84], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x54]
push edx
push eax
mov ecx, ebx
call fcn.0060a1d0
test eax, eax
je 0x607468
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x54]
mov ecx, 0xfffffffe
sub ecx, edx
add esi, ecx
mov dword [esp + 0x38], esi
lea esi, [edi - 0x52]
cmp esi, 0x41
ja case.0x6065de.92
xor eax, eax
mov al, byte [esi + 0x607e10]
jmp dword [eax*4 + 0x607de4]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x60748a
lea edx, [esp + 0x60]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x60748a
lea eax, [esp + 0x64]
mov ecx, ebx
push eax
call fcn.0060a2b0
test eax, eax
je 0x60748a
lea ecx, [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x60748a
lea edx, [esp + 0x1c]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x60748a
lea eax, [esp + 0x20]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x60748a
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x60748a
lea edx, [esp + 0x48]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x60748a
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x60748a
mov eax, dword [esp + 0x1c]
cmp eax, 1
jb 0x607479
cmp eax, 0x1f
ja 0x607479
mov ecx, dword [esp + 0x20]
mov eax, 8
cmp ecx, eax
ja 0x607479
cmp dword [esp + 0x24], eax
ja 0x607479
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
mov ecx, eax
mov esi, 2
shl ecx, 6
mov ecx, dword [ecx + edx + 4]
cmp ecx, esi
jb 0x6066fc
push ecx
push str.JPX_progression_order_0:d_is_unimplemented
push 0xffffffffffffffff
push 6
call fcn.006033f0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add ecx, esi
add edx, esi
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0xc8]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x60]
shl eax, 6
mov dword [eax + ecx + 4], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
mov edx, dword [esp + 0x64]
shl eax, 6
mov dword [eax + ecx + 8], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
mov edx, dword [esp + 0x68]
shl eax, 6
mov dword [eax + ecx + 0xc], edx
mov ecx, dword [ebx + 0xbc]
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x14], eax
jbe 0x6068c6
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
push 0x50
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x30]
shl eax, 5
mov dword [ecx + eax + 0x10], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x20]
shl eax, 5
mov dword [ecx + eax + 0x14], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x24]
shl eax, 5
mov dword [ecx + eax + 0x18], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x28]
shl eax, 5
mov dword [ecx + eax + 0x1c], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x4c]
shl eax, 5
mov dword [ecx + eax + 0x20], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x50]
shl eax, 5
mov dword [ecx + eax + 0x24], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
inc eax
push eax
mov eax, dword [esp + 0x1c]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
mov edx, dword [ecx + eax + 0x5c]
push edx
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0xc8]
add esp, 0xc
shl edx, 6
lea ecx, [ecx + ecx*2]
mov edx, dword [edx + esi + 0x3c]
shl ecx, 5
mov dword [edx + ecx + 0x5c], eax
xor eax, eax
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [ebx + 0xc8]
add ecx, 0x50
shl esi, 6
lea edx, [edx + edx*2]
mov esi, dword [esi + edi + 0x3c]
shl edx, 5
inc eax
mov edx, dword [esi + edx + 0x5c]
mov dword [edx + ecx - 4], ebp
mov edx, dword [esp + 0x1c]
cmp eax, edx
jbe 0x606880
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xbc]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x60675f
xor edi, edi
xor esi, esi
test byte [esp + 0x2c], 1
je 0x606927
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x60748a
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
mov ecx, dword [esp + 0x30]
shl edx, 6
and ecx, 0xf
mov edx, dword [edx + eax + 0x3c]
mov eax, dword [edx + 0x5c]
mov dword [eax + esi], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
shr ecx, 4
and ecx, 0xf
shl edx, 6
mov edx, dword [edx + eax + 0x3c]
mov eax, dword [edx + 0x5c]
mov dword [eax + esi + 4], ecx
jmp 0x60695e
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
mov eax, dword [ecx + edx + 0x3c]
mov ecx, dword [eax + 0x5c]
mov dword [ecx + esi], 0xf
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
shl edx, 6
mov ecx, dword [edx + eax + 0x3c]
mov edx, dword [ecx + 0x5c]
mov dword [edx + esi + 4], 0xf
mov eax, dword [esp + 0x1c]
inc edi
add esi, 0x50
cmp edi, eax
jbe 0x6068ca
mov eax, dword [ebx + 0xbc]
mov edx, 1
cmp eax, edx
mov dword [esp + 0x14], edx
jbe 0x60744f
mov edi, dword [esp + 0x44]
xor esi, esi
xor eax, eax
mov ecx, dword [esp + 0x10]
mov ebx, dword [edi + 0xc8]
shl ecx, 6
lea edx, [edx + edx*2]
add eax, 0x50
mov ecx, dword [ecx + ebx + 0x3c]
shl edx, 5
mov ebx, dword [ecx + 0x5c]
mov ecx, dword [edx + ecx + 0x5c]
mov edx, dword [ebx + eax - 0x50]
mov dword [ecx + eax - 0x50], edx
mov ecx, dword [esp + 0x10]
mov edx, dword [edi + 0xc8]
shl ecx, 6
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x5c]
lea edx, [edx + edx*2]
shl edx, 5
inc esi
mov ecx, dword [edx + ecx + 0x5c]
mov edx, dword [ebx + eax - 0x4c]
mov dword [ecx + eax - 0x4c], edx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
cmp esi, ecx
jbe 0x60698d
mov eax, dword [edi + 0xbc]
inc edx
cmp edx, eax
mov dword [esp + 0x14], edx
jb 0x606985
mov ebx, dword [esp + 0x44]
xor ebp, ebp
jmp 0x60744f
cmp dword [ebx + 0xbc], 0x100
jbe 0x606a33
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.0060a2b0
test eax, eax
je 0x607494
cmp dword [ebx + 0xbc], 0x100
ja 0x606a47
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x607494
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xbc]
cmp edx, eax
jae 0x607494
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x607494
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x607494
lea edx, [esp + 0x20]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x607494
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x607494
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.0060a260
test eax, eax
je 0x607494
lea edx, [esp + 0x4c]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x607494
mov eax, dword [esp + 0x1c]
cmp eax, 1
jb 0x60748a
cmp eax, 0x1f
ja 0x60748a
mov ecx, dword [esp + 0x20]
mov eax, 8
cmp ecx, eax
ja 0x60748a
cmp dword [esp + 0x24], eax
ja 0x60748a
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
mov esi, dword [esp + 0x2c]
shl ecx, 6
lea eax, [eax + eax*2]
push 0x50
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
lea eax, [ecx + eax + 0x10]
mov ecx, dword [eax]
mov edx, ecx
xor edx, esi
and edx, 1
xor edx, ecx
mov dword [eax], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x20]
shl eax, 5
mov dword [ecx + eax + 0x14], edx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0xc8]
lea ecx, [eax + 2]
mov eax, dword [esp + 0x18]
shl edx, 6
lea eax, [eax + eax*2]
mov edx, dword [edx + esi + 0x3c]
shl eax, 5
mov dword [edx + eax + 0x18], ecx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov esi, dword [ebx + 0xc8]
lea ecx, [eax + 2]
mov eax, dword [esp + 0x18]
shl edx, 6
lea eax, [eax + eax*2]
mov edx, dword [edx + esi + 0x3c]
shl eax, 5
mov dword [edx + eax + 0x1c], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x4c]
shl eax, 5
mov dword [ecx + eax + 0x20], edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
mov edx, dword [esp + 0x50]
shl eax, 5
mov dword [ecx + eax + 0x24], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
inc eax
push eax
mov eax, dword [esp + 0x1c]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
mov edx, dword [ecx + eax + 0x5c]
push edx
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov esi, dword [ebx + 0xc8]
mov ecx, dword [esp + 0x20]
add esp, 0xc
shl edx, 6
mov edx, dword [edx + esi + 0x3c]
lea ecx, [ecx + ecx*2]
shl ecx, 5
mov dword [edx + ecx + 0x5c], eax
xor eax, eax
xor ecx, ecx
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov edi, dword [ebx + 0xc8]
add ecx, 0x50
shl esi, 6
lea edx, [edx + edx*2]
mov esi, dword [esi + edi + 0x3c]
shl edx, 5
inc eax
mov edx, dword [esi + edx + 0x5c]
mov dword [edx + ecx - 4], ebp
mov edx, dword [esp + 0x1c]
cmp eax, edx
jbe 0x606c3a
xor edi, edi
xor esi, esi
test byte [esp + 0x2c], 1
je 0x606ce2
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.0060a260
test eax, eax
je 0x607479
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [ebx + 0xc8]
mov ecx, dword [esp + 0x30]
shl edx, 6
lea eax, [eax + eax*2]
and ecx, 0xf
mov edx, dword [edx + ebp + 0x3c]
shl eax, 5
mov eax, dword [edx + eax + 0x5c]
mov dword [eax + esi], ecx
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [ebx + 0xc8]
mov ecx, dword [esp + 0x30]
shl edx, 6
lea eax, [eax + eax*2]
mov edx, dword [edx + ebp + 0x3c]
shl eax, 5
shr ecx, 4
mov eax, dword [edx + eax + 0x5c]
and ecx, 0xf
xor ebp, ebp
mov dword [eax + esi + 4], ecx
jmp 0x606d2f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
mov edx, dword [ecx + eax + 0x5c]
mov dword [edx + esi], 0xf
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
mov edx, dword [ecx + eax + 0x5c]
mov dword [edx + esi + 4], 0xf
mov eax, dword [esp + 0x1c]
inc edi
add esi, 0x50
cmp edi, eax
jbe 0x606c6d
jmp 0x60744f
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
shl eax, 6
mov edx, dword [eax + ecx + 0x3c]
mov ecx, ebx
add edx, 0x28
push edx
call fcn.0060a260
test eax, eax
je 0x6074a5
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
shl eax, 6
mov eax, dword [eax + ecx + 0x3c]
mov ecx, dword [eax + 0x28]
and ecx, 0x1f
jne 0x606e21
mov ecx, dword [esp + 0x18]
cmp ecx, 3
jbe 0x6074c0
add ecx, 0xfffffffd
push 4
mov dword [eax + 0x30], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc8]
shl edx, 6
mov eax, dword [edx + eax + 0x3c]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
push ecx
push edx
call fcn.005f6f70
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
add esp, 0xc
xor esi, esi
mov ecx, dword [ecx + edx + 0x3c]
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
mov eax, edx
shl eax, 6
mov eax, dword [eax + ecx + 0x3c]
cmp dword [eax + 0x30], ebp
jbe 0x606f2b
mov edx, dword [eax + 0x2c]
mov ecx, ebx
lea eax, [edx + esi*4]
push eax
call fcn.0060a260
test eax, eax
je 0x6074a5
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
mov ecx, edx
inc esi
shl ecx, 6
mov eax, dword [ecx + eax + 0x3c]
cmp esi, dword [eax + 0x30]
jb 0x606ded
jmp 0x606f2b
cmp ecx, 1
jne 0x606e8d
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
push 4
shl ecx, 6
mov eax, dword [ecx + edx + 0x3c]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x2c]
push ecx
push edx
call fcn.005f6f70
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
add esp, 0xc
mov ecx, dword [ecx + edx + 0x3c]
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
shl edx, 6
mov ecx, dword [edx + eax + 0x3c]
mov edx, dword [ecx + 0x2c]
mov ecx, ebx
push edx
call fcn.0060a2b0
test eax, eax
je 0x6074c0
mov edx, dword [esp + 0x10]
jmp 0x606f2b
cmp ecx, 2
jne 0x6074a5
mov ecx, dword [esp + 0x18]
cmp ecx, 5
jb 0x6074a5
add ecx, 0xfffffffd
push 4
shr ecx, 1
mov dword [eax + 0x30], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc8]
shl eax, 6
mov eax, dword [eax + ecx + 0x3c]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
push edx
push eax
call fcn.005f6f70
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
add esp, 0xc
xor esi, esi
mov ecx, dword [ecx + edx + 0x3c]
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x10]
mov ecx, dword [ebx + 0xc8]
mov eax, edx
shl eax, 6
mov eax, dword [eax + ecx + 0x3c]
cmp dword [eax + 0x30], ebp
jbe 0x606f2b
mov edx, dword [eax + 0x2c]
mov ecx, ebx
lea eax, [edx + esi*4]
push eax
call fcn.0060a2b0
test eax, eax
je 0x6074c0
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0xc8]
mov ecx, edx
inc esi
shl ecx, 6
mov eax, dword [ecx + eax + 0x3c]
cmp esi, dword [eax + 0x30]
jb 0x606efc
mov eax, dword [ebx + 0xbc]
mov ecx, 1
cmp eax, ecx
mov dword [esp + 0x14], ecx
jbe 0x60744f
mov eax, dword [ebx + 0xc8]
lea ecx, [ecx + ecx*2]
shl edx, 6
shl ecx, 5
mov eax, dword [edx + eax + 0x3c]
push 4
mov edx, dword [eax + 0x28]
mov dword [ecx + eax + 0x28], edx
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc8]
shl eax, 6
mov eax, dword [eax + ecx + 0x3c]
mov ecx, dword [esp + 0x18]
lea edx, [ecx + ecx*2]
mov ecx, dword [eax + 0x30]
shl edx, 5
mov dword [edx + eax + 0x30], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc8]
shl edx, 6
mov eax, dword [edx + eax + 0x3c]
mov ecx, dword [eax + 0x30]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + ecx*2]
shl edx, 5
mov eax, dword [edx + eax + 0x2c]
push eax
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0xc8]
add esp, 0xc
shl edx, 6
lea ecx, [ecx + ecx*2]
mov edx, dword [edx + esi + 0x3c]
shl ecx, 5
mov dword [edx + ecx + 0x2c], eax
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 0xc8]
mov eax, edx
shl eax, 6
xor ecx, ecx
mov eax, dword [eax + esi + 0x3c]
cmp dword [eax + 0x30], ebp
jbe 0x607017
mov edx, dword [esp + 0x14]
mov esi, dword [eax + 0x2c]
lea edx, [edx + edx*2]
shl edx, 5
inc ecx
mov eax, dword [edx + eax + 0x2c]
mov edx, dword [esi + ecx*4 - 4]
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [esp + 0x10]
mov esi, dword [ebx + 0xc8]
mov eax, edx
shl eax, 6
mov eax, dword [eax + esi + 0x3c]
cmp ecx, dword [eax + 0x30]
jb 0x606fe5
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0xbc]
inc ecx
cmp ecx, eax
mov dword [esp + 0x14], ecx
jb 0x606f42
jmp 0x60744f
cmp dword [ebx + 0xbc], 0x100
jbe 0x60705f
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0060a2b0
test eax, eax
je 0x6074db
cmp dword [ebx + 0xbc], 0x100
ja 0x607073
lea edx, [esp + 0x14]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x6074db
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xbc]
cmp eax, ecx
jae 0x6074db
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
lea edx, [ecx + eax + 0x28]
mov ecx, ebx
push edx
call fcn.0060a260
test eax, eax
je 0x6074db
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
lea edx, [ecx + eax]
mov eax, dword [ecx + eax + 0x28]
and eax, 0x1f
jne 0x6071b4
mov ecx, dword [ebx + 0xbc]
mov eax, 0x100
cmp eax, ecx
mov eax, dword [esp + 0x18]
sbb ecx, ecx
neg ecx
add ecx, 4
cmp eax, ecx
jbe 0x6074af
sub eax, ecx
push 4
mov dword [edx + 0x30], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
push edx
push eax
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0xc8]
add esp, 0xc
shl edx, 6
lea ecx, [ecx + ecx*2]
mov edx, dword [edx + esi + 0x3c]
xor esi, esi
shl ecx, 5
mov dword [edx + ecx + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
cmp dword [eax + 0x30], ebp
jbe 0x60744f
mov edx, dword [eax + 0x2c]
mov ecx, ebx
lea eax, [edx + esi*4]
push eax
call fcn.0060a260
test eax, eax
je 0x6074d1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
inc esi
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
cmp esi, dword [eax + 0x30]
jb 0x607176
jmp 0x60744f
cmp eax, 1
jne 0x607242
mov dword [edx + 0x30], eax
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 0xc8]
shl edx, 6
lea eax, [eax + eax*2]
push 4
mov ecx, dword [edx + ecx + 0x3c]
shl eax, 5
add eax, ecx
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
push edx
push eax
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0xc8]
add esp, 0xc
shl edx, 6
lea ecx, [ecx + ecx*2]
mov edx, dword [edx + esi + 0x3c]
shl ecx, 5
mov dword [edx + ecx + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
mov edx, dword [ecx + eax + 0x2c]
mov ecx, ebx
push edx
call fcn.0060a2b0
test eax, eax
je 0x6074af
jmp 0x60744f
cmp eax, 2
jne 0x6074d1
mov edi, dword [ebx + 0xbc]
mov eax, 0x100
cmp eax, edi
mov eax, dword [esp + 0x18]
sbb ecx, ecx
neg ecx
add ecx, 4
lea esi, [ecx + 2]
cmp eax, esi
jb 0x6074d1
sub eax, ecx
push 4
shr eax, 1
mov dword [edx + 0x30], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
push edx
push eax
call fcn.005f6f70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov esi, dword [ebx + 0xc8]
add esp, 0xc
shl edx, 6
lea ecx, [ecx + ecx*2]
mov edx, dword [edx + esi + 0x3c]
xor esi, esi
shl ecx, 5
mov dword [edx + ecx + 0x2c], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
cmp dword [eax + 0x30], ebp
jbe 0x60744f
mov edx, dword [eax + 0x2c]
mov ecx, ebx
lea eax, [edx + esi*4]
push eax
call fcn.0060a2b0
test eax, eax
je 0x6074c0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edx, dword [ebx + 0xc8]
inc esi
shl ecx, 6
lea eax, [eax + eax*2]
mov ecx, dword [ecx + edx + 0x3c]
shl eax, 5
add eax, ecx
cmp esi, dword [eax + 0x30]
jb 0x6072eb
jmp 0x60744f
push str.Got_a_JPX_RGN_segment
push 0xffffffffffffffff
push 6
call fcn.006033f0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add eax, 0xfffffffe
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp eax, ecx
jne 0x6074ec
jmp 0x60744f
push str.Got_a_JPX_POC_segment
push 0xffffffffffffffff
push 6
call fcn.006033f0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add eax, 0xfffffffe
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp eax, ecx
jne 0x6074f6
jmp 0x60744f
push str.Got_a_JPX_PPT_segment
push 0xffffffffffffffff
push 6
call fcn.006033f0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add eax, 0xfffffffe
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov edx, dword [esp + 0x18]
lea ecx, [edx - 2]
cmp eax, ecx
jne 0x607507
cmp edx, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add edx, 0xfffffffe
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp eax, ecx
jne 0x607511
jmp 0x60744f
cmp edx, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add edx, 0xfffffffe
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffffe
cmp eax, ecx
jne 0x607522
jmp 0x60744f
mov edx, dword [ebx]
push edi
push str.Unknown_marker_segment_0:02x_in_JPX_tile_part_stream
mov ecx, ebx
call dword [edx + 0x30]
push eax
push 1
call fcn.006033f0
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, 2
jbe 0x60744f
mov ecx, dword [ebx + 8]
add eax, 0xfffffffe
push eax
mov edx, dword [ecx]
call dword [edx + 0x2c]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x54]
push eax
push ecx
mov ecx, ebx
call fcn.0060a1d0
test eax, eax
jne 0x6065b1
mov edx, dword [ebx]
push str.Error_in_JPX_tile_part_codestream
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
mov edx, dword [ebx]
push str.Error_in_JPX_COD_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_COD_marker_segment
jmp 0x607dc6
mov edx, dword [ebx]
push str.Error_in_JPX_COC_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_QCD_marker_segment
jmp 0x607dc6
mov edx, dword [ebx]
push str.Error_in_JPX_QCC_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
mov edx, dword [ebx]
push str.Error_in_JPX_QCD_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_QCC_marker_segment
jmp 0x607dc6
mov edx, dword [ebx]
push str.Error_in_JPX_QCC_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_RGN_marker_segment
jmp 0x607dc6
mov edx, dword [ebx]
push str.Error_in_JPX_POC_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_PPT_marker_segment
jmp 0x607dc6
mov edx, dword [ebx]
push str.Error_in_JPX_PLT_marker_segment
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_COM_marker_segment
jmp 0x607dc6
mov ebp, dword [ebx + 0xbc]
mov ecx, dword [esp + 0x10]
xor esi, esi
test ebp, ebp
mov dword [esp + 0x14], esi
jbe 0x6075a0
mov eax, dword [ebx + 0xc8]
mov edx, ecx
shl edx, 6
lea edi, [edx + eax + 0x3c]
mov edx, dword [edi]
lea eax, [esi + esi*2]
shl eax, 5
add eax, edx
mov edx, dword [eax + 0x28]
and edx, 0x1f
jne 0x607572
mov edx, dword [eax + 0x14]
lea edx, [edx + edx*2]
cmp dword [eax + 0x30], edx
jb 0x607803
jmp 0x607597
cmp edx, 1
jne 0x607583
cmp dword [eax + 0x30], 1
jb 0x607803
jmp 0x607597
cmp edx, 2
jne 0x607597
mov edx, dword [eax + 0x14]
lea edx, [edx + edx*2]
cmp dword [eax + 0x30], edx
jb 0x607803
inc esi
cmp esi, ebp
mov dword [esp + 0x14], esi
jb 0x60754f
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x607d8f
mov ebp, dword [ebx + 0xc8]
xor edx, edx
shl ecx, 6
add ecx, ebp
mov dword [esp + 0x6c], ecx
mov dword [ecx], 1
mov edi, dword [esp + 0x10]
mov esi, dword [ebx + 0xc0]
mov eax, edi
div esi
xor edx, edx
mov ebp, eax
mov eax, edi
div esi
mov eax, dword [ebx + 0x9c]
mov esi, dword [ebx + 0xa4]
imul eax, edx
add eax, esi
mov dword [ecx + 0x10], eax
mov esi, dword [ebx + 0x94]
cmp eax, esi
jae 0x6075fa
mov dword [ecx + 0x10], esi
mov eax, ebp
mov esi, dword [ebx + 0xa8]
imul eax, dword [ebx + 0xa0]
add eax, esi
mov dword [ecx + 0x14], eax
mov esi, dword [ebx + 0x98]
cmp eax, esi
jae 0x60761b
mov dword [ecx + 0x14], esi
inc edx
mov eax, dword [ebx + 0xa4]
imul edx, dword [ebx + 0x9c]
add eax, edx
mov dword [ecx + 0x18], eax
mov edx, dword [ebx + 0x8c]
cmp eax, edx
jbe 0x60763b
mov dword [ecx + 0x18], edx
inc ebp
mov edx, dword [ebx + 0xa8]
imul ebp, dword [ebx + 0xa0]
lea eax, [edx + ebp]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebx + 0x90]
cmp eax, edx
jbe 0x60765c
mov dword [ecx + 0x1c], edx
xor ebp, ebp
mov dword [ecx + 0x24], ebp
mov dword [ecx + 0x28], ebp
mov dword [ecx + 0x2c], ebp
mov dword [ecx + 0x30], ebp
mov dword [ecx + 0x34], ebp
mov dword [ecx + 0x20], ebp
mov eax, dword [ebx + 0xbc]
mov dword [esp + 0x14], ebp
cmp eax, ebp
jbe 0x607d8b
mov edi, dword [esp + 0x6c]
lea ebp, [ebp + ebp*2]
shl ebp, 5
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x20]
add ebp, edx
mov eax, dword [ebp + 0x14]
cmp eax, ecx
jbe 0x60769f
mov dword [edi + 0x20], eax
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x10]
xor edx, edx
mov esi, dword [ebp + 0xc]
lea eax, [ecx + eax - 1]
div ecx
mov dword [ebp + 0x34], eax
mov edx, dword [edi + 0x14]
lea eax, [esi + edx - 1]
xor edx, edx
div esi
xor edx, edx
mov dword [ebp + 0x38], eax
mov eax, dword [edi + 0x18]
lea eax, [ecx + eax - 1]
div ecx
xor edx, edx
mov dword [ebp + 0x3c], eax
mov ecx, dword [edi + 0x1c]
lea eax, [esi + ecx - 1]
mov ecx, dword [ebp + 0x18]
div esi
mov edx, 1
mov esi, dword [ebp + 0x3c]
shl edx, cl
mov ecx, dword [ebp + 0x1c]
mov dword [ebp + 0x4c], edx
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x40], eax
mov eax, 1
shl eax, cl
mov dword [ebp + 0x50], eax
mov ecx, dword [ebx + 0x1c]
mov eax, 1
shl eax, cl
lea edx, [edx + eax - 1]
lea eax, [eax + esi - 1]
shr edx, cl
shr eax, cl
mov esi, dword [ebp + 0x40]
sub eax, edx
mov edx, dword [ebp + 0x38]
mov dword [ebp + 0x44], eax
mov ecx, dword [ebx + 0x1c]
mov eax, 1
shl eax, cl
lea edx, [edx + eax - 1]
lea eax, [eax + esi - 1]
shr edx, cl
shr eax, cl
mov ecx, dword [ebp + 0x44]
sub eax, edx
test ecx, ecx
mov dword [ebp + 0x48], eax
je 0x607dac
test eax, eax
je 0x607dac
imul ecx, eax
push 4
push ecx
call fcn.005f6f20
mov edi, dword [ebp + 0x38]
mov ecx, dword [ebp + 0x3c]
mov esi, dword [ebp + 0x34]
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x40]
sub ecx, esi
sub eax, edi
add esp, 8
cmp ecx, eax
jbe 0x607773
mov eax, ecx
add eax, 8
push 4
push eax
call fcn.005f6f20
add esp, 8
mov dword [ebp + 0x58], eax
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x28]
mov edx, dword [ebp + 0x5c]
mov eax, dword [ebp + 0x14]
lea edi, [ecx + ecx*4]
shl edi, 4
add edi, edx
test ecx, ecx
mov dword [esp + 0x7c], edi
je 0x6077a9
sub eax, ecx
inc eax
mov edx, 1
mov ecx, eax
shl edx, cl
mov ecx, dword [ebp + 0x34]
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 8], esi
mov ecx, dword [ebp + 0x38]
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0xc], esi
mov ecx, dword [ebp + 0x3c]
lea esi, [edx + ecx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0x10], esi
mov ecx, dword [ebp + 0x40]
lea esi, [edx + ecx - 1]
mov ecx, eax
shr esi, cl
mov ecx, dword [edi + 8]
mov dword [esp + 0x5c], esi
mov dword [edi + 0x14], esi
cmp ecx, dword [edi + 0x10]
je 0x60780d
mov esi, dword [esp + 0x5c]
cmp dword [edi + 0xc], esi
je 0x60780d
xor esi, esi
jmp 0x607812
push str.Too_few_quant_steps_in_JPX_tile_part
jmp 0x607dc6
mov esi, 1
mov dword [esp + 0x40], esi
mov dword [edi + 0x48], esi
mov esi, dword [esp + 0x28]
test esi, esi
jne 0x607859
mov esi, dword [edi + 0x14]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
mov dword [edi + 0x3c], esi
mov esi, dword [esp + 0x40]
mov dword [edi + 0x18], ecx
test esi, esi
mov dword [edi + 0x24], edx
mov dword [edi + 0x30], eax
je 0x607933
cmp ecx, eax
je 0x60784f
cmp edx, dword [edi + 0x14]
jne 0x607933
mov eax, 1
jmp 0x607935
lea ecx, [eax - 1]
mov esi, 1
shl esi, cl
mov ecx, dword [ebp + 0x34]
sub edx, esi
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov ecx, dword [edi + 0xc]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x18], esi
mov ecx, dword [ebp + 0x3c]
lea esi, [edx + ecx - 1]
mov ecx, eax
shr esi, cl
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x3c], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x30], esi
mov ecx, dword [ebp + 0x38]
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x34], ecx
mov dword [edi + 0x28], esi
mov ecx, dword [ebp + 0x40]
lea esi, [edx + ecx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0x40], esi
mov ecx, dword [ebp + 0x34]
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0x20], esi
mov ecx, dword [ebp + 0x38]
lea esi, [ecx + edx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0x2c], esi
mov ecx, dword [ebp + 0x3c]
lea esi, [edx + ecx - 1]
mov ecx, eax
shr esi, cl
mov dword [edi + 0x38], esi
mov ecx, dword [ebp + 0x40]
lea edx, [edx + ecx - 1]
mov ecx, eax
mov eax, dword [esp + 0x40]
shr edx, cl
test eax, eax
mov dword [edi + 0x44], edx
je 0x607933
mov eax, dword [edi + 0x18]
mov ecx, dword [edi + 0x30]
cmp eax, ecx
je 0x607909
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 0x3c]
cmp eax, ecx
jne 0x607933
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
je 0x60791d
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x40]
cmp ecx, eax
jne 0x607933
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x38]
cmp eax, ecx
je 0x60792c
cmp dword [edi + 0x2c], edx
jne 0x607933
mov eax, 1
jmp 0x607935
xor eax, eax
push 0x14
push 1
mov dword [edi + 0x48], eax
call fcn.005f6f20
mov dword [edi + 0x4c], eax
mov dword [eax + 0x10], 0
mov esi, dword [edi + 0x4c]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 8]
push 0x28
neg eax
mov dword [esi], ecx
mov edx, dword [edi + 0xc]
sbb eax, eax
mov dword [esi + 4], edx
mov ecx, dword [edi + 0x10]
and eax, 2
inc eax
mov dword [esi + 8], ecx
mov edx, dword [edi + 0x14]
push eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x80], esi
mov dword [esi + 0xc], edx
call fcn.005f6f20
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
jbe 0x6079c3
mov edx, dword [esp + 0x40]
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x50], edx
mov edx, dword [esi + 0x10]
add eax, 0x28
mov dword [eax + edx - 0xc], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + edx - 8], ecx
mov edx, dword [esi + 0x10]
mov dword [eax + edx - 4], ecx
mov edx, dword [esp + 0x50]
dec edx
mov dword [esp + 0x50], edx
jne 0x60799e
jmp 0x6079c5
xor ecx, ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x34], ecx
cmp eax, ecx
jbe 0x607d60
jmp 0x6079db
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x34]
mov edx, dword [esi + 0x10]
lea ecx, [eax + eax*4]
lea ebx, [edx + ecx*8]
mov ecx, dword [edi + eax*4 + 0x18]
mov dword [ebx], ecx
mov edx, dword [edi + eax*4 + 0x24]
mov dword [ebx + 4], edx
mov ecx, dword [edi + eax*4 + 0x30]
mov dword [ebx + 8], ecx
mov edx, dword [edi + eax*4 + 0x3c]
mov dword [ebx + 0xc], edx
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebx + 8]
mov eax, 1
shl eax, cl
lea eax, [eax + edx - 1]
mov edx, dword [ebx]
shr eax, cl
shr edx, cl
sub eax, edx
mov edx, dword [ebx + 0xc]
mov dword [ebx + 0x10], eax
mov ecx, dword [ebp + 0x1c]
mov eax, 1
shl eax, cl
lea eax, [eax + edx - 1]
mov edx, dword [ebx + 4]
shr eax, cl
shr edx, cl
mov ecx, dword [ebx + 0x10]
sub eax, edx
cmp ecx, eax
mov dword [ebx + 0x14], eax
jbe 0x607a45
mov eax, ecx
xor esi, esi
dec eax
mov dword [ebx + 0x18], esi
je 0x607a58
mov edx, dword [ebx + 0x18]
inc edx
shr eax, 1
mov dword [ebx + 0x18], edx
jne 0x607a4d
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x50], esi
cmp ecx, esi
jl 0x607a8e
mov edx, dword [ebx + 0x14]
mov eax, 1
shl eax, cl
lea esi, [eax + edx - 1]
mov edx, dword [ebx + 0x10]
shr esi, cl
lea eax, [eax + edx - 1]
shr eax, cl
imul esi, eax
mov edx, esi
mov esi, dword [esp + 0x50]
add esi, edx
dec ecx
mov dword [esp + 0x50], esi
jns 0x607a63
push 8
push esi
call fcn.005f6f20
push 8
push esi
mov dword [ebx + 0x1c], eax
call fcn.005f6f20
mov dword [ebx + 0x20], eax
xor ecx, ecx
add esp, 0x10
xor eax, eax
cmp esi, ecx
jbe 0x607ad0
mov edx, dword [ebx + 0x1c]
inc eax
cmp eax, esi
mov dword [edx + eax*8 - 8], ecx
mov edx, dword [ebx + 0x1c]
mov dword [edx + eax*8 - 4], ecx
mov edx, dword [ebx + 0x20]
mov dword [edx + eax*8 - 8], ecx
mov edx, dword [ebx + 0x20]
mov dword [edx + eax*8 - 4], ecx
jb 0x607aaf
mov eax, dword [ebx + 0x14]
push 0x44
imul eax, dword [ebx + 0x10]
push eax
call fcn.005f6f20
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0x14]
imul eax, dword [ebx + 0x10]
add esp, 8
xor edx, edx
xor ecx, ecx
test eax, eax
jbe 0x607b21
xor eax, eax
mov esi, dword [ebx + 0x24]
inc ecx
mov dword [eax + esi + 0x28], edx
mov esi, dword [ebx + 0x24]
mov dword [eax + esi + 0x34], edx
mov esi, dword [ebx + 0x24]
mov dword [eax + esi + 0x3c], edx
mov esi, dword [ebx + 0x24]
mov dword [eax + esi + 0x40], edx
mov esi, dword [ebx + 0x14]
imul esi, dword [ebx + 0x10]
add eax, 0x44
cmp ecx, esi
jb 0x607af6
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x18]
shr eax, cl
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 4]
shr eax, cl
cmp dword [esp + 0x28], edx
mov dword [esp + 0x80], eax
jne 0x607b4a
mov ecx, dword [ebp + 0x54]
mov dword [esp + 0x3c], ecx
jmp 0x607b99
mov ecx, dword [esp + 0x34]
cmp ecx, edx
jne 0x607b5c
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x1c]
sub edx, ecx
jmp 0x607b8f
cmp ecx, 1
jne 0x607b79
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x24]
sub ecx, edx
mov edx, dword [ebp + 0x54]
imul ecx, dword [ebp + 0x44]
lea ecx, [edx + ecx*4]
mov dword [esp + 0x3c], ecx
jmp 0x607b99
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x24]
sub edx, ecx
mov esi, dword [edi + 0x1c]
imul edx, dword [ebp + 0x44]
mov ecx, dword [edi + 0x34]
sub edx, esi
add edx, ecx
mov ecx, dword [ebp + 0x54]
lea edx, [ecx + edx*4]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx + 0x14]
mov esi, dword [ebx + 0x24]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x5c], ecx
jbe 0x607d47
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x50], 0
test edx, edx
jbe 0x607d37
add ecx, eax
mov dword [esp + 0x78], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x50]
add eax, ecx
mov ecx, dword [ebp + 0x18]
shl eax, cl
xor edi, edi
mov dword [esi], eax
mov edx, dword [ebp + 0x4c]
mov ecx, dword [esi]
add eax, edx
mov dword [esi + 8], eax
mov eax, dword [ebx]
cmp eax, ecx
jbe 0x607beb
mov dword [esi], eax
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
cmp eax, ecx
jae 0x607bf8
mov dword [esi + 8], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [ebp + 0x1c]
shl eax, cl
mov dword [esi + 4], eax
mov edx, dword [ebp + 0x50]
mov ecx, dword [esi + 4]
add eax, edx
mov dword [esi + 0xc], eax
mov eax, dword [ebx + 4]
cmp eax, ecx
jbe 0x607c19
mov dword [esi + 4], eax
mov eax, dword [ebx + 0xc]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jae 0x607c26
mov dword [esi + 0xc], eax
push 4
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], 3
mov dword [esi + 0x18], 2
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], 1
call fcn.005f6e80
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x48]
mov edx, dword [ebp + 0x14]
add esp, 4
mov ecx, dword [eax + 0x1c]
mov eax, dword [esp + 0x28]
sub edx, ecx
cmp eax, edx
ja 0x607d07
mov ecx, dword [esi + 4]
mov eax, dword [ebx + 4]
sub ecx, eax
mov edx, dword [ebx]
imul ecx, dword [ebp + 0x44]
mov eax, dword [esi]
sub ecx, edx
mov edx, dword [esp + 0x3c]
add ecx, eax
lea eax, [edx + ecx*4]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
add ecx, edx
mov edx, 1
shl edx, cl
push edx
call fcn.005f6e80
mov dword [esi + 0x34], eax
mov word [esi + 0x38], di
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
add esp, 4
xor ecx, ecx
sub eax, edx
je 0x607ce3
mov edx, dword [esi + 8]
xor eax, eax
sub edx, dword [esi]
je 0x607cd6
mov edx, ecx
mov edi, dword [esi + 0x30]
imul edx, dword [ebp + 0x44]
add edx, eax
inc eax
mov dword [edi + edx*4], 0
mov edx, dword [esi + 8]
sub edx, dword [esi]
cmp eax, edx
jb 0x607cb8
xor edi, edi
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 4]
inc ecx
sub eax, edx
cmp ecx, eax
jb 0x607caf
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x1c]
add ecx, eax
mov edx, 1
mov edi, dword [esi + 0x34]
xor eax, eax
shl edx, cl
mov ecx, edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x607d11
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov word [esi + 0x38], di
mov eax, dword [esp + 0x50]
mov ecx, dword [ebx + 0x10]
add esi, 0x44
inc eax
cmp eax, ecx
mov dword [esp + 0x50], eax
jb 0x607bc6
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x80]
mov edx, dword [ebx + 0x14]
inc ecx
cmp ecx, edx
mov dword [esp + 0x5c], ecx
jb 0x607bad
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
inc eax
cmp eax, ecx
mov dword [esp + 0x34], eax
jb 0x6079d7
mov ebx, dword [esp + 0x44]
mov eax, dword [esp + 0x28]
mov ecx, dword [ebp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
jbe 0x60778c
mov ebp, dword [esp + 0x14]
mov eax, dword [ebx + 0xbc]
inc ebp
cmp ebp, eax
mov dword [esp + 0x14], ebp
jb 0x607682
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x38]
push edx
push eax
push ecx
mov ecx, ebx
call fcn.00607e60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret
push str.Invalid_tile_size_or_sample_separation_in_JPX_stream
jmp 0x607dc6
mov edx, dword [ebx]
push str.Weird_tile_part_header_in_JPX_stream
mov ecx, ebx
call dword [edx + 0x30]
jmp 0x607dcd
push str.Error_in_JPX_SOT_marker_segment
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
push eax
push 1
call fcn.006033f0
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret