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

Disassembly:
push edi
push esi
push ebx
sub esp, 0x20
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
mov eax, dword [esi]
test byte [eax + 0x90], 0x10
jne 0x6cc56658
test ebx, ebx
je 0x6cc56551
mov eax, dword [esi]
cmp byte [eax + 1], 0
jne 0x6cc568c0
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call fcn.6cc65fd0
mov eax, dword [esi]
test byte [eax + 0x90], 0x80
jne 0x6cc566d8
mov eax, dword [esi + 0xc]
test edi, edi
je 0x6cc56712
test eax, eax
je 0x6cc56690
mov edx, dword [esi + 0x10]
xor ebx, ebx
jmp 0x6cc56593
add ebx, 1
cmp ebx, eax
je 0x6cc56690
cmp edi, dword [edx + ebx*8 + 4]
jne 0x6cc56588
cmp ebx, eax
jae 0x6cc56690
mov eax, dword [esi + 0x68]
cmp eax, dword [esp + 0x38]
je 0x6cc565f0
mov edx, dword [esi]
test byte [edx + 0x90], 1
jne 0x6cc56790
mov ebx, 0x88960001
mov eax, dword [esi + 0x54]
mov dword [esp], eax
call fcn.6cc65ff0
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
test al, 0x80
jne 0x6cc56880
test al, 0x10
jne 0x6cc56840
add esp, 0x20
mov eax, ebx
pop ebx
pop esi
pop edi
ret
cmp dword [edi + 8], 2
je 0x6cc56730
mov eax, dword [edi + 0x8c]
cmp eax, dword [esp + 0x3c]
je 0x6cc567d0
mov edx, dword [esi]
test byte [edx + 0x90], 1
je 0x6cc565b9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], str.ERROR:_DestinationChannels_not_equal_to_submix_channel_count:__p__d__d
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0x831
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.6cc5ca40
jmp 0x6cc565b9
mov dword [esp + 0x14], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 0x10], str.API_Enter:__s
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x7e4
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.6cc5ca40
jmp 0x6cc56541
mov eax, dword [esi]
test byte [eax + 0x90], 1
je 0x6cc565b9
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], str.ERROR:_Destination_not_attached_to_source:__p__p
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x806
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.6cc5ca40
jmp 0x6cc565b9
mov edx, dword [esi + 0x54]
mov dword [esp], eax
mov dword [esp + 0x10], 0x6cc6d878
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x7f5
mov dword [esp + 0x14], edx
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
call fcn.6cc5ca40
mov eax, dword [esi + 0xc]
test edi, edi
jne 0x6cc56576
cmp eax, 1
jne 0x6cc56576
mov edx, dword [esi + 0x10]
mov edi, dword [edx + 4]
jmp 0x6cc56581
mov eax, dword [edi + 0x78]
cmp eax, dword [esp + 0x3c]
je 0x6cc567d0
mov edx, dword [esi]
test byte [edx + 0x90], 1
je 0x6cc565b9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], str.ERROR:_DestinationChannels_not_equal_to_master_channel_count:__p__d__d
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0x822
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.6cc5ca40
jmp 0x6cc565b9
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], str.ERROR:_SourceChannels_not_equal_to_voice_channel_count:__p__d__d
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0x813
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.6cc5ca40
jmp 0x6cc565b9
mov eax, dword [esi + 0x6c]
mov dword [esp], eax
call fcn.6cc65fd0
mov eax, dword [esi]
test byte [eax + 0x90], 0x80
jne 0x6cc5696d
mov eax, dword [esi + 0x14]
mov edx, dword [eax + ebx*4]
mov eax, dword [esp + 0x38]
imul eax, dword [esp + 0x3c]
mov dword [esp], edx
shl eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call sub.ucrtbase.dll_memcpy
mov edx, ebx
mov eax, esi
call fcn.6cc51270
mov eax, dword [esi + 0x6c]
mov dword [esp], eax
call fcn.6cc65ff0
mov eax, dword [esi]
test byte [eax + 0x90], 0x80
jne 0x6cc56900
xor ebx, ebx
jmp 0x6cc565be
mov dword [esp + 0x14], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x84f
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.6cc5ca40
add esp, 0x20
mov eax, ebx
pop ebx
pop esi
pop edi
ret
mov eax, dword [esi + 0x54]
mov dword [esp], edx
mov dword [esp + 0x10], 0x6cc6d887
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x84e
mov dword [esp + 0x14], eax
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
call fcn.6cc5ca40
mov edx, dword [esi]
mov eax, dword [edx + 0x90]
jmp 0x6cc565d9
mov eax, dword [esp + 0x40]
mov dword [esp + 0x14], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
call fcn.6cc63da0
mov eax, dword [esi]
test byte [eax + 0x90], 0x10
jne 0x6cc56936
xor ebx, ebx
jmp 0x6cc565e1
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x10], 0x6cc6d887
xor ebx, ebx
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x84a
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.6cc5ca40
jmp 0x6cc565be
mov dword [esp + 0x14], str.FAudioVoice_SetOutputMatrix
xor ebx, ebx
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x7f0
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.6cc5ca40
jmp 0x6cc565e1
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x10], 0x6cc6d878
mov dword [esp + 0xc], str.FAudioVoice_SetOutputMatrix
mov dword [esp + 8], 0x83f
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wineskincx_libs_faudio_src_FAudio.c
mov dword [esp + 0x14], edx
mov dword [esp], eax
call fcn.6cc5ca40
jmp 0x6cc567ea