Function at 0x49d690
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
call dword [sym.imp.OpenAL32.dll_alcOpenDevice]
add esp, 4
mov dword [0xe5e050], eax
push 0
mov eax, dword [0xe5e050]
push eax
call dword [sym.imp.OpenAL32.dll_alcCreateContext]
add esp, 8
mov dword [0xe5e054], eax
mov ecx, dword [0xe5e054]
push ecx
call dword [sym.imp.OpenAL32.dll_alcMakeContextCurrent]
add esp, 4
call fcn.0049d030
mov dword [0xe649d0], 0xe649cc
mov edx, dword [0xe649d0]
mov dword [0xe649cc], edx
mov dword [0xe64a0c], 0
mov dword [0xe649c8], 0
mov dword [ebp - 8], 0x7736f8
mov dword [ebp - 4], 0xe5f360
push 0x71b304
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx]
push eax
call fcn.006cc170
add esp, 8
test eax, eax
je 0x49d98b
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 2
mov edx, dword [ebp - 4]
movss xmm0, dword [0x7169b0]
movss dword [edx + 0x20], xmm0
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx]
push ecx
push str.null.wav
call fcn.006e37b0
add esp, 8
test eax, eax
je 0x49d8f5
push 0x716764
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax]
push edx
call fcn.0049ce80
add esp, 4
push eax
call fcn.00401720
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49d8c1
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx]
mov dword [edx + 8], ecx
push 5
push str.music
mov edx, 4
imul eax, edx, 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax]
push edx
call fcn.006e3a90
add esp, 0xc
test eax, eax
je 0x49d834
push 0xc
push str.generalmusic
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx]
push eax
call fcn.006e3a90
add esp, 0xc
test eax, eax
jne 0x49d891
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx]
mov dword [ebp - 0x14], ecx
push str.Club1
mov edx, dword [ebp - 0x14]
push edx
call fcn.0067f590
add esp, 8
test eax, eax
jne 0x49d891
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x18], eax
push str.Acid
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0067f590
add esp, 8
test eax, eax
jne 0x49d891
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 1
push 2
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.006cef50
add esp, 0xc
mov edx, dword [ebp - 0x10]
push edx
call fcn.006d0550
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 0x10]
push edx
call fcn.00401700
add esp, 4
jmp 0x49d8f5
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx]
push eax
call fcn.0049ce80
add esp, 4
push eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx]
push ecx
push str.NOT_FOUND:__s___s__n
call fcn.004017c0
add esp, 0xc
mov edx, dword [0xe649c8]
add edx, 1
mov dword [0xe649c8], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x49d974
push str.data_sfxpowerlvl.ini
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
push str.PowerLevels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x49d974
mov eax, dword [ebp - 0xc]
shl eax, 2
mov dword [ebp - 0xc], eax
cvtsi2ss xmm0, dword [ebp - 0xc]
push ecx
movss dword [esp], xmm0
mov eax, dword [ebp - 4]
sub eax, 0xe5f360
cdq
mov ecx, 0x28
idiv ecx
push eax
call fcn.0049ea70
add esp, 8
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
push str.Setting__s_gain_to__d_dB_n
call fcn.004017c0
add esp, 0xc
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
jmp 0x49d709
cmp dword [0xe649c8], 0x228
jle 0x49d9ae
push 0xcd
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenDDLibrarySourceMFX.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
mov dword [ebp - 4], 0xe649a0
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 4]
mov byte [edx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 2
mov edx, dword [ebp - 4]
movss xmm0, dword [0x7169b0]
movss dword [edx + 0x20], xmm0
mov eax, dword [ebp - 4]
mov byte [eax + 0x24], 0
push str.Audio
push 0x7f
push str.ambient_volume
call fcn.005b4320
add esp, 0xc
cvtsi2ss xmm0, eax
divss xmm0, dword [0x71b458]
mov ecx, 4
imul edx, ecx, 0
movss dword [edx + 0xe64a00], xmm0
push str.Audio
push 0x7f
push str.music_volume
call fcn.005b4320
add esp, 0xc
cvtsi2ss xmm0, eax
divss xmm0, dword [0x71b458]
mov eax, 4
shl eax, 0
movss dword [eax + 0xe64a00], xmm0
push str.Audio
push 0x7f
push str.fx_volume
call fcn.005b4320
add esp, 0xc
cvtsi2ss xmm0, eax
divss xmm0, dword [0x71b458]
mov ecx, 4
shl ecx, 1
movss dword [ecx + 0xe64a00], xmm0
mov esp, ebp
pop ebp
ret