Function at 0x470c90
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.00484320
push ebx
push 0x43c
lea eax, [esp + 0x40]
push 1
push eax
call fcn.0048a465
add esp, 0x1c
cmp eax, 0x43c
jne 0x47147f
lea edx, [esp + 0x464]
lea ecx, [esp + 6]
call fcn.004714a0
mov bl, al
mov byte [esp + 5], bl
cmp bl, 6
je 0x47147f
test bl, bl
jne 0x470d0f
mov cl, byte [esp + 0x3e2]
mov eax, 0x7f
cmp cl, 0x81
movzx edx, cl
cmove edx, eax
mov byte [esp + 0x3e2], dl
jmp 0x470d16
mov dl, byte [esp + 0x3e2]
mov cl, byte [esp + 6]
test cl, cl
je 0x47147f
mov al, dl
dec al
cmp al, 0x7f
ja 0x47147f
cmp cl, 0x20
seta byte [esp + 7]
jbe 0x470d44
mov dword [0x551eac], 0x20
jmp 0x470d4c
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 0x470da9
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 0x470d90
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 0x470de5
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 0x470dd5
lea eax, [ecx + 1]
push ebp
movzx ebp, ax
xor eax, eax
cmp byte [esp + 0x11], 2
mov dword [esp + 0x34], ebp
je 0x470f91
xor ecx, ecx
mov dword [esp + 0x20], eax
cmp cx, bp
jae 0x471275
movzx edi, ax
mov ebx, 0x40
push 1
push 0xa010
mov dword [esp + 0x20], edi
call fcn.00488d68
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x471464
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 0x470f04
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.0048a465
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 + 0x4bf200]
jae 0x470ec6
inc edx
cmp dx, 0x60
jl 0x470eb0
jmp 0x470ece
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 0x470e70
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x13], 0
je 0x470f28
movzx eax, byte [esp + 0x12]
sub eax, dword [0x551eac]
push 1
shl eax, 2
push eax
push dword [esp + 0x2c]
call fcn.00489d25
add esp, 0xc
add ebp, 0x20
sub esi, 1
mov dword [esp + 0x1c], esi
jne 0x470e60
mov edx, dword [edi*4 + 0x551ee0]
test edx, edx
je 0x470f76
movsx eax, word [edi*2 + 0x550fe0]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x470f62
cmp byte [eax + edx], 0
jne 0x470f76
inc eax
cmp eax, ecx
jb 0x470f57
push edx
call fcn.00488d73
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 0x471135
jmp 0x470e24
xor esi, esi
cmp ax, bp
jae 0x470fcf
lea ebx, [esi + 0x40]
nop dword [eax + eax]
push 1
push 0xa010
movzx edi, si
call fcn.00488d68
add esp, 8
mov dword [edi*4 + 0x551ee0], eax
test eax, eax
je 0x471464
inc esi
mov word [edi*2 + 0x550fe0], bx
cmp si, bp
jb 0x470fa0
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 0x4710e2
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.0048a465
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 + 0x4bf200]
jae 0x471076
inc edx
cmp dx, 0x60
jl 0x471060
jmp 0x47107e
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 0x471020
mov eax, dword [esp + 0x20]
add eax, 0xa0
sub dword [esp + 0x1c], 1
mov dword [esp + 0x20], eax
jne 0x471010
mov edx, dword [esp + 0x30]
inc edx
movzx eax, dx
mov dword [esp + 0x30], edx
cmp eax, dword [esp + 0x28]
jb 0x470ff0
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x34]
xor eax, eax
cmp ax, bp
jae 0x471275
mov esi, 0x551ee0
mov edi, 0x550fe0
mov edx, dword [esi]
test edx, edx
je 0x47112a
movsx eax, word [edi]
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 5
test ecx, ecx
je 0x47111b
nop dword [eax]
cmp byte [eax + edx], 0
jne 0x47112a
inc eax
cmp eax, ecx
jb 0x471110
push edx
call fcn.00488d73
add esp, 4
mov dword [esi], 0
add edi, 2
add esi, 4
sub ebx, 1
jne 0x4710f7
mov edi, 0x551ee0
movzx ebp, bp
nop dword [eax]
cmp dword [edi], 0
je 0x471269
xor esi, esi
lea ebx, [esi + 0x40]
nop
xor edx, edx
cmp dword [0x551eac], edx
jle 0x47125d
xor eax, eax
add eax, esi
lea eax, [eax + eax*4]
add eax, dword [edi]
mov cl, byte [eax + 3]
cmp cl, 0xc
jne 0x471182
cmp byte [eax + 4], 0x40
jbe 0x4711f9
mov byte [eax + 4], 0x40
jmp 0x4711f9
cmp cl, 1
jne 0x471193
cmp byte [eax + 4], 0
jne 0x4711f9
mov byte [eax + 3], 0
jmp 0x4711f9
cmp cl, 2
jne 0x4711a4
cmp byte [eax + 4], 0
jne 0x4711f9
mov byte [eax + 3], 0
jmp 0x4711f9
cmp cl, 5
jne 0x4711b5
cmp byte [eax + 4], 0
jne 0x4711f9
mov byte [eax + 3], 3
jmp 0x4711f9
cmp cl, 6
jne 0x4711c6
cmp byte [eax + 4], 0
jne 0x4711f9
mov byte [eax + 3], 4
jmp 0x4711f9
cmp cl, 0xa
jne 0x4711d7
cmp byte [eax + 4], 0
jne 0x4711f9
mov byte [eax + 3], 0
jmp 0x4711f9
cmp cl, 0xe
jne 0x4711f9
mov cl, byte [eax + 4]
cmp cl, 0x10
je 0x4711f3
cmp cl, 0x20
je 0x4711f3
cmp cl, 0xa0
je 0x4711f3
cmp cl, 0xb0
jne 0x4711f9
mov word [eax + 3], 0
mov cl, byte [esp + 0x11]
cmp cl, 4
je 0x471232
cmp cl, 5
je 0x471232
cmp cl, 1
je 0x471211
cmp cl, 2
jne 0x47124d
mov cl, byte [eax + 3]
cmp cl, 0xe
jne 0x471221
mov word [eax + 3], 0
xor cl, cl
cmp cl, 0xf
jne 0x47124d
cmp byte [eax + 4], 0x1f
jbe 0x47124d
mov byte [eax + 4], 0x1f
jmp 0x47124d
mov cl, byte [eax + 3]
cmp cl, 0xd
jne 0x47123e
mov byte [eax + 4], 0
cmp cl, 0xf
jne 0x47124d
cmp byte [eax + 4], 0
jne 0x47124d
mov byte [eax + 3], 0
inc edx
movsx eax, dx
cmp eax, dword [0x551eac]
jl 0x471160
add esi, 0x20
sub ebx, 1
jne 0x471150
add edi, 4
sub ebp, 1
jne 0x471140
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 0x471430
movsx esi, ax
cmp dword [esi*4 + 0x550bc4], 0
jne 0x471464
push 0xe5c
push 1
call fcn.00488d68
add esp, 8
test eax, eax
je 0x471464
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 0x4712c3
mov dword [esi*4 + 0x550bc4], eax
mov ecx, dword [ebx*4 + 0x550bc4]
call fcn.00435580
mov esi, dword [ebx*4 + 0x550bc4]
add esi, 0xdc
cmp byte [esp + 0x11], 5
je 0x47131f
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 0x47132e
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 0x4713a5
mov edi, edx
lea eax, [ecx + edi]
cmp eax, ebx
jbe 0x4713a5
mov edi, dword [esp + 0x28]
lea eax, [ecx + edi]
cmp eax, ebx
ja 0x4713a5
mov dword [esi + 0x2c], edi
mov edx, edi
lea eax, [ecx + edx]
cmp eax, ebx
jbe 0x4713cb
cmp edx, ebx
jb 0x4713c4
xor ecx, ecx
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
xor edx, edx
jmp 0x4713cb
mov ecx, ebx
sub ecx, edx
mov dword [esi + 0x30], ecx
lea eax, [ecx + edx]
cmp eax, 2
jle 0x4713d7
or byte [esi + 0x25], 1
lea eax, [ebx + 0x1f]
push eax
call fcn.004893b5
add esp, 4
mov dword [esi + 0x20], eax
test eax, eax
je 0x47145d
push dword [esp + 0x24]
add eax, 0xf
push dword [esi + 0x28]
mov dword [esi + 0x1c], eax
push 1
push eax
call fcn.0048a465
mov ecx, dword [esi + 0x28]
add esp, 0x10
cmp eax, ecx
jge 0x47141c
sub ecx, eax
push ecx
mov ecx, dword [esi + 0x1c]
add ecx, eax
push 0
push ecx
call fcn.00484320
add esp, 0xc
test byte [esi + 0x25], 3
jne 0x471430
mov dword [esi + 0x30], 0
mov dword [esi + 0x2c], 0
inc ebp
cmp bp, 0x1f
jb 0x471277
cmp byte [esp + 0x13], 0
je 0x471450
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