Function at 0x10014130
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 0x100144b0
mov dword [esp], ebx
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], 0
mov dword [esp + 4], eax
call fcn.10013710
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x6c]
test esi, esi
je 0x100144e8
test eax, eax
je 0x10014198
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 0x100145f0
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10028230
mov eax, dword [ebx]
test byte [eax + 0x90], 0x80
jne 0x10014578
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 0x100143c0
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 [0x1002d088]
mov word [esp + 0x52], di
mov edi, dword [0x1002d08c]
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 [0x1002d090]
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 [0x1002d094]
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 [0x1002d090]
mov dword [esp + 0x8c], eax
mov eax, dword [0x1002d094]
mov dword [esp + 0x90], eax
mov eax, dword [esi]
test eax, eax
jne 0x10014322
jmp 0x100143e8
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 0x100143e8
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 0x100142b8
mov eax, dword [ebx]
test byte [eax + 0x90], 1
jne 0x10014660
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10028250
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 0x80
jne 0x100146d0
test al, 0x10
jne 0x10014698
lea esp, [ebp - 0xc]
mov eax, 0x88890008
pop ebx
pop esi
pop edi
pop ebp
ret
cmp eax, 1
je 0x100141cd
cmp eax, 2
jne 0x100141d8
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], eax
jmp 0x100141d8
mov dword [esp], ebx
xor edi, edi
call fcn.10022390
mov dword [esp + 4], esi
mov dword [esp], ebx
call fcn.10022190
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x10014478
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 0x10014470
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 0x10014408
mov eax, dword [esp + 0x1c]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10028250
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 0x80
jne 0x10014618
test al, 0x10
jne 0x100145b8
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.1001df10
jmp 0x10014154
test eax, eax
je 0x10014540
cmp dword [esp + 0x1c], eax
je 0x10014540
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 1
jne 0x10014750
test al, 0x10
je 0x10014608
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.1001df10
jmp 0x10014608
mov eax, dword [ebx + 0x5c]
mov dword [esp], eax
call fcn.10028230
mov eax, dword [ebx]
test byte [eax + 0x90], 0x80
jne 0x10014714
mov dword [esp], ebx
call fcn.10022390
lea edx, [ebx + 0x28]
mov ecx, 7
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
jmp 0x10014478
mov dword [esp + 0x18], 0x10030b67
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x10], 0x1003086c
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.1001df10
jmp 0x100141b2
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.1001df10
xor eax, eax
jmp 0x100144a4
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
test al, 1
jne 0x100147c2
test al, 0x10
jne 0x1001478d
lea esp, [ebp - 0xc]
mov eax, 0x88960001
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x18], 0x10030b67
mov eax, dword [ebx + 0x5c]
mov dword [esp], edx
mov dword [esp + 0x10], 0x10030880
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.1001df10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x1001449a
mov dword [esp + 0x14], str.Effect_output_format_not_supported
mov dword [esp + 0x10], 0x10030a9b
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.1001df10
jmp 0x1001438f
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.1001df10
jmp 0x100143b2
mov dword [esp + 0x18], 0x10030b67
mov eax, dword [ebx + 0x5c]
mov dword [esp], edx
mov dword [esp + 0x10], 0x10030880
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.1001df10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x100143aa
mov dword [esp + 0x18], 0x10030b67
mov edx, dword [ebx + 0x5c]
mov dword [esp + 0x10], 0x1003086c
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.1001df10
jmp 0x1001455a
mov dword [esp], edx
mov dword [esp + 0x14], str.Cannot_remove_effect_chain_that_changes_the_number_of_channels
mov dword [esp + 0x10], 0x10030a9b
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.1001df10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x10014502
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.1001df10
jmp 0x10014608
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], 0x10030a9b
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.1001df10
mov edx, dword [ebx]
mov eax, dword [edx + 0x90]
jmp 0x10014600