Function at 0x470e50
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x464
push ebx
push 0x43c
lea eax, [esp + 0x30]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x24], ebx
call fcn.00484500
push ebx
push 0x43c
lea eax, [esp + 0x40]
push 1
push eax
call fcn.0048a645
add esp, 0x1c
cmp eax, 0x43c
jne 0x47163f
lea edx, [esp + 0x464]
lea ecx, [esp + 6]
call fcn.00471660
mov bl, al
mov byte [esp + 5], bl
cmp bl, 6
je 0x47163f
test bl, bl
jne 0x470ecf
mov cl, byte [esp + 0x3e2]
mov eax, 0x7f
cmp cl, 0x81
movzx edx, cl
cmove edx, eax
mov byte [esp + 0x3e2], dl
jmp 0x470ed6
mov dl, byte [esp + 0x3e2]
mov cl, byte [esp + 6]
test cl, cl
je 0x47163f
mov al, dl
dec al
cmp al, 0x7f
ja 0x47163f
cmp cl, 0x20
seta byte [esp + 7]
jbe 0x470f04
mov dword [0x551eac], 0x20
jmp 0x470f0c
movzx eax, cl
mov dword [0x551eac], eax
push esi
movzx eax, dl
lea esi, [esp + 0x3e8]
mov word [0x551e9e], ax
lea edx, [esp + 0x44]
movzx eax, byte [esp + 0x3e7]
mov ecx, 0x20
push edi
mov edi, 0x551d96
mov word [0x551ea0], ax
mov dword [0x551ea2], 0x6007d
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x55120f
mov esi, 0x1f
cmp bl, 5
je 0x470f69
movups xmm0, xmmword [edx]
mov eax, dword [edx + 0x10]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ax, word [edx + 0x14]
mov word [ecx + 0x14], ax
add edx, 0x1e
add ecx, 0x17
sub esi, 1
jne 0x470f50
movups xmm0, xmmword [esp + 0x34]
mov eax, dword [esp + 0x44]
mov esi, 0x551d96
mov dword [0x5511f3], eax
mov ebx, 0x80
movups xmmword [0x5511e3], xmm0
xor eax, eax
cmp byte [esp + 0xd], 2
movzx edi, ax
mov al, byte [esi]
jne 0x470fa5
shr al, 1
mov byte [esi], al
movzx ecx, al
mov eax, edi
cmp cx, di
mov edx, ecx
cmovbe edx, eax
inc esi
movzx ecx, dx
mov eax, ecx
sub ebx, 1
jne 0x470f95
lea eax, [ecx + 1]
push ebp
movzx ebp, ax
xor eax, eax
cmp byte [esp + 0x11], 2
mov dword [esp + 0x34], ebp
je 0x471151
xor ecx, ecx
mov dword [esp + 0x20], eax
cmp cx, bp
jae 0x471435
movzx edi, ax
mov ebx, 0x40
push 1
push 0xa010
mov dword [esp + 0x20], edi
call fcn.00488f48
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x471624
mov esi, ebx
mov word [edi*2 + 0x550fe0], bx
xor ebp, ebp
mov dword [esp + 0x1c], esi
nop
xor ebx, ebx
cmp dword [0x551eac], ebx
jle 0x4710c4
xor eax, eax
push dword [esp + 0x24]
add eax, ebp
push 4
push 1
lea esi, [eax + eax*4]
add esi, dword [edi*4 + 0x551ee0]
lea eax, [esp + 0x20]
push eax
call fcn.0048a645
mov eax, dword [esp + 0x24]
add esp, 0x10
mov cl, al
and cl, 0xf
movzx edx, cl
shl dx, 8
movzx ecx, ah
or dx, cx
movzx edi, dx
xor edx, edx
nop dword [eax]
movsx ecx, dx
cmp di, word [ecx*2 + 0x4bf2a0]
jae 0x471086
inc edx
cmp dx, 0x60
jl 0x471070
jmp 0x47108e
inc dl
mov byte [esi], dl
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x16]
and al, 0xf0
mov edi, dword [esp + 0x18]
inc ebx
shr cl, 4
or al, cl
mov byte [esi + 1], al
mov al, byte [esp + 0x16]
and al, 0xf
mov byte [esi + 3], al
mov al, byte [esp + 0x17]
mov byte [esi + 4], al
movsx eax, bx
cmp eax, dword [0x551eac]
jl 0x471030
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
je 0x4710e8
movzx eax, byte [esp + 0x12]
sub eax, dword [0x551eac]
push 1
shl eax, 2
push eax
push dword [esp + 0x2c]
call fcn.00489f05
add esp, 0xc
add ebp, 0x20
sub esi, 1
mov dword [esp + 0x1c], esi
jne 0x471020
mov edx, dword [edi*4 + 0x551ee0]
test edx, edx
je 0x471136
movsx eax, word [edi*2 + 0x550fe0]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x471122
cmp byte [eax + edx], 0
jne 0x471136
inc eax
cmp eax, ecx
jb 0x471117
push edx
call fcn.00488f53
add esp, 4
mov dword [edi*4 + 0x551ee0], 0
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
inc eax
mov dword [esp + 0x20], eax
cmp ax, bp
jae 0x4712f5
jmp 0x470fe4
xor esi, esi
cmp ax, bp
jae 0x47118f
lea ebx, [esi + 0x40]
nop dword [eax + eax]
push 1
push 0xa010
movzx edi, si
call fcn.00488f48
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x471624
inc esi
mov word [edi*2 + 0x550fe0], bx
cmp si, bp
jb 0x471160
movzx ebx, bp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 0
lea eax, [ebx + ebx]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4712a2
xor eax, eax
nop
mov ecx, eax
mov dword [esp + 0x1c], 0x40
and eax, 1
shr ecx, 1
mov dword [esp + 0x18], ecx
lea eax, [eax + eax*4]
shl eax, 2
mov dword [esp + 0x20], eax
nop dword [eax]
mov ebx, eax
mov ebp, 4
nop word [eax + eax]
push dword [esp + 0x24]
mov esi, dword [ecx*4 + 0x551ee0]
lea eax, [esp + 0x18]
push 4
push 1
push eax
add esi, ebx
call fcn.0048a645
mov eax, dword [esp + 0x24]
add esp, 0x10
mov cl, al
and cl, 0xf
movzx edx, cl
shl dx, 8
movzx ecx, ah
or dx, cx
movzx edi, dx
xor edx, edx
nop dword [eax]
movsx ecx, dx
cmp di, word [ecx*2 + 0x4bf2a0]
jae 0x471236
inc edx
cmp dx, 0x60
jl 0x471220
jmp 0x47123e
inc dl
mov byte [esi], dl
mov eax, dword [esp + 0x14]
mov cl, byte [esp + 0x16]
and al, 0xf0
shr cl, 4
add ebx, 5
or al, cl
mov ecx, dword [esp + 0x18]
mov byte [esi + 1], al
mov al, byte [esp + 0x16]
and al, 0xf
mov byte [esi + 3], al
mov al, byte [esp + 0x17]
mov byte [esi + 4], al
sub ebp, 1
jne 0x4711e0
mov eax, dword [esp + 0x20]
add eax, 0xa0
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jne 0x4711d0
mov edx, dword [esp + 0x30]
inc edx
movzx eax, dx
mov dword [esp + 0x30], edx
cmp eax, dword [esp + 0x28]
jb 0x4711b0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
xor eax, eax
cmp ax, bp
jae 0x471435
mov esi, 0x551ee0
mov edi, 0x550fe0
mov edx, dword [esi]
test edx, edx
je 0x4712ea
movsx eax, word [edi]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x4712db
nop dword [eax]
cmp byte [eax + edx], 0
jne 0x4712ea
inc eax
cmp eax, ecx
jb 0x4712d0
push edx
call fcn.00488f53
add esp, 4
mov dword [esi], 0
add edi, 2
add esi, 4
sub ebx, 1
jne 0x4712b7
mov edi, 0x551ee0
movzx ebp, bp
nop dword [eax]
cmp dword [edi], 0
je 0x471429
xor esi, esi
lea ebx, [esi + 0x40]
nop
xor edx, edx
cmp dword [0x551eac], edx
jle 0x47141d
xor eax, eax
add eax, esi
lea eax, [eax + eax*4]
add eax, dword [edi]
mov cl, byte [eax + 3]
cmp cl, 0xc
jne 0x471342
cmp byte [eax + 4], 0x40
jbe 0x4713b9
mov byte [eax + 4], 0x40
jmp 0x4713b9
cmp cl, 1
jne 0x471353
cmp byte [eax + 4], 0
jne 0x4713b9
mov byte [eax + 3], 0
jmp 0x4713b9
cmp cl, 2
jne 0x471364
cmp byte [eax + 4], 0
jne 0x4713b9
mov byte [eax + 3], 0
jmp 0x4713b9
cmp cl, 5
jne 0x471375
cmp byte [eax + 4], 0
jne 0x4713b9
mov byte [eax + 3], 3
jmp 0x4713b9
cmp cl, 6
jne 0x471386
cmp byte [eax + 4], 0
jne 0x4713b9
mov byte [eax + 3], 4
jmp 0x4713b9
cmp cl, 0xa
jne 0x471397
cmp byte [eax + 4], 0
jne 0x4713b9
mov byte [eax + 3], 0
jmp 0x4713b9
cmp cl, 0xe
jne 0x4713b9
mov cl, byte [eax + 4]
cmp cl, 0x10
je 0x4713b3
cmp cl, 0x20
je 0x4713b3
cmp cl, 0xa0
je 0x4713b3
cmp cl, 0xb0
jne 0x4713b9
mov word [eax + 3], 0
mov cl, byte [esp + 0x11]
cmp cl, 4
je 0x4713f2
cmp cl, 5
je 0x4713f2
cmp cl, 1
je 0x4713d1
cmp cl, 2
jne 0x47140d
mov cl, byte [eax + 3]
cmp cl, 0xe
jne 0x4713e1
mov word [eax + 3], 0
xor cl, cl
cmp cl, 0xf
jne 0x47140d
cmp byte [eax + 4], 0x1f
jbe 0x47140d
mov byte [eax + 4], 0x1f
jmp 0x47140d
mov cl, byte [eax + 3]
cmp cl, 0xd
jne 0x4713fe
mov byte [eax + 4], 0
cmp cl, 0xf
jne 0x47140d
cmp byte [eax + 4], 0
jne 0x47140d
mov byte [eax + 3], 0
inc edx
movsx eax, dx
cmp eax, dword [0x551eac]
jl 0x471320
add esi, 0x20
sub ebx, 1
jne 0x471310
add edi, 4
sub ebp, 1
jne 0x471300
xor ebp, ebp
movzx ebx, bp
mov edi, ebx
movzx eax, bp
shl edi, 4
sub edi, ebx
cmp word [esp + edi*2 + 0x62], 0
je 0x4715f0
movsx esi, ax
cmp dword [esi*4 + 0x550bc4], 0
jne 0x471624
push 0xe5c
push 1
call fcn.00488f48
add esp, 8
test eax, eax
je 0x471624
lea ecx, [eax + 0x100]
mov edx, 0x10
mov byte [ecx + 2], 0x80
lea ecx, [ecx + 0xd8]
mov byte [ecx - 0xd8], 0x40
sub edx, 1
jne 0x471483
mov dword [esi*4 + 0x550bc4], eax
mov ecx, dword [ebx*4 + 0x550bc4]
call fcn.004356e0
mov esi, dword [ebx*4 + 0x550bc4]
add esi, 0xdc
cmp byte [esp + 0x11], 5
je 0x4714df
imul ecx, ebx, 0x17
add ecx, 0x55120f
movups xmm0, xmmword [ecx]
movups xmmword [esi], xmm0
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x10], eax
mov ax, word [ecx + 0x14]
mov word [esi + 0x14], ax
jmp 0x4714ee
movzx eax, byte [esp + edi*2 + 0x64]
neg eax
sar eax, 1
and al, 0xf
mov byte [esp + edi*2 + 0x64], al
movzx eax, word [esp + edi*2 + 0x62]
movzx ebx, al
shr eax, 8
shl ebx, 8
or ebx, eax
add ebx, ebx
mov dword [esi + 0x28], ebx
mov al, byte [esp + edi*2 + 0x64]
shl al, 4
mov byte [esi + 0x18], al
mov al, byte [esp + edi*2 + 0x65]
mov byte [esi + 0x24], al
movzx eax, word [esp + edi*2 + 0x66]
movzx ecx, al
shl ecx, 8
shr eax, 8
or ecx, eax
mov dword [esp + 0x28], ecx
lea edx, [ecx + ecx]
mov dword [esi + 0x2c], edx
movzx eax, word [esp + edi*2 + 0x68]
movzx ecx, al
shl ecx, 8
shr eax, 8
or ecx, eax
mov dword [esp + 0x2c], edx
add ecx, ecx
mov dword [esi + 0x30], ecx
cmp ecx, 2
jbe 0x471565
mov edi, edx
lea eax, [ecx + edi]
cmp eax, ebx
jbe 0x471565
mov edi, dword [esp + 0x28]
lea eax, [ecx + edi]
cmp eax, ebx
ja 0x471565
mov dword [esi + 0x2c], edi
mov edx, edi
lea eax, [ecx + edx]
cmp eax, ebx
jbe 0x47158b
cmp edx, ebx
jb 0x471584
xor ecx, ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
xor edx, edx
jmp 0x47158b
mov ecx, ebx
sub ecx, edx
mov dword [esi + 0x30], ecx
lea eax, [ecx + edx]
cmp eax, 2
jle 0x471597
or byte [esi + 0x25], 1
lea eax, [ebx + 0x1f]
push eax
call fcn.00489595
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x47161d
push dword [esp + 0x24]
add eax, 0xf
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
push 1
push eax
call fcn.0048a645
mov ecx, dword [esi + 0x28]
add esp, 0x10
cmp eax, ecx
jge 0x4715dc
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x1c]
add ecx, eax
push 0
push ecx
call fcn.00484500
add esp, 0xc
test byte [esi + 0x25], 3
jne 0x4715f0
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
inc ebp
cmp bp, 0x1f
jb 0x471437
cmp byte [esp + 0x13], 0
je 0x471610
push str.Warning:_Module_contains__32_channels._The_extra_channels_will_be_discarded_
call dword [0x54e480]
add esp, 4
pop ebp
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x464
ret
mov dword [esi + 0x1c], 0
push str.Not_enough_memory_
call dword [0x54e480]
add esp, 4
xor al, al
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x464
ret
push str.Error:_This_file_is_either_not_a_module__or_is_not_supported.
call dword [0x54e480]
add esp, 4
xor al, al
pop ebx
add esp, 0x464
ret