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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x530
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r13, rcx
xor eax, eax
mov ebx, eax
mov dword [rsp + 0x40], eax
cmp byte [rcx + 0xe8], al
je 0x1400e3a0c
mov rcx, qword [rcx + 0xd0]
call fcn.140122970
jmp 0x1400e3a12
mov eax, dword [rcx + 0x94]
mov dword [rsp + 0x58], eax
mov r9d, dword [r13 + 0x38]
lea eax, [r9 + 0x20]
mov dword [rsp + 0x54], eax
lea r12d, [rax + 0x800]
mov dword [rsp + 0x50], r12d
lea edi, [r9 + 0x12]
movzx r10d, byte [r13 + 0xe8]
test r10b, r10b
je 0x1400e3ab0
mov rsi, qword [r13 + 0xd0]
cmp edi, dword [rsi + 0x10]
jb 0x1400e3a53
lea eax, [rdi + 2]
cmp eax, dword [rsi + 0x14]
jbe 0x1400e3a69
mov edx, edi
mov rcx, rsi
call fcn.140121da0
mov r9d, dword [r13 + 0x38]
movzx r10d, byte [r13 + 0xe8]
sub edi, dword [rsi + 0x10]
mov r8d, edi
mov rdx, qword [rsi + 8]
lea eax, [rdi + 1]
movzx edi, byte [rax + rdx]
shl di, 8
movzx eax, byte [r8 + rdx]
or di, ax
lea edx, [r9 + 0x14]
movzx esi, di
test r10b, r10b
je 0x1400e3ad0
mov rcx, qword [r13 + 0xd0]
cmp edx, dword [rcx + 0x10]
jb 0x1400e3aa6
lea eax, [rdx + 2]
cmp eax, dword [rcx + 0x14]
jbe 0x1400e3ad0
call fcn.140121da0
movzx esi, di
jmp 0x1400e3ad0
sub edi, dword [r13 + 0x90]
mov rdx, qword [r13 + 0x88]
lea eax, [rdi + 1]
movzx esi, byte [rax + rdx]
shl si, 8
movzx eax, byte [rdi + rdx]
or si, ax
mov edi, dword [r13 + 0x38]
add edi, 0x16
cmp byte [r13 + 0xe8], bl
je 0x1400e3b0a
mov r14, qword [r13 + 0xd0]
cmp edi, dword [r14 + 0x10]
jb 0x1400e3af6
lea eax, [rdi + 2]
cmp eax, dword [r14 + 0x14]
jbe 0x1400e3b00
mov edx, edi
mov rcx, r14
call fcn.140121da0
sub edi, dword [r14 + 0x10]
mov rdx, qword [r14 + 8]
jmp 0x1400e3b18
sub edi, dword [r13 + 0x90]
mov rdx, qword [r13 + 0x88]
lea eax, [rdi + 1]
movzx r15d, byte [rax + rdx]
movzx eax, byte [rdi + rdx]
shl r15w, 8
or r15w, ax
mov word [rsp + 0x48], r15w
movzx eax, si
mov dword [rsp + 0x5c], eax
shl eax, 9
add eax, r12d
mov dword [rsp + 0x60], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], 0xd
mov qword [rbp + 8], 0xf
movsd xmm0, qword [str.Program_Table]
movsd qword [rbp - 0x10], xmm0
mov eax, dword [0x1401908b8]
mov dword [rbp - 8], eax
movzx eax, byte [0x1401908bc]
mov byte [rbp - 4], al
mov byte [rbp - 3], bl
lea r9, [rbp - 0x10]
mov r8d, 0x800
mov edx, dword [rsp + 0x54]
mov rcx, r13
call fcn.140018170
mov qword [rbp - 0x80], rax
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400e3bd6
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3bd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3bd1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
xor r14d, r14d
mov qword [rbp], r14
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], r14b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
lea ecx, [r14 + 0x20]
call fcn.14016cc68
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], 0x15
mov qword [rbp - 0x58], 0x1f
movups xmm0, xmmword [str.Tone_Attributes_Table]
movups xmmword [rax], xmm0
mov ecx, dword [0x1401908d0]
mov dword [rax + 0x10], ecx
movzx ecx, byte [0x1401908d4]
mov byte [rax + 0x14], cl
mov byte [rax + 0x15], r14b
lea r9, [rbp - 0x70]
mov edi, 0x200
mov r8d, edi
mov edx, r12d
mov rcx, r13
call fcn.140018170
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e3c94
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3c8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3c8f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov eax, 0x80
cmp si, ax
jbe 0x1400e3ee1
lea rax, [0x1401845c0]
mov qword [rbp + 0x10], rax
lea rax, [0x1401845c8]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rsp + 0x40], edi
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r14
mov dword [rbp + 0x98], r14d
lea rdx, str.Too_many_programs__
lea rcx, [rbp + 0x20]
call fcn.14001a5f0
movzx edx, si
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, str.___Offset:_0x
call fcn.14001a5f0
lea rdx, [0x1400295a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [r13 + 0x38]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov ecx, 0x48
call fcn.14016cc68
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400e3de9
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 3
mov qword [rbp - 0x58], 0xf
mov ecx, dword [0x140190808]
mov word [rbp - 0x70], cx
movzx eax, byte [0x14019080a]
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], 0
mov dword [rsp + 0x40], 0x201
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140033fc0
nop
mov esi, 0x203
mov dword [rsp + 0x40], esi
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.140006070
mov r14, rax
jmp 0x1400e3dee
mov esi, 0x200
mov rdx, r14
mov rcx, qword [0x1402257d0]
call fcn.14000a980
nop
test sil, 2
je 0x1400e3e56
and esi, 0xfffffffd
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e3e45
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3e40
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3e40
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
movdqa xmm0, xmmword [0x140182260]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test sil, 1
je 0x1400e3e9b
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e3e9b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e3e95
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e3e95
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call fcn.14001ad40
lea rcx, [rbp + 0x30]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
xor al, al
jmp 0x1400e4da0
mov eax, 0xff
cmp r15w, ax
jbe 0x1400e410a
lea rax, [0x1401845c0]
mov qword [rbp + 0x10], rax
lea rax, [0x1401845c8]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov ebx, 0x400
mov dword [rsp + 0x40], ebx
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x90], r14
mov dword [rbp + 0x98], r14d
lea rdx, str.Too_many_VAGs__
lea rcx, [rbp + 0x20]
call fcn.14001a5f0
movzx edx, r15w
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, str.___Offset:_0x
call fcn.14001a5f0
lea rdx, [0x1400295a0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, dword [r13 + 0x38]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
mov ecx, 0x48
call fcn.14016cc68
mov rsi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x1400e403b
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 3
mov qword [rbp - 0x58], 0xf
mov ecx, dword [0x140190808]
mov word [rbp - 0x70], cx
movzx eax, byte [0x14019080a]
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], 0
mov dword [rsp + 0x40], 0x404
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140033fc0
nop
mov ebx, 0x40c
mov dword [rsp + 0x40], ebx
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.140006070
mov r14, rax
mov rdx, r14
mov rcx, qword [0x1402257d0]
call fcn.14000a980
nop
test bl, 8
je 0x1400e40a2
and ebx, 0xfffffff7
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e4091
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e408c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e408c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
movdqa xmm0, xmmword [0x140182260]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
test bl, 4
je 0x1400e40e6
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e40e6
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e40e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e40e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
nop
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0x10], rdi
mov rax, qword [rbp + 0x10]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0xc], edx
jmp 0x1400e3eba
mov eax, r14d
mov dword [rsp + 0x4c], eax
mov edi, r14d
mov dword [rsp + 0x44], r14d
movss xmm6, dword [0x140184db8]
mov r15d, dword [rsp + 0x50]
cmp eax, dword [rsp + 0x5c]
jae 0x1400e42cf
mov esi, edi
shl esi, 4
add esi, dword [rsp + 0x54]
mov r12, qword [r13 + 0xf8]
sub r12, qword [r13 + 0xf0]
sar r12, 3
shl r12d, 9
add r12d, r15d
lea eax, [r12 + 0x200]
cmp eax, dword [rsp + 0x58]
ja 0x1400e42cf
cmp byte [r13 + 0xe8], 0
je 0x1400e419b
mov rdi, qword [r13 + 0xd0]
cmp esi, dword [rdi + 0x10]
jb 0x1400e4182
lea eax, [rsi + 1]
cmp eax, dword [rdi + 0x14]
jbe 0x1400e418c
mov edx, esi
mov rcx, rdi
call fcn.140121da0
mov ecx, esi
sub ecx, dword [rdi + 0x10]
mov rax, qword [rdi + 8]
mov edi, dword [rsp + 0x44]
jmp 0x1400e41ab
mov ecx, esi
sub ecx, dword [r13 + 0x90]
mov rax, qword [r13 + 0x88]
movzx edx, byte [rcx + rax]
cmp dl, 0x20
jbe 0x1400e43a2
movzx r9d, dl
mov dword [rsp + 0x20], edi
lea r8, str.Too_many_tones___u__in_Program__u.
mov edx, 0x200
lea rcx, [rbp + 0x10]
call fcn.140016a40
mov ecx, 0x48
call fcn.14016cc68
mov rdi, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400e4277
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], 0xf
mov ecx, dword [0x140190934]
mov word [rbp - 0x50], cx
movzx ecx, byte [0x140190936]
mov byte [rbp - 0x4e], cl
mov byte [rbp - 0x4d], 0
or ebx, 0x10
mov dword [rsp + 0x40], ebx
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], r14
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400e4240
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1400067d0
nop
or ebx, 0x20
mov dword [rsp + 0x40], ebx
lea r9, [rbp - 0x50]
mov r8d, 1
lea rdx, [rbp - 0x70]
mov rcx, rdi
call fcn.140006070
jmp 0x1400e427a
mov rax, r14
mov rdx, rax
mov rcx, qword [0x1402257d0]
call fcn.14000a980
nop
test bl, 0x20
je 0x1400e42a0
and ebx, 0xffffffdf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x70]
call fcn.1400061c0
nop
test bl, 0x10
je 0x1400e42b5
and ebx, 0xffffffef
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x50]
call fcn.1400061c0
mov edi, dword [rsp + 0x44]
mov eax, dword [rsp + 0x4c]
inc edi
mov dword [rsp + 0x44], edi
cmp edi, 0x80
jb 0x1400e4126
mov r15d, dword [rsp + 0x60]
lea esi, [r15 + 0x200]
mov dword [rsp + 0x50], esi
cmp esi, dword [rsp + 0x58]
ja 0x1400e4d9e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov edi, r14d
mov dword [rsp + 0x44], r14d
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov ecx, 0x20
call fcn.14016cc68
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x60], 0x11
mov qword [rbp - 0x58], 0x1f
movups xmm0, xmmword [str.VAG_Pointer_Table]
movups xmmword [rax], xmm0
movzx ecx, byte [0x140190960]
mov byte [rax + 0x10], cl
mov byte [rax + 0x11], dil
lea r9, [rbp - 0x70]
mov r8d, 0x200
mov edx, r15d
mov rcx, r13
call fcn.140018170
mov qword [rsp + 0x68], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e4983
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e497e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e497e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test dl, dl
je 0x1400e42b9
mov ecx, 0xd0
call fcn.14016cc68
mov r15, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400e443b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 0xa
mov qword [rbp - 0x38], 0xf
movsd xmm0, qword [str.Instrument]
movsd qword [rbp - 0x50], xmm0
movzx ecx, word [0x140184780]
mov word [rbp - 0x48], cx
mov byte [rbp - 0x46], 0
or ebx, 0x40
mov dword [rsp + 0x40], ebx
movss dword [rsp + 0x38], xmm6
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
mov r9d, 0x200
mov r8d, r12d
mov rdx, r13
mov rcx, r15
call fcn.14001ab50
lea rax, vtable.VabInstr.0
mov qword [r15], rax
mov byte [r15 + 0xc8], 0x7f
jmp 0x1400e443e
mov r15, r14
test bl, 0x40
je 0x1400e4453
and ebx, 0xffffffbf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp - 0x50]
call fcn.1400061c0
lea rcx, [r13 + 0xf0]
mov qword [rsp + 0x78], r15
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x1400e4473
mov qword [rdx], r15
add qword [rcx + 8], 8
jmp 0x1400e447d
lea r8, [rsp + 0x78]
call fcn.140006b30
lea r9, [r15 + 0xb8]
mov r8d, 0x10
mov edx, esi
mov rcx, r13
call fcn.140017130
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x18], 0xf
mov rax, qword [str.Program]
mov dword [rbp - 0x30], eax
movzx eax, word [0x14019093c]
mov word [rbp - 0x2c], ax
movzx eax, byte [0x14019093e]
mov byte [rbp - 0x2a], al
mov byte [rbp - 0x29], 0
lea r9, [rbp - 0x30]
mov r8d, 0x10
mov edx, esi
mov rcx, qword [rbp - 0x80]
call fcn.140018170
mov rdi, rax
mov r8, qword [rbp - 0x18]
cmp r8, 0xf
jbe 0x1400e44fd
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140006320
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 0xf
mov qword [rbp - 0x58], 0xf
movsd xmm0, qword [str.Number_of_Tones]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x140190858]
mov dword [rbp - 0x68], eax
movzx eax, word [0x14019085c]
mov word [rbp - 0x64], ax
movzx eax, byte [0x14019085e]
mov byte [rbp - 0x62], al
mov byte [rbp - 0x61], 0
lea r9, [rbp - 0x70]
mov r8d, 1
mov edx, esi
mov rcx, rdi
call fcn.140018240
nop
mov r8, qword [rbp - 0x58]
cmp r8, 0xf
jbe 0x1400e457f
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140006320
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 6
mov qword [rbp - 0x58], 0xf
mov eax, dword [str.Volume]
mov dword [rbp - 0x70], eax
movzx eax, word [0x140182de0]
mov word [rbp - 0x6c], ax
mov byte [rbp - 0x6a], 0
lea edx, [rsi + 1]
lea r9, [rbp - 0x70]
mov r8d, 1
mov rcx, rdi
call fcn.140018240
nop
mov r8, qword [rbp - 0x58]
cmp r8, 0xf
jbe 0x1400e45db
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140006320
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 8
mov qword [rbp - 0x38], 0xf
movabs rax, 0x797469726f697250
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
lea edx, [rsi + 2]
lea r9, [rbp - 0x50]
mov r8d, 1
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e4655
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4650
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4954
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 4
mov qword [rbp - 0x38], 0xf
mov dword [rbp - 0x50], 0x65646f4d
mov byte [rbp - 0x4c], 0
lea edx, [rsi + 3]
lea r9, [rbp - 0x50]
mov r8d, 1
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e46c8
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e46c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e495b
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 3
mov qword [rbp - 0x58], 0xf
mov eax, dword [0x140182dd8]
mov word [rbp - 0x70], ax
movzx eax, byte [0x140182dda]
mov byte [rbp - 0x6e], al
mov byte [rbp - 0x6d], 0
lea edx, [rsi + 4]
lea r9, [rbp - 0x70]
mov r8d, 1
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e4748
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4743
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4962
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 8
mov qword [rbp - 0x38], 0xf
movabs rax, 0x6465767265736552
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
lea edx, [rsi + 5]
lea r9, [rbp - 0x50]
mov r8d, 1
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e47c2
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e47bd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4969
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 9
mov qword [rbp - 0x58], 0xf
movsd xmm0, qword [str.Attribute]
movsd qword [rbp - 0x70], xmm0
movzx eax, byte [0x140190948]
mov byte [rbp - 0x68], al
mov byte [rbp - 0x67], 0
lea edx, [rsi + 6]
lea r9, [rbp - 0x70]
mov r8d, 2
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400e4845
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4840
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4970
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 8
mov qword [rbp - 0x38], 0xf
movabs rax, 0x6465767265736552
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], 0
lea edx, [rsi + 8]
lea r9, [rbp - 0x50]
mov r8d, 4
mov rcx, rdi
call fcn.140018240
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e48bf
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e48ba
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4977
call fcn.14016cca4
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], 8
mov qword [rbp - 0x58], 0xf
movabs rax, 0x6465767265736552
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x68], 0
lea edx, [rsi + 0xc]
lea r9, [rbp - 0x70]
mov r8d, 4
mov rcx, rdi
call fcn.140018240
nop
mov r8, qword [rbp - 0x58]
cmp r8, 0xf
jbe 0x1400e4915
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140006320
lea edx, [rsi + 1]
mov rcx, r13
call fcn.1400184f0
mov byte [r15 + 0xc8], al
sub r12d, dword [rsp + 0x50]
add r12d, 0x200
mov rax, qword [rsp + 0x68]
mov dword [rax + 0x3c], r12d
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
mov edi, dword [rsp + 0x44]
mov r15d, dword [rsp + 0x50]
jmp 0x1400e42bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14016cca4
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x58], 0xf
mov byte [rbp - 0x70], 0
mov r15d, esi
mov dword [rsp + 0x54], esi
mov r12d, r14d
movzx eax, word [rsp + 0x48]
test eax, eax
je 0x1400e4cb6
nop word [rax + rax]
mov eax, dword [rsp + 0x60]
lea esi, [rax + r12*2]
cmp byte [r13 + 0xe8], 0
je 0x1400e49eb
mov rdi, qword [r13 + 0xd0]
cmp esi, dword [rdi + 0x10]
jb 0x1400e49d6
lea eax, [rsi + 2]
cmp eax, dword [rdi + 0x14]
jbe 0x1400e49e0
mov edx, esi
mov rcx, rdi
call fcn.140121da0
mov eax, esi
sub eax, dword [rdi + 0x10]
mov rdx, qword [rdi + 8]
jmp 0x1400e49fb
mov eax, esi
sub eax, dword [r13 + 0x90]
mov rdx, qword [r13 + 0x88]
mov r8d, eax
inc eax
movzx r9d, byte [rax + rdx]
movzx eax, byte [r8 + rdx]
shl r9d, 8
or r9d, eax
lea r14d, [r9*8]
mov dword [rsp + 0x5c], r14d
mov r9d, r12d
lea r8, str.VAG_Size__8__u
mov edx, 0x100
lea rcx, [rbp + 0x10]
call fcn.140016a40
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xor edi, edi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
lea rax, [rbp + 0x10]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1400e4a52
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.1400067d0
nop
lea r9, [rbp - 0x50]
mov r8d, 2
mov edx, esi
mov rcx, qword [rsp + 0x68]
call fcn.140018240
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e4abb
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4ab6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4d35
call fcn.14016cca4
lea eax, [r14 + r15]
cmp eax, dword [rsp + 0x58]
ja 0x1400e4b0e
mov rdx, qword [rbp - 0x28]
cmp rdx, qword [rbp - 0x20]
je 0x1400e4aeb
mov dword [rdx], r14d
mov dword [rdx + 4], r15d
add qword [rbp - 0x28], 8
mov edi, dword [rsp + 0x44]
add edi, r14d
mov dword [rsp + 0x44], edi
jmp 0x1400e4c96
lea r9, [rsp + 0x5c]
lea r8, [rsp + 0x54]
lea rcx, [rbp - 0x30]
call fcn.1400e2e60
mov edi, dword [rsp + 0x44]
add edi, r14d
mov dword [rsp + 0x44], edi
jmp 0x1400e4c96
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
mov r9d, r12d
lea r8, str.VAG__u_pointer__offset0x_08X__size_u__is_invalid.
mov edx, 0x200
lea rcx, [rbp + 0x210]
call fcn.140016a40
mov ecx, 0x48
call fcn.14016cc68
mov rdi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400e4bde
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], 3
mov qword [rbp - 0x38], 0xf
mov ecx, dword [0x140190934]
mov word [rbp - 0x50], cx
movzx ecx, byte [0x140190936]
mov byte [rbp - 0x4e], cl
mov byte [rbp - 0x4d], 0
bts ebx, 7
mov dword [rsp + 0x40], ebx
movups xmmword [rbp - 0x10], xmm0
xor eax, eax
mov qword [rbp], rax
mov qword [rbp + 8], rax
lea rax, [rbp + 0x210]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e4ba1
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x10]
call fcn.1400067d0
nop
bts ebx, 8
mov dword [rsp + 0x40], ebx
lea r9, [rbp - 0x50]
mov r8d, 1
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.140006070
xor edi, edi
jmp 0x1400e4be2
xor edi, edi
mov eax, edi
mov rdx, rax
mov rcx, qword [0x1402257d0]
call fcn.14000a980
nop
bt ebx, 8
jae 0x1400e4c4b
btr ebx, 8
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400e4c3b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4c36
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4d3c
call fcn.14016cca4
mov qword [rbp], rdi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
test bl, bl
jns 0x1400e4c92
btr ebx, 7
mov dword [rsp + 0x40], ebx
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400e4c92
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4c8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400e4d43
call fcn.14016cca4
mov edi, dword [rsp + 0x44]
add r15d, r14d
mov dword [rsp + 0x54], r15d
inc r12d
movzx ecx, word [rsp + 0x48]
cmp r12d, ecx
jb 0x1400e49b0
xor r14d, r14d
mov esi, dword [rsp + 0x50]
mov ecx, dword [r13 + 0x38]
mov eax, esi
sub eax, ecx
mov dword [r13 + 0x3c], eax
test ecx, ecx
jne 0x1400e4d5d
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 8
jb 0x1400e4d61
mov ecx, 0x130
call fcn.14016cc68
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1400e4d18
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9d, esi
mov r8, r13
mov rdx, qword [r13 + 0xc0]
mov rcx, rax
call fcn.14011cc20
mov r14, rax
mov rcx, r14
call fcn.140017740
test al, al
je 0x1400e4d4a
mov rdx, r14
mov rcx, qword [0x1402257d0]
call fcn.14000aac0
jmp 0x1400e4d5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r14, r14
je 0x1400e4d5d
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400e4d9e
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400e4d99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e4d99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
mov al, 1
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.14016cd40
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret