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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 0x94
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx]
test byte [eax + 0x90], 0x10
jne 0x100131b0
mov dword [esp], ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
mov dword [esp + 4], eax
call fcn.10012410
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x6c]
test esi, esi
je 0x100131e8
test eax, eax
je 0x10012e98
mov edx, dword [esi]
mov ecx, dword [esi + 4]
lea edx, [edx + edx*2 - 3]
lea edx, [ecx + edx*4]
cmp dword [edx + 8], eax
jne 0x100132f0
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10026f30
mov eax, dword [ebx]
test byte [eax + 0x90], 0x80
jne 0x10013278
lea eax, [esp + 0x44]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + 8]
test eax, eax
jne 0x100130c0
mov eax, dword [ebx + 0x7c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov edx, 0xfffffffe
mov edi, 0x20
mov dword [esp + 0x54], 0x200016
mov word [esp + 0x44], dx
movd xmm0, dword [esp + 0x40]
mov edx, dword [0x1002b088]
mov word [esp + 0x52], di
mov edi, dword [0x1002b08c]
mov dword [esp + 0x58], 0
mov word [esp + 0x46], ax
shl eax, 2
mov word [esp + 0x50], ax
movzx eax, ax
imul eax, dword [esp + 0x40]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x88], edi
xor edi, edi
movd xmm1, eax
mov eax, dword [0x1002b090]
mov dword [esp + 0x7c], 0x200016
punpckldq xmm0, xmm1
movq qword [esp + 0x48], xmm0
mov ecx, dword [esp + 0x4c]
movd dword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
mov dword [esp + 0x64], eax
mov eax, dword [0x1002b094]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x84], edx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [0x1002b090]
mov dword [esp + 0x8c], eax
mov eax, dword [0x1002b094]
mov dword [esp + 0x90], eax
mov eax, dword [esi]
test eax, eax
jne 0x10013022
jmp 0x100130e8
mov eax, dword [esp + 0x6c]
add edi, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x68], eax
cmp edi, dword [esi]
jae 0x100130e8
mov edx, dword [esi + 4]
lea eax, [edi + edi*2]
lea eax, [edx + eax*4]
mov ecx, dword [eax + 8]
mov edx, dword [eax]
mov dword [esp + 0xc], 1
movzx eax, word [esp + 0x7a]
mov dword [esp + 4], 1
mov word [esp + 0x6e], cx
mov dword [esp], edx
shr ax, 3
imul eax, ecx
mov word [esp + 0x78], ax
movzx eax, ax
imul eax, dword [esp + 0x70]
mov dword [esp + 0x74], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov dword [esp + 8], eax
call dword [edx + 0x1c]
test eax, eax
je 0x10012fb8
mov eax, dword [ebx]
test byte [eax + 0x90], 1
jne 0x10013360
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10026f50
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 0x80
jne 0x100133d0
test al, 0x10
jne 0x10013398
lea esp, [ebp - 0xc]
mov eax, 0x88890008
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 1
je 0x10012ecd
cmp eax, 2
jne 0x10012ed8
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
jmp 0x10012ed8
mov dword [esp], ebx
xor edi, edi
call fcn.10021090
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.10020e90
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10013178
lea esi, [esi]
mov ecx, dword [ebx + 0x30]
lea eax, [edi + edi*2]
lea esi, [eax*4]
lea edx, [esp + 0x20]
mov eax, dword [ecx + eax*4]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [eax + 8]
test eax, eax
jne 0x10013170
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x40]
mov edx, dword [esp + 0x1c]
movzx eax, byte [eax + 0x418]
shr al, 4
and eax, 1
mov byte [ecx + edi], al
mov ecx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x40]
add eax, edi
cmp dword [ecx + esi + 8], edx
sete cl
and byte [eax], cl
mov eax, dword [ebx + 0x30]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + esi + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx]
mov dword [esp], ecx
call dword [eax + pe_nt_image_headers32]
add edi, 1
cmp edi, dword [ebx + 0x2c]
jb 0x10013108
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10026f50
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 0x80
jne 0x10013318
test al, 0x10
jne 0x100132b8
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x14], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x10], str.API_Enter:__s
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x54d
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.1001cc10
jmp 0x10012e54
test eax, eax
je 0x10013240
cmp dword [esp + 0x1c], eax
je 0x10013240
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 1
jne 0x10013450
test al, 0x10
je 0x10013308
mov dword [esp + 0x14], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x55d
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.1001cc10
jmp 0x10013308
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10026f30
mov eax, dword [ebx]
test byte [eax + 0x90], 0x80
jne 0x10013414
mov dword [esp], ebx
call fcn.10021090
lea edx, [ebx + 0x28]
mov ecx, 7
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x10013178
mov dword [esp + 0x18], 0x1002e707
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x10], 0x1002e40c
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x575
mov dword [esp + 0x14], edx
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.1001cc10
jmp 0x10012eb2
mov dword [esp + 0x14], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x5e6
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.1001cc10
xor eax, eax
jmp 0x100131a4
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 1
jne 0x100134c2
test al, 0x10
jne 0x1001348d
lea esp, [ebp - 0xc]
mov eax, 0x88960001
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], 0x1002e707
mov eax, dword [ebx + 0x5c]
mov dword [esp], edx
mov dword [esp + 0x10], 0x1002e420
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x5e5
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
call fcn.1001cc10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x1001319a
mov dword [esp + 0x14], str.Effect_output_format_not_supported
mov dword [esp + 0x10], 0x1002e63b
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x5b2
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.1001cc10
jmp 0x1001308f
mov dword [esp + 0x14], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x5ba
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.1001cc10
jmp 0x100130b2
mov dword [esp + 0x18], 0x1002e707
mov eax, dword [ebx + 0x5c]
mov dword [esp], edx
mov dword [esp + 0x10], 0x1002e420
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x14], eax
mov dword [esp + 8], 0x5b9
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
call fcn.1001cc10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x100130aa
mov dword [esp + 0x18], 0x1002e707
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x10], 0x1002e40c
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x575
mov dword [esp + 0x14], edx
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], eax
call fcn.1001cc10
jmp 0x1001325a
mov dword [esp], edx
mov dword [esp + 0x14], str.Cannot_remove_effect_chain_that_changes_the_number_of_channels
mov dword [esp + 0x10], 0x1002e63b
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x557
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
call fcn.1001cc10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x10013202
mov dword [esp + 0x14], str.FAudioVoice_SetEffectChain
mov dword [esp + 0x10], str.API_Exit:__s
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x56f
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
mov dword [esp], edx
call fcn.1001cc10
jmp 0x10013308
mov dword [esp], edx
mov dword [esp + 0x14], str.New_effect_chain_must_have_same_number_of_output_channels_as_the_old_chain
mov dword [esp + 0x10], 0x1002e63b
mov dword [esp + 0xc], str.FAudioVoice_SetEffectChain
mov dword [esp + 8], 0x569
mov dword [esp + 4], str._Users_gcenx_Documents_GitHub_wine_kegworks_libs_faudio_src_FAudio.c
call fcn.1001cc10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x10013300