Function at 0x4d0bd0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c84
call fcn.005c36f0
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0xa3b8f8], 0
jne 0x4d0c02
call fcn.0047ded0
mov eax, dword [0xa3becc]
test eax, eax
je 0x4d0c02
push 1
call eax
cmp dword [0xa10e0c], 0
je 0x4d0c1c
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
mov dword [ebp - 0x1c4c], 0x752cb8
mov esi, 1
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop word [eax + eax]
mov eax, dword [0x9f048c]
test eax, eax
je 0x4d0d0a
jle 0x4d2570
cmp eax, 2
jg 0x4d2570
push str.DirectSound8
mov dword [0xa1a438], 0
call fcn.00459730
add esp, 4
push 0xa10de8
push 0x752da8
push 3
push 0
push 0x752d58
call dword [0xa3bb44]
test eax, eax
jns 0x4d0cb3
push str.DirectMusicLoader8
call fcn.00459730
push 0x6c4504
call fcn.00459730
add esp, 8
mov dword [0x9f048c], 0
jmp 0x4d0c40
push 0xa10dec
push 0x752db8
push 3
push 0
push 0x752d48
call dword [0xa3bb44]
test eax, eax
jns 0x4d2062
mov ecx, dword [0xa10de8]
test ecx, ecx
je 0x4d0cee
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0xa10de8], 0
push 0x6c4530
call fcn.00459730
add esp, 4
mov dword [0x9f048c], 0
jmp 0x4d0c40
cmp dword [0xa1a440], 0
je 0x4d18b3
push 0x6c35d0
mov dword [0x9f04e4], 1
call fcn.00459730
add esp, 4
cmp dword [0xa3bd9c], 0
je 0x4d1888
cmp dword [0xa3be50], 0
je 0x4d1888
cmp dword [0xa3be58], 0
je 0x4d1888
cmp dword [0xa3be60], 0
je 0x4d1888
cmp dword [0xa3be68], 0
je 0x4d1888
cmp dword [0xa3bac8], 0
je 0x4d1888
cmp dword [0xa3bad4], 0
je 0x4d1888
cmp dword [0xa3bb5c], 0
je 0x4d1888
call fcn.0045a070
push 0x6c362c
mov dword [ebp - 0x1a4c], 0
xor edi, edi
call fcn.00459c80
add esp, 4
lea eax, [ebp - 0x1a4c]
push eax
push str.software_asio
push 0x80000002
call fcn.004801b0
test eax, eax
jne 0x4d120e
nop dword [eax]
nop word [eax + eax]
cmp dword [0xa11bb0], 0x20
mov ebx, edi
mov dword [ebp - 0x1c60], edi
mov esi, edi
mov dword [ebp - 0x1c64], edi
mov dword [ebp - 0x1c68], edi
mov dword [ebp - 0x1c58], edi
mov dword [ebp - 0x1c6c], edi
mov dword [ebp - 0x1c54], edi
mov dword [ebp - 0x1c50], edi
mov dword [ebp - 0x1a40], edi
jge 0x4d1203
test edi, edi
jne 0x4d0e32
push 0x6c366c
call fcn.00459c80
add esp, 4
push 0x100
lea eax, [ebp - 0x50c]
push eax
push edi
push dword [ebp - 0x1a4c]
call fcn.0047fe80
inc edi
mov dword [ebp - 0x1c5c], edi
test eax, eax
jne 0x4d1203
mov dword [ebp - 0x1a48], eax
lea eax, [ebp - 0x50c]
push eax
push esi
push 0x6c369c
call fcn.00459c80
add esp, 0xc
lea eax, [ebp - 0x1a48]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x50c]
push eax
push dword [ebp - 0x1a4c]
call fcn.00480010
test eax, eax
jne 0x4d1203
push ebx
push 0x6c36d8
call fcn.00459c80
add esp, 8
mov dword [ebp - 0x1314], 1
lea eax, [ebp - 0x1310]
mov dword [ebp - 0x1310], 0x100
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x1314]
push eax
push 0
push str.clsid
push dword [ebp - 0x1a48]
call fcn.00480340
mov esi, eax
test esi, esi
jne 0x4d11ef
mov dword [ebp - 0x1a44], eax
lea eax, [ebp - 0x204]
push eax
push 0x4b0
call fcn.0048c4b0
add esp, 8
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.0047b500
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x1a40]
push 0x6c3728
call fcn.00459c80
add esp, 0xc
lea eax, [ebp - 0x1a44]
push eax
push str.clsid
push 0x80000000
call fcn.004801b0
mov esi, eax
test esi, esi
jne 0x4d11ef
xor ebx, ebx
xor edi, edi
test edi, edi
jne 0x4d11dd
push 0x400
lea eax, [ebp - 0x130c]
push eax
push ebx
push dword [ebp - 0x1a44]
call fcn.0047fe80
mov esi, eax
inc ebx
test esi, esi
jne 0x4d11dd
lea eax, [ebp - 0x130c]
push eax
push 0x4b0
call fcn.0048c4b0
add esp, 8
push eax
lea eax, [ebp - 0x130c]
push eax
call fcn.0047b500
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x130c]
push eax
push 0x4b0
call fcn.0048bdf0
add esp, 0xc
test eax, eax
jne 0x4d0f54
push dword [ebp - 0x1c50]
mov dword [ebp - 0x1a40], eax
push 0x6c3760
call fcn.00459c80
add esp, 8
lea eax, [ebp - 0x1a40]
lea edi, [esi + 1]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x130c]
push eax
push dword [ebp - 0x1a44]
call fcn.00480010
mov esi, eax
test esi, esi
jne 0x4d11dd
push dword [ebp - 0x1c54]
mov dword [ebp - 0x1a50], eax
push 0x6c37a0
call fcn.00459c80
add esp, 8
lea eax, [ebp - 0x1a50]
push eax
push 0x20019
push esi
push str.InprocServer32
push dword [ebp - 0x1a40]
call fcn.00480010
mov esi, eax
test esi, esi
jne 0x4d11c9
push dword [ebp - 0x1c6c]
push 0x6c3808
call fcn.00459c80
add esp, 8
mov dword [ebp - 0x1314], edi
lea eax, [ebp - 0x1310]
mov dword [ebp - 0x1310], 0x200
push eax
lea eax, [ebp - 0xb0c]
push eax
lea eax, [ebp - 0x1314]
push eax
push esi
push esi
push dword [ebp - 0x1a50]
call fcn.00480340
mov esi, eax
test esi, esi
jne 0x4d11bd
lea eax, [ebp - 0xb0c]
push eax
push dword [ebp - 0x1c58]
push 0x6c3850
call fcn.00459c80
add esp, 0xc
lea eax, [ebp - 0x1a38]
push eax
lea eax, [ebp - 0xb0c]
push eax
call fcn.0047cba0
cmp eax, 0xffffffff
je 0x4d11aa
push eax
call dword [0xa3bad4]
test byte [ebp - 0x1a38], 0x10
jne 0x4d11bd
push dword [ebp - 0x1c68]
push 0x6c3890
call fcn.00459c80
add esp, 8
lea eax, [ebp - 0x1398]
push eax
lea eax, [ebp - 0x204]
push eax
call dword [0xa3bb5c]
mov esi, eax
test esi, esi
jne 0x4d11bd
push 0x10
lea eax, [ebp - 0x1398]
push eax
mov eax, dword [0xa11bb0]
shl eax, 4
add eax, 0xa1a038
push eax
call fcn.00497210
add esp, 0xc
mov dword [ebp - 0x1314], edi
lea eax, [ebp - 0x1310]
mov dword [ebp - 0x1310], 0x100
push eax
lea eax, [ebp - 0x70c]
push eax
lea eax, [ebp - 0x1314]
push eax
push esi
push str.description
push dword [ebp - 0x1a48]
call fcn.00480340
mov esi, eax
lea ecx, [ebp - 0x50c]
test esi, esi
lea eax, [ebp - 0x70c]
cmovne eax, ecx
push eax
mov eax, dword [0xa11bb0]
shl eax, 9
add eax, 0xa15bb8
push eax
push 0x4b0
call fcn.0048bff0
push dword [ebp - 0x1c64]
inc dword [0xa11bb0]
push 0x6c38ec
call fcn.00459c80
add esp, 0x14
jmp 0x4d11bd
push dword [ebp - 0x1c60]
push 0x6c3930
call fcn.00459c80
add esp, 8
push dword [ebp - 0x1a50]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1a40]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4d0f54
push dword [ebp - 0x1a44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [ebp - 0x1c5c]
push dword [ebp - 0x1a48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x4d0de0
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, 1
mov eax, dword [ebp - 0x1a4c]
test eax, eax
je 0x4d121f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6c397c
call fcn.00459c80
mov eax, dword [0xa11bb0]
add esp, 4
test eax, eax
jne 0x4d1260
call fcn.0045a080
push 0x6c39a4
call fcn.00459730
mov dword [0xa1a440], 0
add esp, 4
mov dword [0x9f04e4], 0
jmp 0x4d0c34
mov ecx, dword [0xa11bb4]
test ecx, ecx
jns 0x4d1276
mov dword [0xa11bb4], 0
jmp 0x4d1280
cmp ecx, eax
jl 0x4d1280
dec eax
mov dword [0xa11bb4], eax
push 0x6c39d0
call fcn.00459c80
mov ecx, dword [0xa11bb4]
add esp, 4
mov eax, ecx
shl eax, 4
lea edx, [eax + 0xa1a038]
lea eax, [ecx*4 + 0xa1a238]
push eax
push edx
push 1
push 0
push edx
call dword [0xa3bb44]
test eax, eax
jns 0x4d12c5
call fcn.0045a080
push 0x6c39f0
jmp 0x4d123f
push 0x6c3a1c
call fcn.00459c80
push 0x6c3a44
call fcn.00459c80
mov eax, dword [0xa11bb4]
add esp, 8
mov esi, dword [eax*4 + 0xa1a238]
mov edi, dword [esi]
call fcn.00453390
push eax
mov ecx, esi
call dword [edi + 0xc]
test eax, eax
jne 0x4d1339
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3a5c
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
push 0x6c3a80
call fcn.00459c80
push 0x6c3aa0
call fcn.00459c80
mov eax, dword [0xa11bb4]
add esp, 8
mov ecx, dword [eax*4 + 0xa1a238]
push 0xa1a2c8
push 0xa1a2c0
push 0xa1a2bc
mov eax, dword [ecx]
push 0xa1a2b8
call dword [eax + 0x2c]
test eax, eax
je 0x4d13b9
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3ac8
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
cmp dword [0xa1a3cc], 0
je 0x4d13f4
mov eax, dword [0xa1a3d0]
test eax, eax
js 0x4d13f4
mov ecx, dword [0xa1a2b8]
mov dword [0xa1a2c4], eax
cmp eax, ecx
jge 0x4d13e2
mov dword [0xa1a2c4], ecx
jmp 0x4d13fe
mov ecx, dword [0xa1a2bc]
cmp eax, ecx
jge 0x4d13fe
mov dword [0xa1a2c4], ecx
jmp 0x4d13fe
mov eax, dword [0xa1a2c0]
mov dword [0xa1a2c4], eax
push 0x6c3b04
call fcn.00459c80
push dword [0xa1a2b8]
push 0x6c3b34
call fcn.00459c80
push dword [0xa1a2bc]
push 0x6c3b58
call fcn.00459c80
push dword [0xa1a2c0]
push 0x6c3b7c
call fcn.00459c80
push dword [0xa1a2c8]
push 0x6c3ba0
call fcn.00459c80
push dword [0xa1a2c4]
push 0x6c3bc4
call fcn.00459c80
push 0x100
push 0
push 0xa1a2cc
call fcn.00497290
push 0x6c3be8
mov dword [0xa1a2cc], 0
mov dword [0xa1a2d0], 0
mov dword [0xa1a2dc], 0
mov dword [0xa1a2e0], 1
call fcn.00459c80
mov eax, dword [0xa1a2d0]
lea edx, [ebp - 0x1b14]
mov dword [ebp - 0x1b14], eax
add esp, 0x3c
mov eax, dword [0xa1a2cc]
mov dword [ebp - 0x1b10], eax
mov eax, dword [0xa11bb4]
push edx
mov ecx, dword [eax*4 + 0xa1a238]
mov eax, dword [ecx]
call dword [eax + 0x48]
test eax, eax
je 0x4d1510
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3c10
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
push 0x6c3c40
call fcn.00459c80
mov eax, dword [ebp - 0x1b04]
shl eax, 4
push dword [eax + 0x740720]
push 0x6c3c70
call fcn.00459c80
add esp, 0xc
cmp dword [0xa1a3cc], 0
je 0x4d154f
movd xmm0, dword [0xa1a3d4]
cvtdq2ps xmm0, xmm0
cvtps2pd xmm0, xmm0
jmp 0x4d1557
movsd xmm0, qword [0x6c4b20]
cvttsd2si eax, xmm0
movsd qword [ebp - 0x1330], xmm0
push eax
push 0x6c3c90
call fcn.00459c80
mov eax, dword [0xa11bb4]
movsd xmm0, qword [ebp - 0x1330]
movsd qword [esp], xmm0
mov ecx, dword [eax*4 + 0xa1a238]
mov eax, dword [ecx]
call dword [eax + 0x38]
test eax, eax
je 0x4d1597
push 0x6c3cc4
jmp 0x4d159c
push 0x6c3cf4
call fcn.00459c80
add esp, 4
push 0x6c3d24
call fcn.00459c80
mov eax, dword [0xa11bb4]
lea edx, [ebp - 0x1330]
add esp, 4
mov ecx, dword [eax*4 + 0xa1a238]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
je 0x4d160d
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3d4c
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
push 0x6c3d7c
call fcn.00459c80
movsd xmm0, qword [ebp - 0x1330]
push ecx
movsd qword [esp], xmm0
push 0x6c3dac
call fcn.00459c80
mov esi, dword [ebp - 0x1b04]
push 0x28
push 0
shl esi, 4
push 0xa11b34
add esi, 0x740720
call fcn.00497290
cvttsd2si ecx, qword [ebp - 0x1330]
mov eax, 0x16
mov dword [0xa11b34], 0x2fffe
mov word [0xa11b44], ax
push 0x6c3dcc
mov dword [0xa11b48], 3
lea edi, [eax - 0x14]
mov ax, word [esi + 4]
mov word [0xa11b42], ax
movzx eax, ax
add eax, eax
cdq
and edx, 7
mov dword [0xa11b38], ecx
add eax, edx
movzx edx, word [esi + 6]
sar eax, 3
mov word [0xa11b40], ax
movzx eax, ax
imul eax, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
mov word [0xa11b46], dx
mov dword [0x9f04b0], ecx
mov dword [0xa11b3c], eax
mov eax, 0x752cc8
cmove eax, dword [ebp - 0x1c4c]
movups xmm0, xmmword [eax]
mov eax, 0x16
mov word [0x9f04a8], ax
mov eax, edx
movups xmmword [0xa11b4c], xmm0
mov dword [0x9f04ac], eax
movups xmm0, xmmword [0xa11b34]
mov eax, dword [esi + 0xc]
mov dword [0x9f04b4], eax
movups xmmword [0x9f0498], xmm0
call fcn.00459c80
mov eax, dword [0xa11bb4]
add esp, 0x1c
mov dword [0xd925f8], 0x4d0500
mov dword [0xd925fc], 0x4d0550
mov dword [0xd92600], 0x436670
mov ecx, dword [eax*4 + 0xa1a238]
push 0xd925f8
push dword [0xa1a2c4]
mov dword [0xd92604], 0
mov eax, dword [ecx]
push edi
push 0xa1a2cc
call dword [eax + 0x4c]
test eax, eax
je 0x4d1794
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3dec
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
push 0x6c3e18
call fcn.00459c80
push dword [0xa1a2c4]
push dword [0x9f04b0]
call fcn.00467db0
add esp, 0xc
test eax, eax
jns 0x4d1807
mov eax, dword [0xa11bb4]
mov ecx, dword [eax*4 + 0xa1a238]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push 0x6c3490
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
push 0x6c3e40
mov dword [0xa10e0c], 1
call fcn.00459c80
mov eax, dword [0xa11bb4]
add esp, 4
mov ecx, dword [eax*4 + 0xa1a238]
mov eax, dword [ecx]
call dword [eax + 0x1c]
test eax, eax
je 0x4d2299
mov eax, dword [0xa11bb4]
mov ecx, dword [eax*4 + 0xa1a238]
mov eax, dword [ecx]
call dword [eax + 0x50]
mov eax, dword [0xa11bb4]
mov eax, dword [eax*4 + 0xa1a238]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0xa11bb4]
mov dword [eax*4 + 0xa1a238], 0
call fcn.0045a080
push str.ASIO_n
call fcn.00459730
mov dword [0xa1a440], 0
jmp 0x4d1ced
call fcn.0045a080
push 0x6c35f0
call fcn.00459730
add esp, 4
mov dword [0xa1a440], 0
mov dword [0x9f04e4], 0
jmp 0x4d0c40
cmp dword [0xa1a444], 0
je 0x4d1d33
push 0x6c3ebc
mov dword [0x9f04e4], 1
call fcn.00459730
call fcn.0045a070
push 0x12
lea eax, [ebp - 0x1328]
mov dword [0xa1a42c], 0
push 0
push eax
call fcn.00497290
mov ecx, dword [0xa1a3d8]
add esp, 0x10
test ecx, ecx
mov dword [ebp - 0x1328], 0x20001
mov edx, 0xac44
mov dword [ebp - 0x131c], 0x100004
cmovne edx, dword [0xa1a3e0]
mov dword [ebp - 0x1324], edx
lea eax, [edx*4]
mov dword [ebp - 0x1320], eax
je 0x4d1943
mov eax, dword [0xa1a3dc]
test eax, eax
jle 0x4d1943
mov dword [0xa1a3e4], eax
jmp 0x4d1953
mov eax, 0x88888889
mul edx
shr edx, 4
mov dword [0xa1a3e4], edx
push 0x28
push 0
push 0xa11b34
call fcn.00497290
mov eax, dword [ebp - 0x1324]
mov edx, 0x16
movups xmm0, xmmword [0x752cb8]
mov cx, word [ebp - 0x131a]
mov dword [0xa11b38], eax
mov ax, word [ebp - 0x131c]
mov word [0xa11b40], ax
mov eax, dword [ebp - 0x1320]
mov dword [0xa11b3c], eax
mov dword [0xa11b34], 0x2fffe
mov word [0xa11b42], cx
movups xmmword [0xa11b4c], xmm0
movzx eax, cx
movups xmm0, xmmword [0xa11b34]
push 2
push 0x6c30c8
mov word [0xa11b44], dx
mov word [0xa11b46], cx
mov dword [0xa11b48], 3
movups xmmword [0x9f0498], xmm0
mov word [0x9f04a8], dx
mov dword [0x9f04ac], eax
mov dword [0x9f04b0], 0
mov dword [0x9f04b4], 0
call fcn.00459c80
movzx eax, word [0xa11b42]
push eax
push 0x6c30f0
call fcn.00459c80
movzx eax, word [0xa11b46]
push eax
push 0x6c3118
call fcn.00459c80
push dword [0xa11b38]
push 0x6c3140
call fcn.00459c80
add esp, 0x2c
cmp dword [0x9f04b0], 0
je 0x4d1a4b
push 0x6c3164
jmp 0x4d1a50
push 0x6c3194
call fcn.00459c80
mov eax, dword [0xa1a3e4]
add esp, 4
sub esp, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
mov eax, dword [ebp - 0x1324]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x6bccd4]
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push 0x6c2f5c
call fcn.00459c80
push dword [0xa1a3e4]
push dword [0x9f04b0]
call fcn.00467db0
add esp, 0x14
test eax, eax
jns 0x4d1ad8
call fcn.0045a080
push 0x6c3490
jmp 0x4d1b06
push 0x30000
push 0
push 0x4d5f80
lea eax, [ebp - 0x1328]
push eax
push 0xffffffffffffffff
push 0xa1a3e8
call dword [0xa3b9bc]
test eax, eax
je 0x4d1b27
call fcn.0045a080
push str.waveOutOpen
call fcn.00459730
add esp, 4
mov dword [0xa1a444], 0
mov dword [0x9f04e4], 0
jmp 0x4d0c40
mov esi, 0xa1a3f0
nop dword [eax]
push 0x20
lea eax, [esi - 4]
push 0
push eax
call fcn.00497290
movzx eax, word [ebp - 0x131c]
add esp, 0xc
imul eax, dword [0xa1a3e4]
mov dword [esi + 0x10], 1
mov dword [esi], eax
add esi, 0x20
cmp esi, 0xa1a430
jl 0x4d1b30
mov eax, dword [0xa1a3f0]
push 0x7f9
add eax, eax
push str...........SourceLibraryMainWindowsDxSoundWin.cpp
push eax
call fcn.0045a440
mov ecx, dword [0xa1a3f0]
add esp, 0xc
add ecx, eax
mov dword [0xa1a3ec], eax
mov dword [0xa1a40c], ecx
test eax, eax
jne 0x4d1be5
call fcn.0045a080
push 0x6c3f18
call fcn.00459730
add esp, 4
push dword [0xa1a3e8]
call dword [0xa3b9d0]
push dword [0xa1a3e8]
call dword [0xa3b9c0]
mov dword [0xa1a3e8], 0
mov esi, 1
mov dword [0xa1a444], 0
mov dword [0x9f04e4], 0
jmp 0x4d0c40
xor edi, edi
mov esi, 0xa1a3ec
nop dword [eax]
push 0x20
push esi
push dword [0xa1a3e8]
call dword [0xa3b9c4]
test eax, eax
jne 0x4d1d04
add esi, 0x20
inc edi
cmp esi, 0xa1a42c
jl 0x4d1bf0
mov esi, 0xa1a3ec
nop dword [eax + eax]
cmp esi, 0xa1a42c
jge 0x4d22b8
push dword [0xa1a3e4]
movzx eax, word [0xa11b40]
mov ecx, dword [esi]
push eax
movzx eax, word [0xa11b42]
shr eax, 3
add eax, ecx
push eax
push ecx
call fcn.0046b5c0
add esp, 0x10
push 0x20
push esi
push dword [0xa1a3e8]
call dword [0xa3b9cc]
test eax, eax
jne 0x4d1c6a
add esi, 0x20
jmp 0x4d1c20
call fcn.0045a080
push str.waveOutWrite
call fcn.00459730
add esp, 4
push dword [0xa1a3e8]
call dword [0xa3b9d0]
push 0x20
push 0xa1a3ec
push dword [0xa1a3e8]
call dword [0xa3b9c8]
push 0x20
push 0xa1a40c
push dword [0xa1a3e8]
call dword [0xa3b9c8]
push dword [0xa1a3e8]
call dword [0xa3b9c0]
push dword [0xa1a3ec]
mov dword [0xa1a3e8], 0
call fcn.0045a740
mov dword [0xa1a3ec], 0
mov dword [0xa1a40c], 0
mov dword [0xa1a444], 0
mov esi, 1
mov dword [0x9f04e4], 0
add esp, 4
jmp 0x4d0c34
call fcn.0045a080
push str.waveOutPrepareHeader
call fcn.00459730
add esp, 4
push dword [0xa1a3e8]
call dword [0xa3b9d0]
cmp edi, 1
jne 0x4d1cae
push 0x20
push 0xa1a3ec
jmp 0x4d1ca2
cmp dword [0xa1a43c], 0
jne 0x4d1d58
call fcn.004d2c00
test eax, eax
js 0x4d0c40
mov dword [0xa10e0c], 1
jmp 0x4d2570
cmp dword [0xa1a438], 0
je 0x4d2348
push 0x6c4018
mov dword [ebp - 0x1c74], str.X3DAudio1_7.dll
mov dword [ebp - 0x1c70], 0
mov dword [ebp - 0x1c84], 0x752fb8
mov dword [ebp - 0x1c80], 0x752fc8
mov dword [ebp - 0x1c7c], 0
mov dword [ebp - 0x1c78], 0
call fcn.00459730
add esp, 4
call fcn.0045a070
push 0x6c4040
call edi
mov dword [0xa10df0], eax
test eax, eax
je 0x4d1e9b
push str.XAudio2_8.dll
call fcn.00459730
add esp, 4
push str.XAudio2Create
push dword [0xa10df0]
call ebx
push str.CreateAudioVolumeMeter
push dword [0xa10df0]
mov dword [0xa10df4], eax
call ebx
push str.CreateAudioReverb
push dword [0xa10df0]
mov dword [0xa10df8], eax
call ebx
push str.X3DAudioInitialize
push dword [0xa10df0]
mov dword [0xa10dfc], eax
call ebx
push str.X3DAudioCalculate
push dword [0xa10df0]
mov dword [0xa10e04], eax
call ebx
push 0x6c40f0
mov dword [0xa10e08], eax
call fcn.00459730
add esp, 4
push 0xffffffffffffffff
push 0
push 0xa10e0c
call dword [0xa10df4]
mov esi, eax
test esi, esi
js 0x4d1f17
push 0x6c4160
call fcn.00459730
mov eax, dword [0xa10e0c]
add esp, 4
mov ecx, dword [eax]
push 6
push 0
push 0
push 0
push dword [0x9efaf0]
push 0
push 0xa11abc
push eax
call dword [ecx + 0x1c]
test eax, eax
jns 0x4d22db
push str.XAudio2MasteringVoice
call fcn.00459730
add esp, 4
jmp 0x4d200e
push 0x6c41bc
call fcn.00459730
add esp, 4
mov eax, 0x752fb8
xor esi, esi
nop
push 0xa10e0c
push 0x752fd8
push 0x17
push 0
push eax
call dword [0xa3bb44]
test eax, eax
jns 0x4d1ed5
mov eax, dword [ebp + esi*8 - 0x1c7c]
inc esi
test eax, eax
jne 0x4d1eb0
cmp dword [ebp + esi*8 - 0x1c84], 0
je 0x4d2037
mov eax, 7
sub eax, esi
push eax
push 0x6c41fc
call fcn.00459c80
push 0x6c4214
call fcn.00459730
mov eax, dword [0xa10e0c]
add esp, 0xc
mov ecx, dword [eax]
push 0xffffffffffffffff
push 0
push eax
call dword [ecx + 0x14]
mov esi, eax
test esi, esi
jns 0x4d1f34
push 0x6c4138
call fcn.00459730
push esi
push 0x6c4150
call fcn.00459c00
add esp, 0xc
jmp 0x4d200e
push 0x6b9468
call fcn.00459730
push str.X3DAudio.DLL
call fcn.00459730
add esp, 8
mov eax, str.X3DAudio1_7.dll
xor esi, esi
push eax
call edi
mov dword [0xa10e00], eax
test eax, eax
jne 0x4d1f7c
mov eax, dword [ebp + esi*4 - 0x1c70]
inc esi
test eax, eax
jne 0x4d1f52
push str.1YWe
call fcn.00459730
add esp, 4
jmp 0x4d200e
push 0x6b9468
call fcn.00459730
add esp, 4
push str.X3DAudioInitialize
push dword [0xa10e00]
call ebx
push str.X3DAudioCalculate
push dword [0xa10e00]
mov dword [0xa10e04], eax
call ebx
push 0
push 0
push 0
push dword [0x9efaf0]
mov dword [0xa10e08], eax
mov eax, dword [0xa10e0c]
push 0
push 0xa11ab8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
jns 0x4d2311
push str.XAudio2MasteringVoice
call fcn.00459730
mov eax, dword [0xa10e00]
add esp, 4
test eax, eax
je 0x4d200e
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0xa10e04], 0
mov dword [0xa10e08], 0
mov dword [0xa10e00], 0
mov eax, dword [0xa10e0c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov dword [0xa10e0c], 0
mov esi, 1
mov dword [0xa1a438], 0
jmp 0x4d0c40
push 0x6c42ac
mov dword [0xa10e0c], 0
call fcn.00459730
add esp, 4
mov dword [0xa1a438], 0
mov esi, 1
jmp 0x4d0c40
lea eax, [ebp - 0x1a3c]
push eax
push 0x752d98
push 1
push 0
push 0x752d38
call dword [0xa3bb44]
test eax, eax
jns 0x4d20a7
push str.DirectMusic
call fcn.00459730
add esp, 4
call fcn.0046ad20
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1a3c]
lea edx, [ebp - 0x1a54]
push edx
push 0x752dc8
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x4d20f4
mov eax, dword [ebp - 0x1a3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push str.DirectMusic8
call fcn.00459730
add esp, 4
call fcn.0046ad20
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push 0x134
lea eax, [ebp - 0x1c48]
push 0
push eax
call fcn.00497290
mov eax, dword [ebp - 0x1a54]
lea edx, [ebp - 0x1c48]
add esp, 0xc
mov dword [ebp - 0x1c48], 0x134
xor esi, esi
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
cmp eax, 1
je 0x4d21a0
mov edi, str.Input_port
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x1c14]
push eax
lea eax, [ebp - 0x30c]
push 0x106
push eax
call fcn.00497980
xor eax, eax
cmp dword [ebp - 0x1c30], 1
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x30c]
push eax
mov eax, str.Output_port
push esi
cmovne eax, edi
push eax
push str._s__Device_d:_s
call fcn.00459d10
mov eax, dword [ebp - 0x1a54]
lea edx, [ebp - 0x1c48]
add esp, 0x1c
inc esi
mov ecx, dword [eax]
push edx
push esi
push eax
call dword [ecx + 0xc]
cmp eax, 1
jne 0x4d2140
mov eax, dword [ebp - 0x1a54]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1a3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x28
lea eax, [ebp - 0x1388]
push 0
push eax
call fcn.00497290
mov ecx, dword [0xa10dec]
lea eax, [ebp - 0x1388]
add esp, 0xc
mov dword [ebp - 0x1388], 0x28
cmp dword [0x9f048c], 2
mov esi, 1
mov ebx, 8
mov dword [ebp - 0x1384], 1
mov dword [ebp - 0x1380], 5
push eax
push 0x3f
push 0x40
mov eax, esi
mov dword [ebp - 0x1374], 0xac44
cmove eax, ebx
mov dword [ebp - 0x137c], 0x3f
push eax
push 0
push 0xa10e0c
mov dword [0xa10e0c], 0
lea eax, [ebp - 0x1a3c]
mov dword [ebp - 0x1a3c], 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xb0]
test eax, eax
je 0x4d227a
push str.DirectMusicPerformance
call fcn.00459730
add esp, 4
call fcn.0046ad20
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov eax, dword [0xa10dec]
push 4
push 0x9f0494
push 0x752cf8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
jmp 0x4d2575
call fcn.0045a080
push str.ASIO
call fcn.00459730
mov esi, 1
add esp, 4
lea ebx, [esi + 7]
jmp 0x4d257a
call fcn.0045a080
push str.MME_waveOut
call fcn.00459730
mov dword [0xa10e0c], 1
mov esi, 1
jmp 0x4d256d
mov edi, 0x6c2498
mov esi, 0xa11428
push esi
push edi
call fcn.004d05f0
add esi, 0x38
add esp, 8
add edi, 0x34
cmp esi, 0xa11ab8
jl 0x4d22e5
mov dword [0x9f04e8], 1
mov esi, 1
jmp 0x4d2570
xor esi, esi
lea eax, [esi + 0xa10e10]
push eax
lea eax, [esi + 0x6c2498]
push eax
call fcn.004d07a0
add esi, 0x34
add esp, 8
cmp esi, 0x618
jl 0x4d2313
mov dword [0x9f04e8], 1
mov esi, 1
jmp 0x4d2570
push 0x6c42e4
call fcn.00459730
push 0x6c4318
call fcn.00459730
add esp, 8
push 0xa10e0c
push 0x752d78
push 0x17
push 0
push 0x752d28
call dword [0xa3bb44]
test eax, eax
js 0x4d2b19
push 0x6b9468
call fcn.00459730
push 0x6c4214
call fcn.00459730
mov eax, dword [0xa10e0c]
add esp, 8
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x28]
mov esi, eax
test esi, esi
jns 0x4d23eb
push 0x6c4138
call fcn.00459730
push esi
push 0x6c4150
call fcn.00459c00
add esp, 0xc
mov eax, dword [0xa10e0c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
pop edi
pop esi
mov dword [0xa10e0c], 0
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push 0x6b9468
call fcn.00459730
mov eax, dword [0xa10e0c]
add esp, 4
mov esi, dword [eax]
push 2
call dword [0xa3bbb4]
push eax
push dword [0xa10e0c]
call dword [esi + 0x18]
test eax, eax
je 0x4d2424
push 0x6c43a0
call fcn.00459730
add esp, 4
jmp 0x4d23c2
push 0x24
lea eax, [ebp - 0x13bc]
push 0
push eax
call fcn.00497290
mov eax, dword [0xa1a448]
lea edx, [ebp - 0x13bc]
add esp, 0xc
mov dword [ebp - 0x13bc], 0x24
neg eax
sbb eax, eax
and eax, 8
or eax, 1
mov dword [ebp - 0x13b8], eax
mov eax, dword [0xa10e0c]
push 0
push 0xa1a430
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x4d2485
push 0x6c43e0
call fcn.00459730
add esp, 4
jmp 0x4d23c2
push 0x60
lea eax, [ebp - 0x1ae0]
push 0
push eax
call fcn.00497290
mov eax, dword [0xa10e0c]
lea edx, [ebp - 0x1ae0]
add esp, 0xc
mov dword [ebp - 0x1ae0], 0x60
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x1adc]
mov eax, 0
test cl, 2
mov edi, 0xac44
push 0x12
setne al
mov ebx, 0
inc eax
cmp dword [ebp - 0x1ad4], 0xac44
mov dword [ebp - 0x1c4c], eax
lea eax, [ebp - 0x1360]
cmovb edi, dword [ebp - 0x1ad4]
test cl, 8
push 0
push eax
setne bl
call fcn.00497290
mov eax, dword [ebp - 0x1c4c]
lea ecx, [ebx*8 + 8]
mov word [ebp - 0x1352], cx
lea edx, [ebp - 0x1360]
mov word [ebp - 0x135e], ax
add esp, 0xc
shr cx, 3
mov esi, 1
movzx eax, ax
movzx ecx, cx
imul ecx, eax
mov word [ebp - 0x1360], si
mov dword [ebp - 0x135c], edi
push edx
movzx eax, cx
imul eax, edi
mov word [ebp - 0x1354], cx
mov dword [ebp - 0x1358], eax
mov eax, dword [0xa1a430]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
je 0x4d2570
push 0x6c4430
call fcn.00459730
add esp, 4
mov ebx, 8
mov edi, 2
cmp dword [0xa1a444], 0
jne 0x4d2aa0
cmp dword [0xa1a440], 0
jne 0x4d2aa0
cmp dword [0xa1a43c], 0
je 0x4d2aa0
cmp dword [0xa1a438], 0
je 0x4d2682
cmp dword [0xa10df0], 0
jne 0x4d2632
mov eax, dword [0xa10e0c]
lea edx, [ebp - 0x17e8]
push edx
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
call fcn.0045a070
lea eax, [ebp - 0x15e8]
push eax
push str.Device_Name_:__s
call fcn.00459d10
movzx eax, word [ebp - 0x13e2]
push eax
push 0x6c46d0
call fcn.00459c80
movzx eax, word [ebp - 0x13d6]
push eax
push 0x6c46e4
call fcn.00459c80
push dword [ebp - 0x13e0]
push 0x6c46fc
call fcn.00459c80
add esp, 0x20
call fcn.0045a080
mov edx, dword [ebp - 0x13d0]
movzx eax, word [ebp - 0x13e2]
mov dword [0xa11ac8], edx
jmp 0x4d2661
mov eax, dword [0xa11abc]
push 0xa11ac8
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov edx, dword [0xa11ac8]
xor eax, eax
mov dword [0x9efaec], eax
rol esi, 0
lea ecx, [eax + 0x20]
test esi, edx
je 0x4d265a
inc eax
rol esi, 1
sub ecx, 1
jne 0x4d2655
push 0xa11acc
push ecx
mov dword [esp], 0x43abc000
push edx
mov dword [0x9efaec], eax
call dword [0xa10e04]
add esp, 0xc
jmp 0x4d2aa0
push 0x12
lea eax, [ebp - 0x134c]
push 0
push eax
call fcn.00497290
push 0x24
lea eax, [ebp - 0x1a80]
mov dword [ebp - 0x134c], 0x10001
push 0
push eax
mov dword [ebp - 0x1348], 0x5622
mov dword [ebp - 0x1340], 0x100002
mov dword [ebp - 0x1344], 0xac44
call fcn.00497290
add esp, 0x18
mov dword [ebp - 0x1a80], 0x24
cmp dword [0xa1a448], 0
lea edx, [ebp - 0x1a80]
mov eax, edi
cmovne eax, ebx
or eax, 0x180e0
mov dword [ebp - 0x1a7c], eax
movzx eax, word [ebp - 0x1340]
imul eax, eax, 0x2328
push 0
push 0xa1a434
push edx
mov dword [ebp - 0x1a78], eax
lea eax, [ebp - 0x134c]
mov dword [ebp - 0x1a70], eax
mov eax, dword [0xa10e0c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x4d27b9
push 0x24
lea eax, [ebp - 0x1a80]
push 0
push eax
call fcn.00497290
movzx eax, word [ebp - 0x1340]
lea edx, [ebp - 0x1a80]
add esp, 0xc
mov dword [ebp - 0x1a80], 0x24
cmp dword [0xa1a448], 0
cmovne edi, ebx
imul eax, eax, 0x2328
push 0
or edi, 0xc0
push 0xa1a434
mov dword [ebp - 0x1a7c], edi
mov dword [ebp - 0x1a78], eax
lea eax, [ebp - 0x134c]
mov dword [ebp - 0x1a70], eax
mov eax, dword [0xa10e0c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
je 0x4d27b9
push 0x6c471c
call fcn.00459730
add esp, 4
mov dword [0xa1a434], 0
jmp 0x4d2876
mov eax, dword [0xa1a434]
lea edx, [ebp - 0x1334]
push 0
push edx
lea edx, [ebp - 0x1a58]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x1338]
push edx
lea edx, [ebp - 0x1a5c]
push edx
push dword [ebp - 0x1a78]
push 0
push eax
call dword [ecx + 0x2c]
test eax, eax
je 0x4d2810
push 0x6c4740
call fcn.00459730
mov eax, dword [0xa1a434]
add esp, 4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [0xa1a434], 0
push dword [ebp - 0x1338]
push 0
push dword [ebp - 0x1a5c]
call fcn.00497290
mov edx, dword [ebp - 0x1a58]
add esp, 0xc
test edx, edx
je 0x4d2847
push dword [ebp - 0x1334]
push 0
push edx
call fcn.00497290
mov edx, dword [ebp - 0x1a58]
add esp, 0xc
push dword [ebp - 0x1334]
mov eax, dword [0xa1a434]
push edx
push dword [ebp - 0x1338]
push dword [ebp - 0x1a5c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [0xa1a434]
push 1
push 0
push 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
cmp dword [0xa10e0c], 0
je 0x4d2aa0
call fcn.0045a070
push 0x60
lea eax, [ebp - 0x1ae0]
push 0
push eax
call fcn.00497290
mov eax, dword [0xa10e0c]
lea edx, [ebp - 0x1ae0]
add esp, 0xc
mov dword [ebp - 0x1ae0], 0x60
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
push 0x6c4764
call fcn.00459730
add esp, 4
call fcn.0045a070
push str.DSound.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
jne 0x4d28f6
push str.DSOUND.DLL
call fcn.00459730
add esp, 4
call fcn.0045a080
call fcn.0045a080
jmp 0x4d2aa0
push str.DirectSoundEnumerateW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4d2914
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x6c47e8
jmp 0x4d28df
push 0
push 0x4d05d0
call eax
call fcn.0045a080
mov eax, dword [ebp - 0x1ad8]
sub esp, 0x10
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
mov eax, dword [ebp - 0x1ad4]
divsd xmm0, qword [0x6b8cb8]
movsd qword [esp + 8], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
divsd xmm0, qword [0x6b8cb8]
movsd qword [esp], xmm0
push 0x6c4838
call fcn.00459c80
mov eax, dword [ebp - 0x1a98]
add esp, 4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
mov eax, dword [ebp - 0x1a9c]
mulsd xmm0, qword [0x6c4b10]
movsd qword [esp + 8], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x6b8ee0]
mulsd xmm0, qword [0x6c4b10]
movsd qword [esp], xmm0
push 0x6c4890
call fcn.00459c80
push 0x6c48e0
call fcn.00459730
mov ecx, dword [ebp - 0x1adc]
mov esi, 0x6c48fc
test cl, 4
mov ebx, 0x6c4904
mov eax, esi
cmove eax, ebx
test cl, 8
push eax
mov eax, esi
cmove eax, ebx
push eax
push str.__Primary____16bit___s__8bit___s
call fcn.00459d10
test dword [ebp - 0x1adc], 0x400
mov eax, esi
cmove eax, ebx
test dword [ebp - 0x1adc], 0x800
push eax
mov eax, esi
cmove eax, ebx
push eax
push str.__Secondary__16bit___s__8bit___s__n
call fcn.00459d10
push str._R_u
call fcn.00459730
mov ecx, dword [ebp - 0x1adc]
mov eax, esi
test cl, 2
cmove eax, ebx
test cl, 1
push eax
mov eax, esi
cmove eax, ebx
push eax
push str.__Primary____MONO___s___STEREO___s
call fcn.00459d10
add esp, 0x40
mov eax, esi
test dword [ebp - 0x1adc], 0x200
cmove eax, ebx
push eax
test dword [ebp - 0x1adc], 0x100
cmove esi, ebx
push esi
push str.__Secondary__MONO___s___STEREO___s__n
call fcn.00459d10
add esp, 0xc
call fcn.0045a080
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movups xmm0, xmmword [0x6c2ab0]
pop edi
pop esi
movups xmmword [0xa11ae0], xmm0
mov dword [0xa11b28], 0
xor eax, eax
movups xmm0, xmmword [0x6c2ac0]
mov dword [0xa11b2c], 0
mov dword [0xa11b10], 0x3f800000
movups xmmword [0xa11af0], xmm0
mov dword [0xa11b14], 0
xorps xmm0, xmm0
mov dword [0xa11b30], 0xa11ae0
movups xmmword [0xa11b18], xmm0
pop ebx
movaps xmm0, xmmword [0x7367b0]
movups xmmword [0xa11b00], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push 0x6c4360
mov dword [0xa10e0c], 0
call fcn.00459730
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
or eax, 0xffffffff
pop edi
pop esi
pop ebx
call fcn.005c33e1
mov esp, ebp
pop ebp
ret