Function at 0x62962dfc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea ebx, [ebp - 0x358]
sub esp, 0x47c
mov dword [ebp - 0x40c], ecx
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader10ReadStructIN7OpenMPT14MMD0FileHeaderENS4_6detail10FileReaderINS1_24FileCursorTraitsFi
test al, al
jne 0x62962e3a
mov byte [ebp - 0x415], 0
jmp 0x6296590b
mov eax, ebx
call method.OpenMPT.ValidateHeader_OpenMPT::MMD0FileHeader_const_
test al, al
je 0x62962e2e
mov eax, ebx
call method.OpenMPT.GetHeaderMinimumAdditionalSize_OpenMPT::MMD0FileHeader_const_
cmp edx, 0
jbe 0x62962e54
or eax, 0xffffffff
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.629c9c58
mov byte [ebp - 0x415], al
test al, al
push edx
je 0x62962e2e
cmp dword [ebp + 0xc], 0x40
je 0x6296590b
mov ecx, dword [ebp - 0x40c]
mov dword [esp], 8
call method.OpenMPT::CSoundFile.InitializeGlobals_OpenMPT::MODTYPE_
mov ecx, dword [ebp - 0x40c]
push ebx
call method.OpenMPT::CSoundFile.InitializeChannels__
mov al, byte [ebp - 0x355]
mov ecx, dword [ebp + 8]
sub eax, 0x30
lea ebx, [ebp - 0x134]
mov byte [ebp - 0x3fb], al
mov eax, dword [ebp - 0x350]
bswap eax
mov dword [esp], eax
call fcn.62924a5c
mov eax, dword [ebp + 8]
mov ecx, ebx
push esi
mov dword [esp], eax
mov dword [esp + 4], 0x1f8
call fcn.62924b18
lea ecx, [ebp - 0x3ec]
push edi
push edi
mov dword [esp], ebx
call fcn.62924ca8
mov ecx, ebx
push eax
call fcn.62925908
lea eax, [ebp - 0x250]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader10ReadStructIN7OpenMPT7MMDSongENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataEN
cmp byte [ebp - 0x135], 0x3f
jbe 0x62962f12
mov byte [ebp - 0x415], 0
jmp 0x62965814
test byte [ebp - 0x250], 0x80
jne 0x62962f06
xor eax, eax
lea edi, [ebp - 0x2f0]
mov ecx, 0x14
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x338]
bswap eax
test eax, eax
je 0x62962f5b
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x62962f5b
lea eax, [ebp - 0x2f0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader10ReadStructIN7OpenMPT7MMD0ExpENS4_6detail10FileReaderINS1_24FileCursorTraitsFileDataEN
mov al, byte [ebp - 0x3fb]
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 0x41c], al
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x324]
mov dword [eax + 8], 0
lea eax, [ebp - 0x134]
mov dword [esp], eax
mov eax, dword [ebp + 8]
call sym.__ZN7OpenMPTL15MEDReadNextSongERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS4_24FileCursorFile
cmp dword [ebp - 0x304], 0
mov eax, 1
je 0x62962fa4
movzx eax, byte [ebp - 0x2f1]
inc eax
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x370], 0xff
lea edx, [ebp - 0x39c]
cmp eax, 0x100
jne 0x62962fc7
lea edx, [ebp - 0x370]
cmp dword [edx], 0
mov dword [ebp - 0x388], 0
jg 0x62962fdc
lea edx, [ebp - 0x388]
mov eax, dword [edx]
mov byte [ebp - 0x416], al
cmp al, 0x31
jbe 0x62962fef
mov byte [ebp - 0x416], 0x32
mov ebx, 4
mov byte [ebp - 0x410], 0
mov dword [ebp - 0x414], 0
mov dl, byte [ebp - 0x410]
cmp byte [ebp - 0x416], dl
je 0x62963108
movzx edi, word [ebp - 0x134]
rol di, 8
cmp byte [ebp - 0x19], 0x3f
ja 0x629630ff
test di, di
js 0x629630ff
xor esi, esi
cmp di, si
jbe 0x6296309a
mov eax, dword [ebp - 0x314]
mov ecx, dword [ebp + 8]
bswap eax
lea eax, [eax + esi*4]
mov dword [esp], eax
call fcn.62924a5c
test al, al
push edx
je 0x62963097
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x62963097
mov eax, dword [ebp + 8]
cmp byte [ebp - 0x41c], 0
mov dword [esp], eax
jne 0x6296308b
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadUint8IN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCursor
movzx eax, al
jmp 0x62963090
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEItN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
cmp bx, ax
jae 0x62963097
mov ebx, eax
inc esi
jmp 0x62963037
mov eax, dword [ebp - 0x2a0]
bswap eax
cmp eax, dword [ebp - 0x414]
jbe 0x629630f0
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x629630f0
mov eax, dword [ebp - 0x2a0]
lea ecx, [ebp - 0x2a0]
bswap eax
mov dword [ebp - 0x414], eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
lea edx, [ebp - 0x324]
mov eax, dword [ebp + 8]
call sym.__ZN7OpenMPTL15MEDReadNextSongERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS4_24FileCursorFile
inc byte [ebp - 0x410]
jmp 0x62963005
mov al, byte [ebp - 0x410]
inc eax
mov byte [ebp - 0x416], al
jmp 0x62963108
mov byte [ebp - 0x416], 0
xor ebx, ebx
lea eax, [ebx - 1]
cmp ax, 0x7e
ja 0x62962f06
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x3f8], 0
mov dword [ebp - 0x3f4], 0
mov dword [ebp - 0x3f0], 0
mov word [eax + 0x753bc], bx
mov eax, dword [ebp - 0x340]
bswap eax
test eax, eax
je 0x629631fc
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
mov edx, dword [ebp - 0x3f4]
push eax
mov ecx, dword [ebp - 0x3f8]
mov eax, edx
sub eax, ecx
movzx ebx, byte [ebp - 0x135]
sar eax, 2
cmp ebx, eax
jbe 0x6296318f
mov edi, ebx
lea ecx, [ebp - 0x3f8]
sub edi, eax
mov dword [esp], edi
call method.std::vector_mpt::mpt_libopenmpt.packed_unsigned_int___mpt::mpt_libopenmpt::endian_305419896__unsigned_int___std::allocator_mpt::mpt_libopenmpt::packed_unsigned_int___mpt::mpt_libopenmpt::endian_305419896__unsigned_int_____::_M_default_append_unsign
push edi
jmp 0x6296319e
jae 0x6296319e
lea eax, [ecx + ebx*4]
cmp edx, eax
je 0x6296319e
mov dword [ebp - 0x3f4], eax
lea eax, [ebx*4]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.629c9c58
test al, al
push esi
jne 0x629631db
movzx eax, byte [ebp - 0x135]
mov edi, dword [ebp - 0x40c]
cmp byte [ebp - 0x3fb], 1
mov word [edi + 0x753be], ax
mov word [edi + 0x753c0], ax
ja 0x6296320a
jmp 0x62963213
mov edx, dword [ebp - 0x3f8]
mov eax, dword [ebp - 0x3f4]
sub eax, edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
call fcn.62924acc
push ebx
push ebx
jmp 0x629631b5
cmp byte [ebp - 0x135], 0
je 0x629631b5
jmp 0x629657fb
cmp byte [ebp - 0x148], 0
js 0x62963226
mov al, byte [ebp - 0x415]
mov byte [ebp - 0x420], al
mov eax, 0x1c4
jmp 0x62963232
mov byte [ebp - 0x420], 0
mov eax, 0xdc
mov edi, dword [ebp - 0x40c]
mov word [ebp - 0x414], 1
mov word [ebp - 0x428], 1
mov byte [ebp - 0x418], 0
mov dword [edi + 0x75404], eax
mov byte [ebp - 0x417], 0
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x428]
cmp word [eax + 0x753c0], di
jb 0x62963723
movzx eax, word [ebp - 0x414]
movzx esi, di
mov dword [esp + 4], eax
mov dword [esp], esi
mov ecx, dword [ebp - 0x40c]
call method.OpenMPT::CSoundFile.AllocateInstrument_unsigned_short__unsigned_short_
push ecx
test eax, eax
push ecx
je 0x629657fb
mov eax, dword [ebp - 0x40c]
lea edi, [ebp - 0x324]
mov ecx, 6
mov ebx, dword [eax + esi*4 + 0xdbd1c]
xor eax, eax
rep stosb byte es:[edi], al
lea ecx, [ebp - 0x2a0]
call fcn.629252fc
mov eax, dword [ebp - 0x3f8]
mov eax, dword [eax + esi*4 - 4]
bswap eax
test eax, eax
je 0x62963391
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x62963391
lea eax, [ebp - 0x324]
mov dword [esp + 4], 6
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 6
push eax
je 0x6296331d
lea edi, [ebp - 0x324]
mov ecx, 6
xor eax, eax
rep stosb byte es:[edi], al
jmp 0x6296332d
mov dword [esp], 6
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
movzx edx, word [ebp - 0x320]
mov eax, dword [ebp - 0x324]
xchg dl, dh
bswap eax
test dx, dx
jle 0x6296334a
and dl, 0x20
je 0x6296334a
add eax, eax
lea esi, [ebp - 0x3d8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [esp], eax
call fcn.62924b18
push edx
lea edi, [ebp - 0x134]
push edx
mov ecx, edi
mov dword [esp], esi
call fcn.62924ca8
push ecx
lea ecx, [ebp - 0x2a0]
mov dword [esp], edi
call fcn.62925b00
mov ecx, edi
push eax
call fcn.62925908
mov ecx, esi
call fcn.62925908
movzx eax, word [ebp - 0x320]
xchg al, ah
mov word [ebp - 0x41c], ax
mov edi, eax
mov esi, dword [ebp - 0x41c]
and edi, 0xf
and esi, 0xf
test ax, ax
jns 0x629633d6
xor eax, eax
mov word [ebx + eax + 0xec], 0
add eax, 2
cmp eax, 0x100
jne 0x629633b6
mov al, byte [ebp - 0x415]
mov byte [ebp - 0x418], al
lea eax, [ebp - 0x134]
mov dword [esp + 4], 8
mov dword [esp], eax
lea ecx, [ebp - 0x3ec]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 8
push eax
jne 0x6296340e
mov dword [esp], 8
lea ecx, [ebp - 0x3ec]
call fcn.62924a94
push eax
jmp 0x62963422
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov ecx, dword [ebp - 0x41c]
not ecx
shr cx, 0xf
cmp esi, 6
setbe dl
mov al, cl
and cl, dl
mov byte [ebp - 0x424], cl
je 0x629634c5
movzx edx, byte [esi + 0x62b3d540]
mov byte [ebp - 0x410], dl
cmp dl, 1
jbe 0x629634f6
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x40c]
mov esi, 0x3c
mov ax, word [eax + 0x753be]
lea eax, [eax + edx - 1]
movzx edx, byte [ebp - 0x410]
shl edx, 3
mov word [edi + 0x753be], ax
movzx edi, byte [edx + 0x62b3d4f0]
add edi, dword [ebp - 0x414]
lea eax, [esi - 0xc]
mov cl, byte [edx + 0x62b3d550]
mov word [ebx + eax*2 + 0xec], di
add byte [ebx + eax + 0x6c], cl
inc eax
cmp eax, esi
jne 0x6296349d
inc edx
lea esi, [eax + 0xc]
cmp eax, 0x78
jne 0x62963487
mov al, byte [ebp - 0x424]
mov byte [ebp - 0x417], al
jmp 0x62963537
cmp di, 7
mov byte [ebp - 0x410], 1
jne 0x629634f6
mov dword [esp], 0xffffffe8
mov ecx, ebx
call method.OpenMPT::ModInstrument.Transpose_signed_char_
push eax
mov al, byte [ebp - 0x415]
mov byte [ebp - 0x417], al
mov byte [ebp - 0x410], 1
jmp 0x62963537
test al, al
je 0x62963537
cmp byte [ebp - 0x420], 0
je 0x62963537
xor esi, esi
mov edi, 0xc
movzx edx, byte [ebx + esi + 0x6c]
movsx eax, byte [ebp - 0x12d]
add eax, edx
mov ecx, edx
cmp eax, 0x54
jle 0x6296352e
sub eax, 0x49
cdq
idiv edi
imul eax, eax, 0xc
sub ecx, eax
mov byte [ebx + esi + 0x6c], cl
inc esi
cmp esi, 0x80
jne 0x6296350a
mov al, byte [ebp - 0x130]
lea edx, [eax - 1]
cmp dl, 0xf
ja 0x62963554
mov byte [ebx + 0x1f], al
mov al, byte [ebp - 0x415]
mov byte [ebp - 0x417], al
mov al, byte [ebp - 0x12f]
mov dl, al
dec dl
js 0x62963563
mov byte [ebx + 0x1e], al
movzx ebx, word [ebp - 0x414]
imul ebx, ebx, 0x68
add ebx, dword [ebp - 0x40c]
xor edi, edi
mov esi, ebx
movzx eax, byte [ebp - 0x410]
cmp ax, di
mov word [ebp - 0x424], ax
jbe 0x629635c9
lea ecx, [esi + 0x7641c]
mov dword [esp], 8
call method.OpenMPT::ModSample.Initialize_OpenMPT::MODTYPE_
push eax
movzx eax, byte [ebp - 0x12e]
cmp al, 0x40
jbe 0x629635ad
mov eax, 0x40
shl eax, 2
inc edi
mov word [esi + 0x7643a], ax
mov al, byte [ebp - 0x12d]
mov byte [esi + 0x76440], al
add esi, 0x68
jmp 0x62963577
cmp word [ebp - 0x41c], 0
js 0x629635d9
test byte [ebp + 0xc], 2
jne 0x629635f1
mov edi, dword [ebp - 0x424]
lea ecx, [ebp - 0x2a0]
add word [ebp - 0x414], di
jmp 0x62963712
movzx edi, word [ebp - 0x134]
movzx eax, word [ebp - 0x132]
rol di, 8
xchg al, ah
movzx edi, di
mov word [ebp - 0x42c], ax
add edi, edi
movzx eax, ax
add eax, eax
mov ecx, dword [ebp - 0x2a0]
add eax, edi
mov dword [ebp - 0x370], 0x10108
mov dword [ebp - 0x41c], eax
mov eax, dword [ecx]
call dword [eax + 0x18]
movzx edx, word [ebp - 0x320]
mov esi, eax
mov eax, edx
xchg al, ah
and dh, 0x10
je 0x6296364e
shr esi, 1
mov byte [ebp - 0x370], 0x10
test al, 0x20
je 0x6296365b
shr esi, 1
mov byte [ebp - 0x36f], 3
test al, 0x40
je 0x62963666
mov byte [ebp - 0x36d], 2
cmp byte [ebp - 0x410], 1
jbe 0x62963687
mov cl, byte [ebp - 0x410]
mov eax, 1
shl eax, cl
xor edx, edx
lea ecx, [eax - 1]
mov eax, esi
div ecx
mov esi, eax
mov word [ebp - 0x410], 0
mov edx, dword [ebp - 0x410]
lea ecx, [ebp - 0x2a0]
cmp word [ebp - 0x424], dx
je 0x62963705
lea eax, [ebx + 0x7641c]
mov dword [ebx + 0x7641c], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
lea ecx, [ebp - 0x370]
call sym.__ZNK7OpenMPT8SampleIO10ReadSampleERNS_9ModSampleERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataEN
push eax
cmp word [ebp - 0x42c], 1
push eax
jbe 0x629636e9
or word [ebx + 0x7643e], 2
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x76420], edi
mov dword [ebx + 0x76424], eax
mov edx, dword [ebp - 0x41c]
add esi, esi
add dword [ebp - 0x41c], edx
add edi, edi
inc word [ebp - 0x410]
add ebx, 0x68
jmp 0x62963690
mov edi, dword [ebp - 0x424]
add word [ebp - 0x414], di
call fcn.62925908
inc word [ebp - 0x428]
jmp 0x6296325e
mov eax, dword [ebp - 0x2ec]
bswap eax
test eax, eax
je 0x629639fa
cmp word [ebp - 0x2e8], 0
je 0x629639fa
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
mov byte [ebp - 0x414], al
push ecx
test al, al
je 0x629639fa
movzx edi, byte [ebp - 0x135]
movzx eax, word [ebp - 0x2e8]
mov word [ebp - 0x41c], di
xchg al, ah
cmp di, ax
jbe 0x6296377e
mov word [ebp - 0x41c], ax
movzx eax, word [ebp - 0x2e6]
mov dword [ebp - 0x424], 0
xchg al, ah
mov word [ebp - 0x410], ax
mov edi, dword [ebp - 0x424]
cmp word [ebp - 0x41c], di
jbe 0x629639fa
movzx esi, word [ebp - 0x410]
mov ebx, esi
cmp esi, 0x16
jbe 0x629637be
mov ebx, 0x16
mov dword [esp], ebx
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edx
jne 0x629637d8
mov ecx, dword [ebp + 8]
call fcn.629c9c84
mov ebx, eax
lea edi, [ebp - 0x134]
mov dword [esp + 4], ebx
mov dword [esp], edi
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
mov ecx, 0x16
push eax
sub ecx, ebx
add ebx, edi
push eax
mov edi, ebx
xor eax, eax
rep stosb byte es:[edi], al
mov dword [esp], esi
mov ecx, dword [ebp + 8]
call fcn.62924a94
movzx ecx, byte [ebp - 0x134]
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x424]
push ebx
test cl, cl
mov ebx, dword [eax + edi*4 + 0xdbd20]
je 0x629638ee
lea eax, [ecx - 1]
mov dl, byte [ebp - 0x133]
mov word [ebp - 0x29c], ax
lea esi, [ebx + 0x30]
xor eax, eax
mov word [ebp - 0x2a0], 0
mov byte [ebp - 0x29e], 0x40
mov byte [ebp - 0x29a], 0x40
test dl, dl
je 0x62963869
movzx edi, dl
mov eax, 0x40
xor edx, edx
div di
add eax, ecx
lea edx, [ebp - 0x294]
mov word [ebp - 0x298], ax
lea eax, [ebp - 0x2a0]
mov byte [esp + 8], 0
mov dword [esp + 4], edx
mov dword [esp], eax
mov ecx, esi
mov byte [ebp - 0x296], 0
call method.void_std::vector_OpenMPT::EnvelopeNode__std::allocator_OpenMPT::EnvelopeNode___::_M_assign_aux_OpenMPT.EnvelopeNode_const__OpenMPT::EnvelopeNode_const__OpenMPT::EnvelopeNode_const__std::forward_iterator_tag_
sub esp, 0xc
cmp byte [ebp - 0x134], 1
jne 0x629638c7
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
lea edx, [ecx + 4]
cmp eax, edx
je 0x629638c3
sub eax, edx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp], ecx
call sym._memmove
sub dword [ebx + 0x34], 4
mov dl, byte [ebp - 0x133]
mov eax, 0x7fff
test dl, dl
je 0x629638dc
movzx eax, dl
shl eax, 9
or byte [ebx + 0x3c], 1
mov dword [ebx], eax
mov al, byte [ebp - 0x414]
mov byte [ebp - 0x417], al
cmp word [ebp - 0x410], 4
jbe 0x62963942
mov al, byte [ebp - 0x130]
test al, al
je 0x62963917
add eax, 0x18
mov byte [ebx + 0x84], al
mov al, byte [ebp - 0x414]
mov byte [ebp - 0x417], al
cmp word [ebp - 0x410], 0x12
jbe 0x62963942
movzx eax, byte [ebp - 0x122]
inc eax
shr eax, 1
mov dword [ebx + 4], eax
cmp word [ebp - 0x410], 0x14
jbe 0x62963942
mov eax, dword [ebp - 0x120]
mov word [ebx + 0x1c], ax
movzx eax, word [ebx + 0x166]
imul ebx, eax, 0x68
movsx edx, byte [ebp - 0x131]
shl edx, 4
add ebx, dword [ebp - 0x40c]
cmp word [ebp - 0x410], 0xe
mov byte [ebx + 0x76441], dl
jbe 0x6296398e
mov edx, dword [ebp - 0x12a]
bswap edx
mov ecx, edx
mov dword [ebx + 0x76420], edx
mov edx, dword [ebp - 0x126]
bswap edx
add edx, ecx
mov dword [ebx + 0x76424], edx
jmp 0x62963998
cmp word [ebp - 0x410], 5
jbe 0x629639ef
imul ecx, eax, 0x68
mov edi, dword [ebp - 0x40c]
mov dl, byte [ebp - 0x12f]
mov cx, word [edi + ecx + 0x7643e]
mov ebx, ecx
and ebx, 0xfffd
test dl, 1
je 0x629639c2
or ecx, 2
movzx ebx, cx
mov ecx, ebx
and ecx, 0xfffffffb
test dl, 8
je 0x629639d1
or ebx, 4
mov ecx, ebx
imul eax, eax, 0x68
add eax, dword [ebp - 0x40c]
and dl, 4
mov word [eax + 0x7643e], cx
je 0x629639ef
mov word [eax + 0x7643c], 0
inc dword [ebp - 0x424]
jmp 0x62963798
mov eax, dword [ebp - 0x2dc]
bswap eax
test eax, eax
je 0x62963bcd
cmp word [ebp - 0x2d8], 0
je 0x62963bcd
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x62963bcd
movzx edi, byte [ebp - 0x135]
movzx eax, word [ebp - 0x2d8]
mov word [ebp - 0x414], di
xchg al, ah
cmp di, ax
jbe 0x62963a4f
mov word [ebp - 0x414], ax
movzx eax, word [ebp - 0x2d6]
xor ebx, ebx
xchg al, ah
mov word [ebp - 0x41c], ax
cmp word [ebp - 0x414], bx
jbe 0x62963bcd
movzx eax, word [ebp - 0x41c]
mov dword [ebp - 0x410], eax
mov esi, eax
cmp eax, 0x28
jbe 0x62963a87
mov esi, 0x28
mov dword [esp], esi
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edx
jne 0x62963aa1
mov ecx, dword [ebp + 8]
call fcn.629c9c84
mov esi, eax
lea edi, [ebp - 0x134]
mov dword [esp + 4], esi
mov dword [esp], edi
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
mov ecx, 0x28
push eax
sub ecx, esi
add esi, edi
push eax
mov edi, esi
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.62924a94
lea edx, [ebp - 0x134]
push eax
lea eax, [ebp - 0x388]
mov dword [esp + 0xc], 0x28
mov dword [esp + 8], edx
mov dword [esp + 4], 2
mov dword [esp], eax
call method.OpenMPT::mpt::String::detail.ReadStringBuffer_abi:cxx11__OpenMPT::mpt::String::ReadWriteMode__char_const__unsigned_int_
mov eax, dword [ebp - 0x40c]
lea esi, [ebp - 0x388]
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x29c], 0x20
mov eax, dword [eax + ebx*4 + 0xdbd20]
mov dword [esp], esi
mov dword [ebp - 0x410], eax
add eax, 0x1ec
mov dword [ebp - 0x2a0], eax
call method.mpt::mpt_libopenmpt::StringBufRefImpl_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char_____char_.operator_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov ecx, esi
push eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x2a0]
mov eax, dword [eax + ebx*4 + 0xdbd20]
mov dword [esp], eax
call method.OpenMPT::ModInstrument.GetSamples___const
push eax
mov eax, dword [ebp - 0x294]
lea edi, [ebp - 0x29c]
cmp eax, edi
je 0x62963bb2
movzx edx, word [eax + 0x10]
mov edi, dword [ebp - 0x40c]
add edx, 0x7384
shl edx, 5
mov ecx, 8
mov edi, dword [edi + ebx*4 + 0xdbd20]
add edx, dword [ebp - 0x40c]
mov esi, edi
mov dword [ebp - 0x410], edi
add esi, 0x1ec
mov edi, edx
rep movsd dword es:[edi], dword [esi]
mov dword [esp], eax
call method.std._Rb_tree_increment_std::_Rb_tree_node_base_const_
jmp 0x62963b67
mov eax, dword [ebp - 0x298]
lea ecx, [ebp - 0x2a0]
mov dword [esp], eax
inc ebx
call method.std::_Rb_tree_unsigned_short__unsigned_short__std::_Identity_unsigned_short___std::less_unsigned_short___std::allocator_unsigned_short___._M_erase_std::_Rb_tree_node_unsigned_short__
push eax
jmp 0x62963a61
mov eax, dword [ebp - 0x40c]
lea ecx, [eax + 0xdc11c]
call method.OpenMPT::MIDIMacroConfig.ClearZxxMacros__
mov eax, dword [ebp - 0x40c]
lea ecx, [eax + 0xdc23c]
mov dword [eax + 0xdc23c], 0x7a206343
mov byte [eax + 0xdc240], 0
call method.OpenMPT::MIDIMacroConfigData::Macro.Sanitize__
mov eax, dword [ebp + 8]
mov dword [ebp - 0x42c], 0
mov dword [eax + 8], 0
mov word [ebp - 0x414], 0
mov al, byte [ebp - 0x42c]
mov byte [ebp - 0x43a], al
mov al, byte [ebp - 0x416]
cmp byte [ebp - 0x42c], al
jae 0x629655e6
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x2f0]
mov dword [esp], eax
lea edx, [ebp - 0x358]
mov eax, dword [ebp + 8]
call sym.__ZN7OpenMPTL15MEDReadNextSongERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS4_24FileCursorFile
cmp byte [ebp - 0x43a], 0
jne 0x62963cc8
imul eax, dword [ebp - 0x42c], 0x2c
mov edi, dword [ebp - 0x40c]
mov dword [ebp - 0x384], 0
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x374], 0
add eax, dword [edi + 0x76408]
mov dword [ebp - 0x410], eax
lea eax, [ebp - 0x384]
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x410]
mov esi, dword [ebp - 0x410]
mov eax, dword [eax]
cmp eax, dword [esi + 4]
je 0x62963ce2
mov edi, dword [ebp - 0x410]
mov dword [edi + 4], eax
jmp 0x62963ce2
mov eax, dword [ebp - 0x40c]
lea ecx, [eax + 0x76408]
call method.OpenMPT::ModSequenceSet.AddSequence__
inc al
jne 0x62963c61
jmp 0x629657fb
cmp byte [ebp - 0x3fb], 1
ja 0x62963e18
movzx ebx, word [ebp - 0x24e]
xchg bl, bh
cmp bx, 0x100
ja 0x629655d6
lea edi, [ebp - 0x134]
lea esi, [ebp - 0x24c]
mov ecx, 0x40
mov word [ebp - 0x3fa], 0xffff
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x410]
movzx ebx, bx
mov ecx, dword [esi + 4]
mov edx, ecx
sub edx, eax
sar edx, 1
cmp ebx, edx
jbe 0x62963d56
lea eax, [ebp - 0x3fa]
mov dword [esp], ecx
mov dword [esp + 8], eax
mov eax, ebx
sub eax, edx
mov ecx, esi
mov dword [esp + 4], eax
call method.std::vector_unsigned_short__std::allocator_unsigned_short___._M_fill_insert___gnu_cxx::__normal_iterator_unsigned_short__std::vector_unsigned_short__std::allocator_unsigned_short_______unsigned_int__unsigned_short_const_
sub esp, 0xc
jmp 0x62963d6a
jae 0x62963d6a
lea edx, [ebx + ebx]
add eax, edx
cmp ecx, eax
je 0x62963d6a
mov edi, dword [ebp - 0x410]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x410]
xor edx, edx
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov ecx, esi
sub ecx, eax
sar ecx, 1
cmp ebx, edx
jle 0x62963da8
movzx edi, byte [edx + ebp - 0x134]
cmp ecx, edx
ja 0x62963da1
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], 0x62b1bfe7
call method.std.__throw_out_of_range_fmt_char_const__..._
mov word [eax + edx*2], di
inc edx
jmp 0x62963d7d
cmp esi, eax
je 0x62963dba
mov edi, dword [ebp - 0x414]
add word [eax], di
add eax, 2
jmp 0x62963da8
mov dword [esp], 1
mov ecx, dword [ebp - 0x40c]
call method.OpenMPT::CSoundFile.SetupMODPanning_bool_
mov eax, dword [ebp - 0x40c]
push edi
mov cx, word [eax + 0x753bc]
cmp cx, 0x10
jbe 0x62963de5
mov ecx, 0x10
xor eax, eax
cmp cx, ax
jbe 0x62964833
movzx edx, byte [ebp + eax - 0x146]
mov ebx, eax
shl ebx, 5
cmp dl, 0x40
jbe 0x62963e07
mov edx, 0x40
mov esi, dword [ebp - 0x40c]
inc eax
mov word [esi + ebx + 0x7541e], dx
jmp 0x62963de7
mov eax, dword [ebp - 0x24c]
mov bl, byte [ebp - 0x230]
movzx ecx, word [ebp - 0x240]
mov dword [ebp - 0x44c], eax
mov byte [ebp - 0x438], bl
mov eax, dword [ebp - 0x248]
mov bl, byte [ebp - 0x22f]
xchg cl, ch
mov dword [ebp - 0x448], eax
mov byte [ebp - 0x424], bl
mov ax, word [ebp - 0x23e]
mov bx, word [ebp - 0x22e]
dec ecx
mov word [ebp - 0x444], ax
mov esi, dword [ebp - 0x244]
mov edi, dword [ebp - 0x23c]
mov edx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
mov word [ebp - 0x428], bx
cmp cx, 0x3f
ja 0x629655d6
mov ebx, dword [ebp - 0x40c]
cmp word [ebx + 0x753bc], 0x40
ja 0x629655d6
xor ebx, ebx
cmp byte [ebp - 0x420], 0
jne 0x62963eb8
bswap edx
mov ebx, edx
shr ebx, 1
and ebx, 1
xchg al, ah
test ax, ax
mov dword [ebp - 0x41c], 0x20
je 0x62963f08
cmp ax, 0x320
jbe 0x62963ed4
mov eax, 0x320
movzx eax, ax
xor edx, edx
mov dword [esp + 8], 0x64
shld edx, eax, 5
shl eax, 5
mov dword [esp + 0xc], 0
add eax, 0x32
adc edx, 0
mov dword [esp], eax
mov dword [esp + 4], edx
call dbg.__udivdi3
mov dword [ebp - 0x41c], eax
test bl, bl
je 0x62963f12
shr dword [ebp - 0x41c], 1
bswap esi
mov dword [esp], esi
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push esi
je 0x62963f5f
xor esi, esi
mov eax, dword [ebp - 0x40c]
cmp word [eax + 0x753bc], si
jbe 0x62963f5f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadUint8IN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCursor
movzx edx, si
shl edx, 5
add edx, dword [ebp - 0x40c]
cmp al, 0x40
jbe 0x62963f52
mov al, 0x40
movzx eax, al
mov word [edx + 0x7541e], ax
inc esi
jmp 0x62963f26
test bl, bl
jne 0x62963f84
cmp byte [ebp - 0x3fb], 2
ja 0x62963f84
mov dword [esp], 1
mov ecx, dword [ebp - 0x40c]
call method.OpenMPT::CSoundFile.SetupMODPanning_bool_
push ecx
jmp 0x62964013
bswap edi
test edi, edi
je 0x62963f6c
mov dword [esp], edi
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x62963f6c
xor ebx, ebx
mov eax, dword [ebp - 0x40c]
cmp word [eax + 0x753bc], bx
jbe 0x62964013
lea eax, [ebp - 0x134]
mov dword [esp + 4], 1
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
push eax
xor eax, eax
dec edx
jne 0x62963fe2
mov dword [esp], 1
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
movsx eax, byte [ebp - 0x134]
movzx edx, bx
shl edx, 5
add edx, dword [ebp - 0x40c]
cmp al, 0x10
jle 0x62963ff9
mov eax, 0x10
jmp 0x62964002
cmp al, 0xf0
jge 0x62964002
mov eax, 0xfffffff0
lea eax, [eax*8 + 0x80]
inc ebx
mov word [edx + 0x7541c], ax
jmp 0x62963f9c
mov al, byte [ebp - 0x438]
dec eax
cmp al, 1
ja 0x62964383
mov cl, byte [ebp - 0x424]
test cl, cl
jne 0x6296402e
mov cl, 1
mov eax, 1
shl eax, cl
fld1
mov dword [ebp - 0x424], eax
fld st(0)
fidiv dword [ebp - 0x424]
fst dword [ebp - 0x424]
fld st(0)
fmulp st(1)
fsubp st(1)
fstp dword [esp]
call sym._sqrtf
mov eax, dword [ebp - 0x428]
xchg al, ah
fdivr dword [ebp - 0x424]
test ax, ax
fstp dword [ebp - 0x430]
fld1
fstp dword [ebp - 0x428]
jne 0x6296407f
mov eax, 1
movzx eax, ax
dec eax
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x40c]
fld dword [0x62b1c0ac]
fidivr dword [ebp - 0x434]
add eax, 0xdd440
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x40c]
mov eax, dword [eax + 0xdd440]
test eax, eax
fstp dword [ebp - 0x440]
je 0x629640c4
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x40c]
mov ecx, 0x28
lea edi, [eax + 0xdd43c]
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x434]
call fcn.62a5ee64
mov eax, dword [ebp - 0x40c]
fld dword [ebp - 0x430]
fadd dword [ebp - 0x428]
lea edi, [eax + 0xdd44c]
mov ecx, 0x20
xor eax, eax
rep stosd dword es:[edi], eax
fdivr dword [ebp - 0x430]
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x134]
mov dword [eax + 0xdd4d0], 0
mov dword [eax + 0xdd4d4], 0
mov dword [eax + 0xdd4d8], 0
mov dword [eax + 0xdd44c], 0x44584d4f
mov dword [eax + 0xdd450], 0xef3e932c
mov byte [eax + 0xdd454], 0x11
mov byte [eax + 0xdd456], 0xa
fsubr dword [ebp - 0x428]
fstp dword [eax + 0xdd4cc]
call fcn.62a6a06c
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], 0x20
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40c]
add eax, 0xdd46c
mov dword [esp], 1
mov dword [esp + 4], eax
call method.OpenMPT::mpt::String::detail.WriteStringBuffer_OpenMPT::mpt::String::ReadWriteMode__char__unsigned_int__char_const__unsigned_int_
lea ecx, [ebp - 0x134]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x134]
call fcn.62a6a06c
mov eax, dword [ebp - 0x130]
mov dword [esp + 8], 0x40
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x134]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40c]
add eax, 0xdd48c
mov dword [esp], 1
mov dword [esp + 4], eax
lea ebx, [ebp - 0x134]
call method.OpenMPT::mpt::String::detail.WriteStringBuffer_OpenMPT::mpt::String::ReadWriteMode__char__unsigned_int__char_const__unsigned_int_
mov ecx, ebx
mov edi, ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov ebx, dword [ebp - 0x424]
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov eax, ebx
mov esi, dword [ebp - 0x440]
shr eax, 0x18
mov edi, esi
mov dword [ebp - 0x450], eax
mov eax, ebx
shr eax, 0x10
mov dword [esp], 0x18
mov dword [ebp - 0x454], eax
mov eax, ebx
shr eax, 8
mov ecx, dword [ebp - 0x434]
mov dword [ebp - 0x458], eax
mov eax, esi
shr eax, 0x18
mov dword [ebp - 0x430], eax
mov eax, esi
shr eax, 0x10
mov dword [ebp - 0x440], eax
movzx eax, byte [ebp - 0x438]
fld dword [ebp - 0x428]
shr edi, 8
mov dword [ebp - 0x424], eax
fisubr dword [ebp - 0x424]
fstp dword [ebp - 0x424]
mov eax, dword [ebp - 0x424]
shr eax, 0x18
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x424]
shr eax, 0x10
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp - 0x424]
shr eax, 8
mov dword [ebp - 0x460], eax
call method.std::vector_std::byte__std::allocator_std::byte___.resize_unsigned_int_
push eax
mov eax, dword [ebp - 0x40c]
mov word [ebp - 0x12e], 0x3f80
mov byte [ebp - 0x12c], bl
mov eax, dword [eax + 0xdd440]
mov ecx, 6
mov dword [ebp - 0x428], eax
mov al, byte [ebp - 0x458]
mov byte [ebp - 0x12b], al
mov al, byte [ebp - 0x454]
mov byte [ebp - 0x12a], al
mov al, byte [ebp - 0x450]
mov byte [ebp - 0x129], al
mov eax, esi
mov byte [ebp - 0x128], al
mov eax, edi
mov byte [ebp - 0x127], al
mov al, byte [ebp - 0x440]
mov byte [ebp - 0x126], al
mov al, byte [ebp - 0x430]
mov byte [ebp - 0x125], al
mov eax, esi
mov byte [ebp - 0x124], al
mov eax, edi
mov byte [ebp - 0x123], al
mov al, byte [ebp - 0x440]
mov byte [ebp - 0x122], al
mov al, byte [ebp - 0x430]
mov byte [ebp - 0x121], al
mov al, byte [ebp - 0x424]
mov byte [ebp - 0x120], al
mov al, byte [ebp - 0x460]
mov byte [ebp - 0x11f], al
mov al, byte [ebp - 0x45c]
mov byte [ebp - 0x11e], al
mov al, byte [ebp - 0x438]
mov byte [ebp - 0x11d], al
lea esi, [ebp - 0x134]
mov edi, dword [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x448]
mov ecx, dword [ebp + 8]
bswap eax
mov dword [esp], eax
mov dword [ebp - 0x324], 0
mov dword [ebp - 0x320], 0
mov dword [ebp - 0x31c], 0
call fcn.62924a5c
test al, al
push ecx
je 0x6296447e
movzx eax, word [ebp - 0x24e]
xchg al, ah
movzx eax, ax
add eax, eax
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.629c9c58
test al, al
push edx
je 0x6296447e
movzx eax, word [ebp - 0x24e]
mov ecx, dword [ebp - 0x320]
mov edx, dword [ebp - 0x324]
mov esi, ecx
xchg al, ah
sub esi, edx
movzx eax, ax
sar esi, 1
cmp eax, esi
lea ebx, [eax + eax]
jbe 0x62964417
sub eax, esi
lea ecx, [ebp - 0x324]
mov dword [esp], eax
call method.std::vector_mpt::mpt_libopenmpt.packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short___std::allocator_mpt::mpt_libopenmpt::packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short_____::_M_default_appen
push edi
jmp 0x62964426
jae 0x62964426
lea eax, [edx + ebx]
cmp ecx, eax
je 0x62964426
mov dword [ebp - 0x320], eax
mov dword [esp], ebx
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push esi
je 0x6296447e
mov edx, dword [ebp - 0x324]
mov eax, dword [ebp - 0x320]
sub eax, edx
mov dword [esp], edx
mov dword [esp + 4], eax
mov ecx, dword [ebp + 8]
call fcn.62924acc
mov eax, dword [ebp - 0x320]
push ebx
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x324]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x444]
xchg al, ah
push ebx
mov word [ebp - 0x440], ax
jmp 0x629644a3
lea ecx, [ebp - 0x324]
call method.std::_Vector_base_mpt::mpt_libopenmpt.packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short___std::allocator_mpt::mpt_libopenmpt::packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short_____::_Vector_b
jmp 0x629655b3
movzx eax, word [edi]
xchg al, ah
cmp ax, word [ebp - 0x440]
jbe 0x629644b6
add dword [ebp - 0x424], 2
mov edi, dword [ebp - 0x424]
cmp dword [ebp - 0x434], edi
jne 0x6296448e
jmp 0x62964826
mov edx, dword [ebp - 0x44c]
mov ecx, dword [ebp + 8]
movzx eax, ax
bswap edx
lea eax, [edx + eax*4]
mov dword [esp], eax
call fcn.62924a5c
mov eax, dword [ebp + 8]
push ecx
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x6296449c
mov dword [esp], 0x2a
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edi
je 0x6296449c
lea eax, [ebp - 0x134]
mov dword [esp + 4], 0x2a
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push esi
cmp edx, 0x2a
push esi
jne 0x62964531
mov dword [esp], 0x2a
mov ecx, dword [ebp + 8]
call fcn.62924a94
push ebx
jmp 0x62964540
lea edi, [ebp - 0x134]
mov ecx, 0x2a
xor eax, eax
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x410]
mov edi, dword [eax]
cmp dword [eax + 4], edi
je 0x6296455c
mov dword [esp], 0xfffe
mov ecx, eax
call method.OpenMPT::ModSequence.push_back_unsigned_short_
push ecx
mov eax, dword [ebp - 0x410]
mov esi, dword [ebp - 0x410]
movzx ebx, word [ebp - 0x10c]
mov eax, dword [eax + 4]
xchg bl, bh
sub eax, dword [esi]
mov ecx, dword [ebp + 8]
movzx ebx, bx
sar eax, 1
mov dword [esp], ebx
mov dword [ebp - 0x428], eax
call fcn.629c9c58
test al, al
push edx
jne 0x6296459f
mov ecx, dword [ebp + 8]
call fcn.629c9c84
cmp ebx, eax
jbe 0x6296459f
mov ebx, eax
cmp ebx, 0xfffe
jbe 0x629645ac
mov ebx, 0xfffe
mov eax, dword [ebp - 0x428]
add eax, ebx
cmp eax, 0x3fffffff
jbe 0x629645c7
mov dword [esp], 0x62b1c031
call method.std.__throw_length_error_char_const_
mov edi, dword [ebp - 0x410]
mov esi, edi
mov ecx, dword [edi]
mov edi, dword [edi + 8]
mov edx, edi
mov dword [ebp - 0x430], edi
sub edx, ecx
sar edx, 1
cmp eax, edx
jbe 0x62964655
mov edi, dword [esi + 4]
lea esi, [eax + eax]
sub edi, ecx
mov dword [ebp - 0x430], esi
test eax, eax
je 0x62964602
mov dword [esp], esi
call sym.operator_new_unsigned_int_
mov esi, eax
jmp 0x62964604
xor esi, esi
mov eax, dword [ebp - 0x410]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x438], eax
sub eax, ecx
test eax, eax
jle 0x6296462b
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], esi
call sym._memmove
mov eax, dword [ebp - 0x410]
mov eax, dword [eax]
test eax, eax
je 0x6296463f
mov dword [esp], eax
call sym.operator_delete_void_
mov eax, dword [ebp - 0x410]
add edi, esi
mov dword [eax], esi
add esi, dword [ebp - 0x430]
mov dword [eax + 4], edi
mov dword [eax + 8], esi
xor esi, esi
cmp esi, ebx
je 0x62964686
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEItN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
test ax, ax
js 0x62964683
add eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x410]
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::ModSequence.push_back_unsigned_short_
push edi
inc esi
jmp 0x62964657
cmp byte [ebp - 0x134], 0
je 0x629646df
lea eax, [ebp - 0x134]
lea ebx, [ebp - 0x370]
mov dword [ebp - 0x2a0], eax
lea eax, [ebp - 0x2a0]
mov dword [esp + 8], eax
mov eax, dword [0x62b33ba0]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov dword [ebp - 0x29c], 0x20
call fcn.6292c940
mov eax, dword [ebp - 0x410]
mov dword [esp], ebx
lea ecx, [eax + 0xc]
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::operator_std::__cxx11::basic_string_char__mpt::mpt_libopenmpt::encodi
push ecx
mov ecx, ebx
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
mov eax, dword [ebp - 0x114]
bswap eax
test eax, eax
je 0x6296449c
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x6296449c
lea eax, [ebp - 0x370]
mov dword [esp + 4], 4
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 4
push eax
jne 0x6296449c
mov dword [esp], 4
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
lea ebx, [ebp - 0x3c4]
movzx eax, byte [ebp - 0x36d]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov ecx, ebx
call fcn.62924b18
push esi
lea ecx, [ebp - 0x2a0]
push esi
mov dword [esp], ebx
call fcn.62924ca8
mov ecx, ebx
push edi
call fcn.62925908
movzx edx, word [ebp - 0x370]
xchg dl, dh
movzx eax, dx
add eax, dword [ebp - 0x428]
cmp eax, 0xffff
jbe 0x6296478b
mov eax, 0xffff
inc dx
mov word [ebp - 0x39c], ax
je 0x629647c4
mov edi, dword [ebp - 0x410]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
mov edx, edi
mov dword [ebp - 0x430], edi
sub edx, ecx
sar edx, 1
cmp edx, eax
jbe 0x629647c4
mov dl, byte [ebp - 0x36e]
cmp dl, 1
jne 0x629647d4
mov word [ecx + eax*2], 0xffff
jmp 0x62964816
lea ecx, [ebp - 0x2a0]
call fcn.62925908
jmp 0x6296449c
cmp dl, 2
jne 0x62964816
lea esi, [ebp - 0x2a0]
mov dword [esp], esi
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEItN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov ebx, eax
lea eax, [ebp - 0x39c]
mov dword [esp], eax
lea ecx, [ebp - 0x388]
call method.std::map_unsigned_short__unsigned_short__std::less_unsigned_short___std::allocator_std::pair_unsigned_short_const__unsigned_short_____.operator___unsigned_short_const_
push ecx
mov word [eax], bx
mov eax, dword [ebp - 0x410]
movzx edx, word [ebp - 0x39c]
mov eax, dword [eax]
mov word [eax + edx*2], 0xfffe
lea ecx, [ebp - 0x2a0]
call fcn.62925908
jmp 0x62964703
lea ecx, [ebp - 0x324]
call method.std::_Vector_base_mpt::mpt_libopenmpt.packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short___std::allocator_mpt::mpt_libopenmpt::packed_unsigned_short___mpt::mpt_libopenmpt::endian_305419896__unsigned_short_____::_Vector_b
jmp 0x6296483d
mov dword [ebp - 0x41c], 0x20
mov al, byte [ebp - 0x149]
mov dl, al
shr al, 6
shr dl, 4
and eax, 1
mov byte [ebp - 0x440], al
mov al, byte [ebp - 0x148]
mov bl, al
and edx, 1
and bl, 0x20
mov byte [ebp - 0x448], dl
setne byte [ebp - 0x444]
and eax, 0x1f
inc eax
mov byte [ebp - 0x438], al
cmp byte [ebp - 0x43a], 0
jne 0x629648f8
movzx esi, byte [ebp - 0x438]
movzx eax, word [ebp - 0x14c]
movzx ecx, byte [ebp - 0x444]
xchg al, ah
movzx edx, byte [ebp - 0x440]
mov dword [esp], esi
movzx eax, ax
call method.OpenMPT.MMDTempoToBPM_unsigned_int__bool__bool__unsigned_char_
mov esi, dword [ebp - 0x40c]
mov dword [esi + 0x753cc], eax
movzx eax, byte [ebp - 0x147]
cmp al, 0x20
jbe 0x629648c9
mov eax, 0x20
jmp 0x629648d2
test al, al
jne 0x629648d2
mov eax, 1
mov edi, dword [ebp - 0x40c]
test bl, bl
mov dword [edi + 0x753c4], eax
je 0x629648f8
movzx eax, byte [ebp - 0x438]
mov dword [edi + 0x753d8], eax
shl eax, 2
mov dword [edi + 0x753dc], eax
movzx eax, byte [ebp - 0x136]
test al, al
je 0x6296491b
cmp al, 0x40
jbe 0x6296490c
mov eax, 0x40
shl eax, 2
mov esi, dword [ebp - 0x40c]
mov dword [esi + 0x753c8], eax
mov eax, dword [ebp - 0x40c]
mov edi, dword [ebp - 0x41c]
mov edx, dword [eax + 0x753d0]
mov dword [eax + 0x753e8], edi
mov dword [eax + 0x753e4], edi
mov eax, edx
and eax, 0xfffffffd
test byte [ebp - 0x149], 0x20
jne 0x6296494c
mov eax, edx
or eax, 2
mov edi, dword [ebp - 0x40c]
mov dword [edi + 0x753d0], eax
mov eax, dword [ebp - 0x2c4]
bswap eax
test eax, eax
je 0x62964a45
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x62964a45
mov eax, dword [ebp - 0x2c0]
mov esi, dword [ebp - 0x40c]
bswap eax
lea ebx, [esi + 0x13cfa8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.629959b0
cmp byte [ebp - 0x416], 1
je 0x62964a45
lea esi, [ebp - 0x2a0]
mov dword [esp], ebx
mov ecx, esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea ebx, [ebp - 0x134]
push eax
lea eax, [ebp - 0x370]
mov dword [esp + 4], esi
mov dword [esp], eax
mov ecx, ebx
mov dword [ebp - 0x370], 0x1c
call method.std::__cxx11::basic_string_char32_t__std::char_traits_char32_t___std::allocator_char32_t____OpenMPT::mpt::CharsetTranscoder::decode_std::__cxx11::basic_string_char__std::char_traits_char___std.allocator_char______std::__cxx11::basic_string_char__st
push eax
push eax
lea eax, [ebp - 0x324]
mov dword [esp + 8], 0x3f
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt11encode_utf8INSt7__cxx1112basic_stringIcNS0_20encoding_char_traitsILNS0_15common_encodingE0ES5_EESaIc
mov ecx, ebx
lea ebx, [ebp - 0x324]
call method.std::__cxx11::basic_string_char32_t__std::char_traits_char32_t___std::allocator_char32_t___._M_dispose__
mov ecx, esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
mov eax, dword [ebp - 0x410]
mov dword [esp], ebx
lea ecx, [eax + 0xc]
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::operator_std::__cxx11::basic_string_char__mpt::mpt_libopenmpt::encodi
mov ecx, ebx
push eax
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
jmp 0x62964a45
mov eax, dword [ebp - 0x2e0]
bswap eax
cmp eax, 1
jbe 0x62964a99
mov eax, dword [ebp - 0x2e4]
mov ecx, dword [ebp + 8]
bswap eax
mov dword [esp], eax
call fcn.62924a5c
test al, al
push edi
je 0x62964a99
mov eax, dword [ebp - 0x2e0]
mov edi, dword [ebp - 0x40c]
bswap eax
dec eax
lea ecx, [edi + 0x13cfd8]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], 4
mov dword [esp], eax
call sym.__ZN7OpenMPT11SongMessage4ReadERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS5_24FileCursorFile
sub esp, 0xc
mov eax, dword [ebp - 0x2b8]
bswap eax
test eax, eax
je 0x62964c0d
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push esi
je 0x62964c0d
mov dword [esp], 0xc
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push ebx
je 0x62964c0d
mov dword [esp], 6
mov ecx, dword [ebp + 8]
call fcn.62924a94
mov eax, dword [ebp + 8]
push ecx
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEItN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
dec ax
jne 0x62964c0d
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov ebx, eax
test eax, eax
je 0x62964c0d
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edx
je 0x62964c0d
mov eax, dword [ebp - 0x40c]
lea ecx, [ebp - 0x370]
lea esi, [eax + 0x13cfd8]
mov dword [esp], esi
call fcn.62a693b0
mov eax, dword [ebp + 8]
mov ecx, esi
push edi
mov dword [esp + 8], 4
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym.__ZN7OpenMPT11SongMessage4ReadERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS5_24FileCursorFile
sub esp, 0xc
cmp dword [ebp - 0x36c], 0
je 0x62964c02
lea eax, [ebp - 0x31c]
mov dword [esp + 4], 0xd
mov dword [esp], 2
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x324], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_construct_unsigned_int__char_
push ebx
lea eax, [ebp - 0x370]
push ebx
lea ecx, [ebp - 0x324]
mov dword [esp + 4], eax
mov dword [esp], 0
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.insert_unsigned_int__std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
push edx
lea ecx, [ebp - 0x2a0]
push edx
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
push ecx
lea ecx, [ebp - 0x2a0]
mov dword [esp], esi
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.append_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
lea ebx, [ebp - 0x134]
push edi
mov dword [esp], eax
mov ecx, ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ecx, esi
push eax
mov dword [esp], ebx
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.assign_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
mov ecx, ebx
push eax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x2a0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x324]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
lea ecx, [ebp - 0x370]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
cmp byte [ebp - 0x3fb], 1
jbe 0x62964d51
cmp dword [ebp - 0x2ac], 0
je 0x62964d51
xor ebx, ebx
mov eax, dword [ebp - 0x40c]
cmp word [eax + 0x753bc], bx
jbe 0x62964d51
mov eax, dword [ebp - 0x2ac]
mov ecx, dword [ebp + 8]
bswap eax
movzx edx, bx
lea eax, [eax + edx*4]
mov dword [esp], eax
call fcn.62924a5c
test al, al
push esi
je 0x62964d4b
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x62964d4b
xor esi, esi
xor edi, edi
mov dword [esp], 8
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edx
je 0x62964d0d
lea eax, [ebp - 0x134]
mov dword [esp + 4], 8
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 8
push eax
jne 0x62964cc7
mov dword [esp], 8
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
jmp 0x62964cdb
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x134]
bswap eax
test eax, eax
je 0x62964d0d
and eax, 0x1fffffff
cmp eax, 1
je 0x62964d00
cmp eax, 2
jne 0x62964c81
mov esi, dword [ebp - 0x130]
bswap esi
jmp 0x62964c81
mov edi, dword [ebp - 0x130]
bswap edi
jmp 0x62964c81
test edi, edi
je 0x62964d4b
test esi, esi
je 0x62964d4b
mov dword [esp], edi
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edi
je 0x62964d4b
movzx eax, bx
shl eax, 5
mov dword [esp + 8], esi
mov esi, dword [ebp - 0x40c]
lea eax, [esi + eax + 0x75421]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN7OpenMPT13FileReaderExt10ReadStringILNS_3mpt6String13ReadWriteModeE2ELj20ENS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO2
inc ebx
jmp 0x62964c29
movzx eax, word [ebp - 0x250]
mov edi, dword [ebp - 0x414]
xchg al, ah
not edi
cmp di, ax
mov word [ebp - 0x41c], di
jbe 0x62964d75
mov word [ebp - 0x41c], ax
mov eax, dword [ebp - 0x40c]
add eax, 0x763f8
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x414]
add eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x430]
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::CPatternContainer.ResizeArray_unsigned_short_
movzx eax, word [ebp - 0x414]
push ebx
mov dword [ebp - 0x454], eax
mov dword [ebp - 0x424], 0
mov eax, dword [ebp - 0x424]
cmp word [ebp - 0x41c], ax
mov word [ebp - 0x450], ax
jbe 0x629652de
test byte [ebp + 0xc], 1
je 0x629652d3
mov eax, dword [ebp - 0x348]
mov esi, dword [ebp - 0x424]
bswap eax
mov ecx, dword [ebp + 8]
lea eax, [eax + esi*4]
mov dword [esp], eax
call fcn.62924a5c
test al, al
push ecx
je 0x629652d3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x629652d3
movsx bx, byte [ebp - 0x14a]
lea eax, [ebp - 0x298]
lea ecx, [ebp - 0x3c4]
mov dword [ebp - 0x2a0], eax
lea eax, [ebx + 0x30]
mov dword [ebp - 0x29c], 0
mov byte [ebp - 0x298], 0
mov word [ebp - 0x43a], ax
call fcn.629252fc
lea ecx, [ebp - 0x370]
call fcn.629252fc
mov al, byte [ebp - 0x3fb]
test al, al
jne 0x62964ed0
lea eax, [ebp - 0x134]
mov dword [esp + 4], 2
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 2
push eax
jne 0x62964ea4
mov dword [esp], 2
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
jmp 0x62964ead
mov word [ebp - 0x134], 0
movzx eax, byte [ebp - 0x134]
mov word [ebp - 0x428], ax
xor edi, edi
movzx eax, byte [ebp - 0x133]
inc eax
mov dword [ebp - 0x434], eax
jmp 0x62965141
cmp al, 2
jbe 0x62964ede
lea eax, [ebx + 0x18]
mov word [ebp - 0x43a], ax
lea eax, [ebp - 0x3d8]
mov dword [esp + 4], 8
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push eax
cmp edx, 8
push eax
jne 0x62964f10
mov dword [esp], 8
mov ecx, dword [ebp + 8]
call fcn.62924a94
push eax
jmp 0x62964f24
mov dword [ebp - 0x3d8], 0
mov dword [ebp - 0x3d4], 0
movzx eax, word [ebp - 0x3d8]
xchg al, ah
mov word [ebp - 0x428], ax
movzx eax, word [ebp - 0x3d6]
xchg al, ah
movzx eax, ax
inc eax
xor edi, edi
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x3d4]
bswap eax
test eax, eax
je 0x62965141
mov edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [edi + 8]
mov dword [esp], eax
mov dword [ebp - 0x44c], esi
call fcn.62924a5c
push eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
mov dword [esp + 4], 0x24
mov ecx, dword [ebp + 8]
call sym.__ZNK3mpt14mpt_libopenmpt2IO10FileCursorINS1_24FileCursorTraitsFileDataENS1_24FileCursorFilenameTraitsINS0_15BasicPathStringIN
push edi
cmp edx, 0x24
push edi
jne 0x62964fa2
mov dword [esp], 0x24
mov ecx, dword [ebp + 8]
call fcn.62924a94
push esi
jmp 0x62964fb1
lea edi, [ebp - 0x134]
mov ecx, 9
xor eax, eax
rep stosd dword es:[edi], eax
cmp dword [ebp - 0x12c], 0
je 0x62964ff7
mov eax, dword [ebp - 0x130]
bswap eax
test eax, eax
je 0x62964ff7
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ebx
je 0x62964ff7
mov eax, dword [ebp - 0x12c]
bswap eax
mov dword [esp + 8], eax
lea eax, [ebp - 0x2a0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.629959b0
mov eax, dword [ebp - 0x128]
bswap eax
test eax, eax
jne 0x6296500a
xor edi, edi
jmp 0x62965098
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x62965003
mov dword [esp], 8
mov ecx, dword [ebp + 8]
call fcn.629c9c58
test al, al
push edx
je 0x62965003
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEItN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], 2
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.62924a94
push eax
lea ebx, [ebp - 0x3b0]
movzx eax, di
shl eax, 2
mov ecx, ebx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.62924b18
push esi
push esi
lea esi, [ebp - 0x324]
mov ecx, esi
mov dword [esp], ebx
call fcn.62924ca8
lea ecx, [ebp - 0x370]
push eax
mov dword [esp], esi
call fcn.62925b00
mov ecx, esi
push eax
call fcn.62925908
mov ecx, ebx
call fcn.62925908
mov eax, dword [ebp - 0x124]
bswap eax
test eax, eax
je 0x6296512f
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x6296512f
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push edx
je 0x6296512f
movzx eax, word [ebp - 0x428]
imul eax, dword [ebp - 0x434]
movzx edx, di
inc edx
lea ebx, [ebp - 0x39c]
imul eax, edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov ecx, ebx
call fcn.62924b18
push eax
lea esi, [ebp - 0x324]
push eax
mov ecx, esi
mov dword [esp], ebx
call fcn.62924ca8
lea ecx, [ebp - 0x3c4]
push eax
mov dword [esp], esi
call fcn.62925b00
mov ecx, esi
push eax
call fcn.62925908
mov ecx, ebx
call fcn.62925908
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp + 8]
mov dword [esp], eax
call fcn.62924a5c
push eax
mov eax, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x430]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x450]
add eax, dword [ebp - 0x414]
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::CPatternContainer.Insert_unsigned_short__unsigned_int_
push esi
lea ecx, [ebp - 0x370]
push esi
test al, al
je 0x629652b8
mov esi, dword [ebp - 0x454]
mov eax, dword [ebp - 0x40c]
add esi, dword [ebp - 0x424]
shl esi, 6
add esi, dword [eax + 0x763f8]
lea eax, [ebp - 0x2a0]
mov dword [esp], eax
mov ecx, esi
call method.OpenMPT::CPattern.SetName_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____const_
mov eax, dword [ebp - 0x40c]
push ebx
mov eax, dword [eax + 0x753bc]
cmp ax, word [ebp - 0x428]
jbe 0x629651bf
mov eax, dword [ebp - 0x428]
movzx edx, word [ebp - 0x43a]
shl eax, 0x10
mov ebx, dword [ebp - 0x440]
or edx, eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x434], edx
xor edx, edx
mov dl, byte [ebp - 0x3fb]
and eax, 1
mov dh, byte [ebp - 0x438]
and ebx, 1
shl eax, 0x10
mov dword [esp + 8], 0
shl ebx, 0x11
mov ecx, eax
mov eax, edx
and eax, 0xfffcffff
or eax, ecx
or eax, ebx
mov ebx, dword [ebp - 0x444]
and ebx, 1
and eax, 0xfff3ffff
shl ebx, 0x12
mov ecx, ebx
mov ebx, dword [ebp - 0x448]
and ebx, 1
or eax, ecx
mov edx, ebx
mov ebx, eax
shl edx, 0x13
mov eax, dword [ebp - 0x434]
or ebx, edx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, esi
lea edx, [ebp - 0x3c4]
mov eax, dword [ebp + 8]
call sym.__ZN7OpenMPTL19TranslateMEDPatternERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS4_24FileCursor
or byte [ebp - 0x417], al
mov word [ebp - 0x428], 0
cmp di, word [ebp - 0x428]
lea ecx, [ebp - 0x370]
je 0x629652b8
mov dword [esp], ecx
call sym.__ZN3mpt14mpt_libopenmpt2IO10FileReader9ReadIntBEIjN7OpenMPT6detail10FileReaderINS1_24FileCursorTraitsFileDataENS1_24FileCurso
test eax, eax
je 0x629652af
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x629652af
mov eax, dword [ebp - 0x434]
mov dword [esp + 8], 1
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, esi
lea edx, [ebp - 0x3c4]
mov eax, dword [ebp + 8]
call sym.__ZN7OpenMPTL19TranslateMEDPatternERNS_6detail10FileReaderIN3mpt14mpt_libopenmpt2IO24FileCursorTraitsFileDataENS4_24FileCursor
inc word [ebp - 0x428]
jmp 0x6296525f
call fcn.62925908
lea ecx, [ebp - 0x3c4]
call fcn.62925908
lea ecx, [ebp - 0x2a0]
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___._M_dispose__
inc dword [ebp - 0x424]
jmp 0x62964dbb
mov esi, dword [ebp - 0x37c]
lea eax, [ebp - 0x384]
cmp esi, eax
je 0x62965422
mov ax, word [esi + 0x10]
test ax, ax
jne 0x6296530d
movzx eax, word [esi + 0x10]
movzx edx, word [esi + 0x12]
inc eax
cmp edx, eax
jne 0x6296533f
jmp 0x62965413
dec eax
mov ecx, dword [ebp - 0x410]
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::ModSequence.IsValidPat_unsigned_short__const
test al, al
push edx
je 0x629652fb
mov ax, word [esi + 0x10]
mov ecx, dword [ebp - 0x410]
dec eax
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::ModSequence.EnsureUnique_unsigned_short_
mov ebx, eax
push edi
jmp 0x62965377
mov dword [esp + 4], 0
mov dword [esp], 1
mov ecx, dword [ebp - 0x430]
call method.OpenMPT::CPatternContainer.InsertAny_unsigned_int__bool_
cmp ax, 0xffff
push ebx
push ebx
mov ebx, eax
je 0x62965413
mov eax, dword [ebp - 0x410]
movzx edx, word [esi + 0x10]
mov eax, dword [eax]
mov word [eax + edx*2], bx
mov eax, dword [ebp - 0x40c]
movzx ecx, bx
shl ecx, 6
add ecx, dword [eax + 0x763f8]
mov ax, word [esi + 0x12]
cmp ax, 0xff
jbe 0x62965398
mov eax, 0xff
mov byte [ebp - 0x129], al
mov al, byte [ebp - 0x128]
and eax, 0xfffffff8
mov byte [ebp - 0x12a], 0xc
or eax, 1
mov word [ebp - 0x12c], 0xffff
mov byte [ebp - 0x128], al
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x134], 2
dec eax
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
mov dword [esp], eax
call method.OpenMPT::CPattern.WriteEffect_OpenMPT::EffectWriter_
cmp word [ebp - 0x414], bx
push ecx
ja 0x62965413
movzx edx, word [ebp - 0x414]
movzx eax, bx
sub eax, edx
movzx edx, word [ebp - 0x41c]
cmp eax, edx
jl 0x62965413
sub ebx, dword [ebp - 0x414]
lea eax, [ebx + 1]
mov word [ebp - 0x41c], ax
mov dword [esp], esi
call method.std._Rb_tree_increment_std::_Rb_tree_node_base_
mov esi, eax
jmp 0x629652e4
cmp byte [ebp - 0x416], 1
je 0x6296558a
mov ecx, dword [ebp - 0x410]
call method.OpenMPT::ModSequence.GetFirstValidIndex___const
mov ecx, dword [ebp - 0x410]
movzx eax, ax
mov dword [esp], eax
call method.OpenMPT::ModSequence.EnsureUnique_unsigned_short_
mov ebx, eax
push edx
cmp ax, 0xffff
je 0x6296558a
movzx eax, ax
shl eax, 6
xor esi, esi
mov dword [ebp - 0x410], eax
mov eax, dword [ebp - 0x40c]
cmp word [eax + 0x753bc], si
jbe 0x6296555a
mov ecx, dword [ebp - 0x410]
mov edx, dword [ebp - 0x40c]
movzx edi, si
add ecx, dword [eax + 0x763f8]
mov eax, edi
shl eax, 5
mov byte [ebp - 0x12a], 0x15
mov dword [ebp - 0x130], 0
mov word [ebp - 0x12c], si
mov ax, word [edx + eax + 0x7541e]
mov dword [ebp - 0x134], 1
mov byte [ebp - 0x129], al
mov al, byte [ebp - 0x128]
and eax, 0xfffffff8
or eax, 1
mov byte [ebp - 0x128], al
lea eax, [ebp - 0x134]
mov dword [esp], eax
call method.OpenMPT::CPattern.WriteEffect_OpenMPT::EffectWriter_
shl edi, 5
push eax
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x410]
add ecx, dword [eax + 0x763f8]
mov eax, dword [eax + edi + 0x7541c]
cmp ax, 0xff
jbe 0x6296550b
mov eax, 0xff
mov byte [ebp - 0x129], al
mov al, byte [ebp - 0x128]
and eax, 0xfffffff8
mov byte [ebp - 0x12a], 9
or eax, 1
mov dword [ebp - 0x130], 0
mov byte [ebp - 0x128], al
lea eax, [ebp - 0x134]
mov dword [esp], eax
mov word [ebp - 0x12c], si
mov dword [ebp - 0x134], 1
call method.OpenMPT::CPattern.WriteEffect_OpenMPT::EffectWriter_
inc esi
push edi
jmp 0x62965466
cmp word [ebp - 0x414], bx
ja 0x6296558a
movzx edx, word [ebp - 0x414]
movzx eax, bx
sub eax, edx
movzx edx, word [ebp - 0x41c]
cmp eax, edx
jl 0x6296558a
sub ebx, dword [ebp - 0x414]
lea eax, [ebx + 1]
mov word [ebp - 0x41c], ax
mov eax, dword [ebp - 0x2f0]
mov edi, dword [ebp - 0x41c]
bswap eax
add word [ebp - 0x414], di
test eax, eax
je 0x629655c9
mov dword [esp], eax
mov ecx, dword [ebp + 8]
call fcn.62924a5c
test al, al
push ecx
je 0x629655c9
lea ecx, [ebp - 0x388]
call method.std::_Rb_tree_unsigned_short__std::pair_unsigned_short_const__unsigned_short___std::_Select1st_std::pair_unsigned_short_const__unsigned_short_____std::less_unsigned_short___std::allocator_std::pair_unsigned_short_const__unsigned_short_____._Rb_tre
inc dword [ebp - 0x42c]
jmp 0x62963c1d
lea ecx, [ebp - 0x388]
call method.std::_Rb_tree_unsigned_short__std::pair_unsigned_short_const__unsigned_short___std::_Select1st_std::pair_unsigned_short_const__unsigned_short_____std::less_unsigned_short___std::allocator_std::pair_unsigned_short_const__unsigned_short_____._Rb_tre
jmp 0x629655e6
lea ecx, [ebp - 0x388]
call method.std::_Rb_tree_unsigned_short__std::pair_unsigned_short_const__unsigned_short___std::_Select1st_std::pair_unsigned_short_const__unsigned_short_____std::less_unsigned_short___std::allocator_std::pair_unsigned_short_const__unsigned_short_____._Rb_tre
jmp 0x629657fb
mov eax, dword [ebp - 0x40c]
mov dword [esp], 0
lea ecx, [eax + 0x76408]
call method.OpenMPT::ModSequenceSet.SetSequence_unsigned_char_
cmp byte [ebp - 0x417], 0
push edx
jne 0x62965676
mov esi, 1
mov eax, dword [ebp - 0x40c]
cmp word [eax + 0x753c0], si
jb 0x62965667
movzx eax, si
mov edi, dword [ebp - 0x40c]
lea edi, [edi + eax*4]
mov ebx, dword [edi + 0xdbd1c]
test ebx, ebx
je 0x6296565a
lea ecx, [ebx + 0x58]
call fcn.62a5bc24
lea ecx, [ebx + 0x44]
call fcn.62a5bc24
lea ecx, [ebx + 0x30]
call fcn.62a5bc24
mov dword [esp + 4], 0x22c
mov dword [esp], ebx
call sym.operator_delete_void__unsigned_int_
mov dword [edi + 0xdbd1c], 0
inc esi
jmp 0x6296560d
mov eax, dword [ebp - 0x40c]
mov word [eax + 0x753c0], 0
cmp byte [ebp - 0x418], 0
je 0x629656bb
mov dword [esp], str.Synthesized_MED_instruments_are_not_supported.
lea ecx, [ebp - 0x134]
call fcn.62a65f98
push eax
lea eax, [ebp - 0x134]
mov dword [esp + 4], eax
mov dword [esp], 2
mov ecx, dword [ebp - 0x40c]
call sym.__ZNK7OpenMPT10CSoundFile8AddToLogENS_8LogLevelERKNSt7__cxx1112basic_stringIcN3mpt14mpt_libopenmpt20encoding_char_traitsILNS5_
lea ecx, [ebp - 0x134]
push eax
push eax
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
mov al, byte [ebp - 0x3fb]
mov ebx, str.OctaMED_v5__MMD2_
cmp al, 2
je 0x62965701
ja 0x629656d7
mov ebx, str.OctaMED_v4__MMD1_
test al, al
jne 0x62965701
jmp 0x629656e7
mov ebx, 0x62b1bfb1
cmp al, 3
jne 0x62965701
mov ebx, str.OctaMED_Soundstudio__MMD3_
jmp 0x62965701
mov eax, dword [ebp - 0x40c]
mov ebx, str.OctaMED_v2.10__MMD0_
cmp word [eax + 0x753bc], 4
ja 0x62965701
mov ebx, str.MED_v2__MMD0_
mov dword [esp], str.OctaMED__MMD_
lea ecx, [ebp - 0x134]
call fcn.62a65f98
lea esi, [ebp - 0x324]
push eax
lea eax, [ebp - 0x134]
mov ecx, esi
mov dword [esp], eax
lea edi, [ebp - 0x2a0]
call fcn.62a64d6c
lea ecx, [ebp - 0x134]
push eax
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
lea eax, [ebp - 0x3fb]
mov dword [esp], esi
mov dword [esp + 4], eax
mov ecx, edi
call fcn.629c8420
mov eax, dword [ebp - 0x40c]
push ecx
push ecx
mov dword [esp], edi
lea ecx, [eax + 0x13cff0]
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::operator_std::__cxx11::basic_string_char__mpt::mpt_libopenmpt::encodi
mov ecx, edi
push eax
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
mov ecx, esi
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
mov dword [esp], 0x62b1c080
lea ecx, [ebp - 0x134]
call fcn.62a65f98
push eax
mov eax, dword [ebp - 0x40c]
mov edi, ebx
lea ecx, [eax + 0x13d008]
lea eax, [ebp - 0x134]
mov dword [esp], eax
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::operator_std::__cxx11::basic_string_char__mpt::mpt_libopenmpt::encodi
lea ecx, [ebp - 0x134]
push edx
call method.std::__cxx11::basic_string_char__mpt::mpt_libopenmpt.encoding_char_traits__mpt::mpt_libopenmpt::common_encoding_0__mpt::mpt_libopenmpt::common_encoding___std::allocator_char___::_M_dispose__
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, ecx
mov esi, dword [ebp - 0x40c]
not eax
dec eax
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
lea ecx, [esi + 0x13d020]
mov eax, dword [esi + 0x13d024]
mov dword [esp], 0
mov dword [esp + 4], eax
call sym.__ZNSt7__cxx1112basic_stringIcN3mpt14mpt_libopenmpt20encoding_char_traitsILNS2_15common_encodingE0ES4_EESaIcEE10_M_replaceEjjP
mov eax, dword [ebp - 0x40c]
sub esp, 0x10
mov dword [eax + 0x13d068], 0x1c
jmp 0x62965802
mov byte [ebp - 0x415], 0
mov eax, dword [ebp - 0x3f8]
test eax, eax
je 0x62965814
mov dword [esp], eax
call sym.operator_delete_void_
lea ecx, [ebp - 0x3ec]
call fcn.62925908
jmp 0x6296590b
mov al, byte [ebp - 0x415]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8