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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c4
push ebx
push esi
mov esi, eax
cmp byte [esi], 0
push edi
mov edi, dword [ebp + 0xc]
je 0x44a9e1
call fcn.00404090
test al, al
je 0x44a9d1
push 0x10
push 0
push esi
call fcn.004943dc
add esp, 0xc
jmp 0x44a9da
push esi
call fcn.004931d8
add esp, 4
lea esi, [eax - 1]
test esi, esi
jns 0x44a9e3
xor esi, esi
test edi, edi
je 0x44aa52
mov eax, edi
mov dword [esp + 0x28], 0
call fcn.00404090
test al, al
je 0x44aa15
push 0x10
push 0
push edi
call fcn.0049316b
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
fild qword [esp + 0x24]
add esp, 0xc
jmp 0x44aa1e
push edi
call fcn.004944de
add esp, 4
fst qword [esp + 0x18]
fld qword [0x4b16b0]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x44aa39
fstp st(1)
fstp qword [esp + 0x18]
jmp 0x44aa5f
fstp st(0)
fld qword [0x4b1658]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x44aa5d
fstp qword [esp + 0x18]
jmp 0x44aa5f
mov eax, dword [0x4bb388]
mov dword [esp + 0x28], eax
jmp 0x44aa5f
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 0x44aac0
mov edx, dword [0x4b7a70]
test byte [edx + 0xe0], 1
jne 0x44aaa3
mov eax, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4aeadc
push eax
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
push 0x4a7935
push 0
push 0x4aeadc
call fcn.0043b050
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 0x44aae5
mov esi, 1
push 0xa4
lea eax, [esp + 0x68]
push 0
push eax
mov dword [esp + 0x30], esi
call fcn.0049c1f0
add esp, 0xc
cmp dword [ebp + 0x14], 1
mov dword [esp + 0x60], 0xa8
jne 0x44ab50
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 0x44ac44
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WINMM.dll_mixerClose]
mov ebx, dword [ebp + 8]
mov eax, 0x4aeaf8
call fcn.0043b1b0
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 0x44abee
test bl, bl
jne 0x44ac44
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 0x44abdf
mov eax, dword [esp + 0x80]
xor esi, esi
mov ebx, eax
test eax, eax
jle 0x44abdb
cmp byte [esp + 0xf], 0
jne 0x44abdb
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 0x44abd6
mov eax, dword [ebp + 0x10]
cmp dword [esp + 0x78], eax
jne 0x44abd6
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
cmp eax, dword [ebp + 0x14]
jne 0x44abd6
mov byte [esp + 0xf], 1
inc esi
cmp esi, ebx
jl 0x44ab95
mov bl, byte [esp + 0xf]
inc edi
cmp edi, dword [esp + 0x24]
jl 0x44ab64
test bl, bl
jne 0x44ac44
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.WINMM.dll_mixerClose]
mov edx, dword [0x4b7a70]
test byte [edx + 0xe0], 1
jne 0x44ac27
mov eax, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4aeb24
push eax
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
push 0x4a7935
push 0
push 0x4aeb24
call fcn.0043b050
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 edi, 0x18
mov esi, 1
push ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x64], 0x94
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], esi
call dword [sym.imp.WINMM.dll_mixerGetLineControlsA]
test eax, eax
je 0x44ace3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, dword [0x4b7a70]
test byte [eax + 0xe0], 1
jne 0x44acc6
mov ecx, dword [0x4bbc50]
push esi
push 0
push 0xffffffffffffffff
push 0x4aeb58
push ecx
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
push 0x4a7935
push 0
push 0x4aeb58
call fcn.0043b050
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x44ad0f
mov al, byte [ecx]
cmp al, 0x2d
je 0x44ad08
cmp al, 0x2b
je 0x44ad08
mov eax, dword [ebp + 8]
cmp byte [eax + 1], 0
jbe 0x44ad0f
mov edx, dword [eax + 8]
mov eax, dword [edx + 4]
cmp byte [eax], 0x2b
jne 0x44ad0f
mov byte [esp + 0xf], 1
jmp 0x44ad14
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], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], 4
test ecx, ecx
je 0x44ad58
cmp byte [esp + 0xf], 0
je 0x44adc3
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 0x44adc3
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.WINMM.dll_mixerClose]
mov eax, dword [0x4b7a70]
test byte [eax + 0xe0], 1
jne 0x44ada6
mov ecx, dword [0x4bbc50]
push esi
push 0
push 0xffffffffffffffff
push 0x4aeb84
push ecx
call fcn.004828b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ebx, dword [ebp + 8]
push 0x4a7935
push 0
push 0x4aeb84
call fcn.0043b050
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
cmp ebx, 0x20010001
jb 0x44addf
cmp ebx, 0x20010005
jbe 0x44addb
cmp ebx, 0x20012277
jne 0x44addf
mov bl, 1
jmp 0x44ade1
xor bl, bl
cmp dword [ebp + 0xc], 0
je 0x44aef5
test bl, bl
je 0x44ae77
cmp byte [esp + 0xf], 0
je 0x44ae14
mov eax, dword [esp + 0x16c]
cmp dword [esp + 0x14], eax
ja 0x44ae28
mov edx, dword [esp + 0x170]
mov dword [esp + 0x14], edx
jmp 0x44ae2c
fldz
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 5
jp 0x44ae6a
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 0x44ae59
mov eax, 0x4aeba0
mov ebx, dword [ebp + 8]
call fcn.0043b1b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x16c]
mov dword [esp + 0x14], ecx
jmp 0x44ae2c
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 0x44ae99
fadd qword [0x4b1630]
fld qword [esp + 0x18]
fdiv qword [0x4b1658]
fmulp st(1)
call fcn.004a21e6
cmp byte [esp + 0xf], 0
je 0x44ae28
mov ecx, dword [esp + 0x14]
xor esi, esi
add ecx, eax
adc esi, edx
xor eax, eax
cmp esi, eax
jg 0x44aeda
jl 0x44aecb
cmp ecx, edi
jae 0x44aeda
mov ecx, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jmp 0x44ae2c
xor eax, eax
cmp esi, eax
jl 0x44aeec
jg 0x44aee6
cmp ecx, ebx
jbe 0x44aeec
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jmp 0x44ae2c
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.WINMM.dll_mixerClose]
mov ecx, dword [0x4bbc50]
push 1
push 0
push 0xffffffffffffffff
push 0x4a7950
push ecx
call fcn.004828b0
test bl, bl
je 0x44af46
cmp dword [esp + 0x14], 0
mov eax, 0x4aa044
jne 0x44af2c
mov eax, 0x4aa048
mov edx, dword [esp + 0x28]
push 1
push 0
push 0xffffffffffffffff
push eax
push edx
call fcn.004828b0
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 0x44af63
fadd qword [0x4b1630]
mov edx, dword [esp + 0x170]
fmul qword [0x4b1658]
sub edx, eax
mov dword [esp + 0x24], edx
fild dword [esp + 0x24]
jns 0x44af82
fadd qword [0x4b1630]
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.00401130
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14