Function at 0x10028e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075003
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 - 0x74], 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 - 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 0x10028eba
push str.Unexpected_end_of_file_at_header__n
lea ecx, [edi + 0x1bc]
call fcn.10018f70
jmp 0x100294dd
mov edx, 0x10078118
lea ecx, [ebp - 0x20]
mov eax, dword [ecx]
cmp eax, dword [edx]
je 0x10028ee4
cmp al, byte [edx]
jne 0x10028ee8
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x10028ee8
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x10028ee8
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x10028ee8
xor eax, eax
jmp 0x10028eed
sbb eax, eax
or eax, 1
test eax, eax
je 0x10028f88
push str.:_Invalid_format__GMFx1_signature_is_not_found__n
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.1001f690
mov esi, dword [ebp - 0x74]
mov edi, eax
add esi, 0x1bc
add esp, 0xc
cmp esi, edi
je 0x10028f7b
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x10028f49
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10028f3f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002950c
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
lea ecx, [ebp - 0x38]
call fcn.10002f20
jmp 0x100294dd
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10028fa9
cmp dword [esi + 0x1c], eax
je 0x10028fb6
mov eax, dword [esi + 0x24]
mov ecx, dword [esi + 0x20]
add eax, 0xfffffff9
mov dword [esi + 0x24], eax
cmp eax, ecx
jbe 0x10028fb6
mov dword [esi + 0x24], ecx
jmp 0x10028fb6
push 1
push 0xfffffffffffffff9
push eax
call fcn.1005a233
add esp, 0xc
mov eax, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
mov dword [ebp - 0x78], eax
cmp edi, eax
je 0x1002902b
nop dword [eax]
mov eax, dword [edi]
test eax, eax
je 0x10029017
mov ecx, dword [edi + 8]
sub ecx, eax
cmp ecx, 0x1000
jb 0x10028ff9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002950c
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 - 0x78]
jne 0x10028fd0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 1
push eax
push 1
lea ecx, [ebp - 0x98]
call fcn.1002b560
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0
call fcn.10022d40
mov ecx, 0xf4240
mov dword [ebp - 0x88], 1
mov eax, 0xc0
mov dword [ebp - 0x84], 0
mul ecx
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x80], eax
mov eax, 0xc0
mov dword [ebp - 0x7c], edx
mov edx, 2
movups xmm0, xmmword [ebp - 0x88]
mov dword [ebp - 0x88], 1
mul edx
movups xmmword [ecx + 0x118], xmm0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], eax
xor eax, eax
mov dword [ebp - 0x7c], edx
movups xmm0, xmmword [ebp - 0x88]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x8c], eax
movups xmmword [ecx + 0x128], xmm0
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x100290f5
cmp dword [esi + 0x1c], eax
je 0x100290f1
mov eax, dword [esi + 0x24]
jmp 0x100290fe
xor eax, eax
jmp 0x100290fe
push eax
call fcn.1005a957
add esp, 4
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10029115
cmp dword [esi + 0x1c], eax
je 0x10029122
mov eax, dword [esi + 0x20]
mov dword [esi + 0x24], eax
jmp 0x10029122
push 2
push 0
push eax
call fcn.1005a233
add esp, 0xc
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x10029137
cmp dword [esi + 0x1c], eax
je 0x10029133
mov edi, dword [esi + 0x24]
jmp 0x10029142
xor edi, edi
jmp 0x10029142
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 - 0x7c], edi
test ecx, ecx
jne 0x10029165
cmp dword [esi + 0x1c], ecx
je 0x10029171
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x24], eax
cmp eax, ecx
jbe 0x10029171
mov dword [esi + 0x24], ecx
jmp 0x10029171
push 0
push eax
push ecx
call fcn.1005a233
add esp, 0xc
mov ecx, dword [ebp - 0x8c]
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 0x10029195
add eax, edi
jmp 0x100291ca
jbe 0x100291cd
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp edi, eax
jbe 0x100291ac
lea eax, [ebp - 0x69]
push eax
push edi
call fcn.10021a30
jmp 0x100291cd
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 - 0x7c]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax + ecx]
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x7c], eax
test ecx, ecx
jne 0x1002920e
cmp dword [esi + 0x1c], ecx
je 0x1002921d
test edi, edi
je 0x1002921d
nop
mov edx, dword [esi + 0x24]
cmp edx, dword [esi + 0x20]
jae 0x1002921d
mov eax, dword [esi + 0x1c]
mov al, byte [edx + eax]
mov edx, dword [ebp - 0x7c]
mov byte [ecx + edx], al
inc ecx
inc dword [esi + 0x24]
cmp ecx, edi
jb 0x100291f0
jmp 0x1002921d
push ecx
push edi
push 1
push eax
call fcn.10059dd5
add esp, 0x10
mov ecx, eax
cmp ecx, edi
jb 0x10029448
add dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x98]
mov edi, dword [ebp - 0x8c]
add ecx, edi
push 4
push 0x100782dc
push dword [ecx + 4]
call fcn.100211a0
add edi, 0xc
mov dword [ebp - 0x8c], edi
cmp edi, 0xc
jb 0x100290e0
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x78]
add eax, ecx
jne 0x100292ed
push str.:_Empty_track_data
lea eax, [ebp - 0x68]
push esi
push eax
call fcn.1001f690
mov edi, dword [ebp - 0x74]
mov esi, eax
add edi, 0x1bc
add esp, 0xc
cmp edi, esi
je 0x100292b6
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 0x100294dd
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100294d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002950c
jmp 0x100294d3
mov edi, dword [ebp - 0x74]
lea eax, [ebp - 0x98]
push eax
mov ecx, edi
call fcn.10024be0
test al, al
jne 0x1002943f
push str.:_MIDI_data_parsing_error_has_occouped__n
lea eax, [ebp - 0x38]
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 0x10029331
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 - 0x50]
movq qword [ebp - 0x80], xmm1
movq qword [ebp - 0x40], xmm1
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
cmp esi, eax
je 0x100293d4
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x100293b3
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x100293a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029511
mov eax, edx
push ecx
push eax
call fcn.10049b55
movups xmm0, xmmword [ebp - 0x60]
add esp, 8
movq xmm1, qword [ebp - 0x80]
mov dword [esi + 0x10], 0
mov ecx, 0xf
mov dword [esi + 0x14], 0xf
movups xmmword [esi], xmm0
mov byte [ebp - 0x50], 0
movq qword [esi + 0x10], xmm1
jmp 0x100293d7
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x10029408
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100293fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029511
push ecx
push edx
call fcn.10049b55
add esp, 8
mov ecx, dword [ebp - 0x24]
cmp ecx, 0xf
jbe 0x100294dd
mov edx, dword [ebp - 0x38]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100294d3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029511
jmp 0x100294d3
mov byte [ebp - 0x69], 1
jmp 0x100294e1
push str.:_Unexpected_file_ending_while_getting_raw_track_data__n
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.1001f690
mov esi, dword [ebp - 0x74]
mov edi, eax
add esi, 0x1bc
add esp, 0xc
cmp esi, edi
je 0x10029408
mov ecx, dword [esi + 0x14]
cmp ecx, 0xf
jbe 0x1002949c
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x10029492
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029511
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 0x10029408
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