Function at 0x10029e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100750f0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x10093940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x8c], edi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
movq qword [ebp - 0x1f], xmm0
mov dword [ebp - 0x17], 0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x74], 0xc0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
push 0xe
push 1
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.1001a290
cmp eax, 0xe
jae 0x10029f25
mov eax, str.Unexpected_end_of_file_at_header__n
lea ecx, [edi + 0x1bc]
push eax
call fcn.10018f70
jmp 0x1002a51b
cmp byte [ebp - 0x20], 0x7d
jne 0x10029fc1
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10029f4f
cmp dword [esi + 0x1c], eax
je 0x10029f5c
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], 0x6d
cmp eax, 0x6d
jae 0x10029f5c
mov dword [esi + 0x24], eax
jmp 0x10029f5c
push 0
push 0x6d
push eax
call fcn.1005a233
add esp, 0xc
push 6
push 1
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.1001a290
lea eax, [ebp - 0x20]
cmp dword [eax], 0x78787372
jne 0x1002a0e7
cmp word [eax + 4], 0x757d
jne 0x1002a0e7
mov dword [edi + 0xc], 3
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10029fad
cmp dword [esi + 0x1c], eax
je 0x10029fba
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], 0x7d
cmp eax, 0x7d
jae 0x10029fba
mov dword [esi + 0x24], eax
jmp 0x10029fba
push 0
push 0x7d
push eax
call fcn.1005a233
add esp, 0xc
mov dword [ebp - 0x74], 0x3c
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov dword [ebp - 0x70], eax
cmp edi, eax
je 0x1002a02f
mov eax, dword [edi]
test eax, eax
je 0x1002a01b
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10029ffd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54a
mov eax, edx
push ecx
push eax
call fcn.10049b55
mov dword [edi], 0
add esp, 8
mov dword [edi + 4], 0
mov dword [edi + 8], 0
add edi, 0xc
cmp edi, dword [ebp - 0x70]
jne 0x10029fd4
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 1
push eax
push 1
lea ecx, [ebp - 0x98]
call fcn.1002b560
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0
call fcn.10022d40
mov ecx, dword [ebp - 0x74]
mov edx, 0xf4240
mov eax, ecx
mov dword [ebp - 0x84], 1
mul edx
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], edx
movups xmm0, xmmword [ebp - 0x84]
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x80], 0
movups xmmword [eax + 0x118], xmm0
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0
movups xmm0, xmmword [ebp - 0x84]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x88], 0
movups xmmword [eax + 0x128], xmm0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1002a101
cmp dword [esi + 0x1c], eax
je 0x1002a0fd
mov eax, dword [esi + 0x24]
jmp 0x1002a10a
mov eax, str.Invalid_RSXX_header__n
lea ecx, [edi + 0x1bc]
push eax
call fcn.10018f70
jmp 0x1002a51b
xor eax, eax
jmp 0x1002a10a
push eax
call fcn.1005a957
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1002a121
cmp dword [esi + 0x1c], eax
je 0x1002a12e
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
jmp 0x1002a12e
push 2
push 0
push eax
call fcn.1005a233
add esp, 0xc
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x1002a143
cmp dword [esi + 0x1c], eax
je 0x1002a13f
mov edi, dword [esi + 0x24]
jmp 0x1002a14e
xor edi, edi
jmp 0x1002a14e
push eax
call fcn.1005a957
add esp, 4
mov edi, eax
mov eax, dword [ebp - 0x70]
sub edi, eax
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x78], edi
test ecx, ecx
jne 0x1002a171
cmp dword [esi + 0x1c], ecx
je 0x1002a17d
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
cmp eax, ecx
jbe 0x1002a17d
mov dword [esi + 0x24], ecx
jmp 0x1002a17d
push 0
push eax
push ecx
call fcn.1005a233
add esp, 0xc
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov dword [ebp - 0x70], edx
sub edx, eax
cmp edi, edx
jae 0x1002a1a1
add eax, edi
jmp 0x1002a1d6
jbe 0x1002a1d9
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp edi, eax
jbe 0x1002a1b8
lea eax, [ebp - 0x69]
push eax
push edi
call fcn.10021a30
jmp 0x1002a1d9
sub edi, edx
push edi
push 0
push dword [ebp - 0x70]
call fcn.1004baa0
mov eax, dword [ebp - 0x70]
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
add eax, edi
mov edi, dword [ebp - 0x78]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x78], eax
test ecx, ecx
jne 0x1002a21e
cmp dword [esi + 0x1c], ecx
je 0x1002a22d
test edi, edi
je 0x1002a22d
nop dword [eax + eax]
mov edx, dword [esi + 0x24]
cmp edx, dword [esi + 0x20]
jae 0x1002a22d
mov eax, dword [esi + 0x1c]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x78]
mov byte [ecx + edx], al
inc ecx
inc dword [esi + 0x24]
cmp ecx, edi
jb 0x1002a200
jmp 0x1002a22d
push ecx
push edi
push 1
push eax
call fcn.10059dd5
add esp, 0x10
mov ecx, eax
cmp ecx, edi
jb 0x1002a483
mov edx, dword [ebp - 0x74]
mov edi, dword [ebp - 0x88]
add edx, ecx
mov ecx, dword [ebp - 0x98]
add ecx, edi
mov dword [ebp - 0x74], edx
mov byte [ebp - 0x69], 0
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x1002a25f
mov byte [eax], 0
inc dword [ecx + 4]
jmp 0x1002a26c
lea edx, [ebp - 0x69]
push edx
push eax
call fcn.100202f0
mov edx, dword [ebp - 0x74]
add edi, 0xc
mov dword [ebp - 0x88], edi
cmp edi, 0xc
jb 0x1002a0d6
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
add edx, ecx
jne 0x1002a314
push str.:_Empty_track_data
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.1001f690
mov edi, dword [ebp - 0x8c]
mov esi, eax
add edi, 0x1bc
add esp, 0xc
cmp edi, esi
je 0x1002a2dd
mov ecx, edi
call fcn.10002f20
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov ecx, dword [ebp - 0x54]
cmp ecx, 0xf
jbe 0x1002a51b
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54a
jmp 0x1002a511
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x98]
push eax
mov ecx, edi
call fcn.10024be0
test al, al
jne 0x1002a469
push str.:_MIDI_data_parsing_error_has_occouped__n
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.1001f690
add esp, 0xc
cmp dword [edi + 0x1b8], 0xf
lea edx, [edi + 0x1a4]
mov byte [ebp - 4], 2
jbe 0x1002a35b
mov edx, dword [edi + 0x1a4]
push dword [edi + 0x1b4]
mov ecx, eax
push edx
call fcn.10003d90
lea esi, [edi + 0x1bc]
movups xmm0, xmmword [eax]
movq xmm1, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x38]
movq qword [ebp - 0x7c], xmm1
movq qword [ebp - 0x28], xmm1
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x38], xmm0
cmp esi, eax
je 0x1002a3fe
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1002a3dd
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1002a3ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54f
mov eax, edx
push ecx
push eax
call fcn.10049b55
movups xmm0, xmmword [ebp - 0x60]
add esp, 8
movq xmm1, qword [ebp - 0x7c]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x38], 0
movq qword [esi + 0x10], xmm1
jmp 0x1002a401
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x1002a432
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a428
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54f
push ecx
push edx
call fcn.10049b55
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x1002a51b
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a511
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54f
jmp 0x1002a511
mov dword [edi + 0x10], 0
mov dword [edi + 0x174], 0xffffffff
mov byte [ebp - 0x69], 1
jmp 0x1002a51f
push str.:_Unexpected_file_ending_while_getting_raw_track_data__n
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.1001f690
mov esi, dword [ebp - 0x8c]
mov edi, eax
add esi, 0x1bc
add esp, 0xc
cmp esi, edi
je 0x1002a432
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1002a4da
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1002a4d0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002a54f
mov eax, edx
push ecx
push eax
call fcn.10049b55
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
jmp 0x1002a432
push ecx
push edx
call fcn.10049b55
add esp, 8
mov byte [ebp - 0x69], 0
lea ecx, [ebp - 0x98]
call fcn.10022ff0
mov al, byte [ebp - 0x69]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10049b12
mov esp, ebp
pop ebp
ret 4
call fcn.10057ede
call fcn.10057ede
int3