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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, eax
cmp byte [esi], 0
push edi
mov edi, dword [ebp + 8]
je 0x44a6c4
call fcn.00403fb0
test al, al
je 0x44a6b4
push 0x10
push 0
push esi
call fcn.00493ebc
add esp, 0xc
jmp 0x44a6bd
push esi
call fcn.00492cb8
add esp, 4
lea esi, [eax - 1]
test esi, esi
jns 0x44a6c6
xor esi, esi
test ebx, ebx
je 0x44a735
mov eax, ebx
mov dword [esp + 0x28], 0
call fcn.00403fb0
test al, al
je 0x44a6f8
push 0x10
push 0
push ebx
call fcn.00492c4b
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
fild qword [esp + 0x24]
add esp, 0xc
jmp 0x44a701
push ebx
call fcn.00493fbe
add esp, 4
fst qword [esp + 0x18]
fld qword [0x4b1600]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x44a71c
fstp st(1)
fstp qword [esp + 0x18]
jmp 0x44a742
fstp st(0)
fld qword [0x4b15a8]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x44a740
fstp qword [esp + 0x18]
jmp 0x44a742
mov eax, dword [0x4bb368]
mov dword [esp + 0x28], eax
jmp 0x44a742
fstp st(0)
push 0
push 0
push 0
push esi
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.WINMM.dll_mixerOpen]
test eax, eax
je 0x44a7a0
mov edx, dword [0x4b7a60]
test byte [edx + 0xe0], 1
jne 0x44a786
mov eax, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push str.Cant_Open_Specified_Mixer
push eax
call fcn.00482410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
push 0x4a7935
push 0
push str.Cant_Open_Specified_Mixer
call fcn.0043ad70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esp + 0x10]
push 0x30
lea ecx, [esp + 0x1a4]
push ecx
push edx
call dword [sym.imp.WINMM.dll_mixerGetDevCapsA]
mov esi, dword [esp + 0x1cc]
test eax, eax
je 0x44a7c5
mov esi, 1
push 0xa4
lea eax, [esp + 0x68]
push 0
push eax
mov dword [esp + 0x30], esi
call fcn.0049bcd0
add esp, 0xc
cmp dword [ebp + 0x14], 1
mov dword [esp + 0x60], 0xa8
jne 0x44a82d
mov eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
push 3
lea edx, [esp + 0x64]
push edx
push eax
mov dword [esp + 0x84], ecx
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
je 0x44a921
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, str.Mixer_Doesnt_Support_This_Component_Type
call fcn.0043ae70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
xor bl, bl
mov byte [esp + 0xf], bl
mov dword [esp + 0x2c], edi
cmp esi, edi
jle 0x44a8cb
test bl, bl
jne 0x44a921
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x64]
push edx
push eax
mov dword [esp + 0x70], edi
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x44a8bc
mov eax, dword [esp + 0x80]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x44a8b8
cmp byte [esp + 0xf], 0
jne 0x44a8b8
mov edx, dword [esp + 0x10]
push 1
lea ecx, [esp + 0x64]
push ecx
push edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], esi
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x44a8b3
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x78], eax
jne 0x44a8b3
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0x14]
jne 0x44a8b3
mov byte [esp + 0xf], 1
inc esi
cmp esi, ebx
jl 0x44a872
mov bl, byte [esp + 0xf]
inc edi
cmp edi, dword [esp + 0x24]
jl 0x44a841
test bl, bl
jne 0x44a921
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WINMM.dll_mixerClose]
mov edx, dword [0x4b7a60]
test byte [edx + 0xe0], 1
jne 0x44a904
mov eax, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push str.Mixer_Doesnt_Have_That_Many_of_That_Component_Type
push eax
call fcn.00482410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp + 8]
push 0x4a7935
push 0
push str.Mixer_Doesnt_Have_That_Many_of_That_Component_Type
call fcn.0043ad70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [esp + 0x6c]
mov ebx, dword [ebp + 0x18]
lea ecx, [esp + 0x108]
push 2
lea eax, [esp + 0x4c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x14]
push eax
mov esi, 0x18
mov edi, 1
push ecx
mov dword [esp + 0x54], esi
mov dword [esp + 0x64], 0x94
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
test eax, eax
je 0x44a9c0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, dword [0x4b7a60]
test byte [eax + 0xe0], 1
jne 0x44a9a3
mov ecx, dword [0x4bbc30]
push edi
push 0
push 0xffffffffffffffff
push str.Component_Doesnt_Support_This_Control_Type
push ecx
call fcn.00482410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp + 8]
push 0x4a7935
push 0
push str.Component_Doesnt_Support_This_Control_Type
call fcn.0043ad70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44a9ec
mov al, byte [ecx]
cmp al, 0x2d
je 0x44a9e5
cmp al, 0x2b
je 0x44a9e5
mov eax, dword [ebp + 8]
cmp byte [eax + 1], 0
jbe 0x44a9ec
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
cmp byte [eax], 0x2b
jne 0x44a9ec
mov byte [esp + 0xf], 1
jmp 0x44a9f1
mov byte [esp + 0xf], 0
xor eax, eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], 4
test ecx, ecx
je 0x44aa35
cmp byte [esp + 0xf], 0
je 0x44aaa0
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.WINMM.dll_mixerGetControlDetailsA]
test eax, eax
je 0x44aaa0
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, dword [0x4b7a60]
test byte [eax + 0xe0], 1
jne 0x44aa83
mov ecx, dword [0x4bbc30]
push edi
push 0
push 0xffffffffffffffff
push str.Cant_Get_Current_Setting
push ecx
call fcn.00482410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov edi, dword [ebp + 8]
push 0x4a7935
push 0
push str.Cant_Get_Current_Setting
call fcn.0043ad70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x20010001
jb 0x44aabc
cmp ebx, 0x20010005
jbe 0x44aab8
cmp ebx, 0x20012277
jne 0x44aabc
mov bl, 1
jmp 0x44aabe
xor bl, bl
cmp dword [ebp + 0xc], 0
je 0x44abd2
test bl, bl
je 0x44ab54
cmp byte [esp + 0xf], 0
je 0x44aaf1
mov eax, dword [esp + 0x16c]
cmp dword [esp + 0x14], eax
ja 0x44ab05
mov edx, dword [esp + 0x170]
mov dword [esp + 0x14], edx
jmp 0x44ab09
fldz
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x44ab47
mov eax, dword [esp + 0x170]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
push 0
lea eax, [esp + 0x34]
push eax
push ecx
call dword [sym.imp.WINMM.dll_mixerSetControlDetails]
mov edx, dword [esp + 0x10]
push edx
mov esi, eax
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, 0x4a7950
test esi, esi
je 0x44ab36
mov eax, str.Cant_Change_Setting
mov edi, dword [ebp + 8]
call fcn.0043ae70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x14], ecx
jmp 0x44ab09
mov ebx, dword [esp + 0x170]
mov edi, dword [esp + 0x16c]
mov edx, ebx
sub edx, edi
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
jns 0x44ab76
fadd qword [0x4b1580]
fld qword [esp + 0x18]
fdiv qword [0x4b15a8]
fmulp st(1)
call fcn.004a1cc6
cmp byte [esp + 0xf], 0
je 0x44ab05
mov ecx, dword [esp + 0x14]
xor esi, esi
add ecx, eax
adc esi, edx
xor eax, eax
cmp esi, eax
jg 0x44abb7
jl 0x44aba8
cmp ecx, edi
jae 0x44abb7
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jmp 0x44ab09
xor eax, eax
cmp esi, eax
jl 0x44abc9
jg 0x44abc3
cmp ecx, ebx
jbe 0x44abc9
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jmp 0x44ab09
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WINMM.dll_mixerClose]
mov ecx, dword [0x4bbc30]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7950
push ecx
call fcn.00482410
test bl, bl
je 0x44ac23
cmp dword [esp + 0x14], 0
mov eax, 0x4a9fd4
jne 0x44ac09
mov eax, 0x4a9fd8
mov edx, dword [esp + 0x28]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.00482410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x16c]
sub ecx, eax
mov dword [esp + 0x24], ecx
fild dword [esp + 0x24]
jns 0x44ac40
fadd qword [0x4b1580]
mov edx, dword [esp + 0x170]
fmul qword [0x4b15a8]
sub edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
jns 0x44ac5f
fadd qword [0x4b1580]
fdivp st(1)
push 0x28
fstp qword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x30]
push ecx
call fcn.004010d0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14