Function at 0x4136c5
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x714cc], 0
je 0x4136e8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x71540
mov dword [ebp - 0x30], ecx
jmp 0x4136f4
mov edx, dword [ebp - 0x2c]
add edx, 0x71528
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
push 1
push 0x66
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7218c
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x714cc], 0
je 0x41376b
mov edx, dword [ebp - 4]
cmp dword [edx], 0
je 0x413739
mov eax, dword [ebp - 0x2c]
add eax, 0x7222c
mov dword [ebp - 0x34], eax
jmp 0x413745
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7224c
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x6f6a8]
push ecx
push 0x66
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x714cc], 0
je 0x4137a0
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x714cc], 0
je 0x413797
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x6f6a8], 0
je 0x413797
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x4137a0
mov dword [ebp - 0x38], 0
jmp 0x4137a7
mov dword [ebp - 0x38], 1
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 4], 0
je 0x4137c4
mov edx, dword [ebp - 0x2c]
add edx, 0x7228c
mov dword [ebp - 0x3c], edx
jmp 0x4137cf
mov eax, dword [ebp - 0x2c]
add eax, 0x722ac
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
push edx
push 0x66
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
cmp dword [ebp - 8], 0
je 0x413807
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x413807
mov dword [ebp - 0x40], 1
jmp 0x41380e
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x41382a
mov eax, dword [ebp - 0x2c]
add eax, 0x722ec
mov dword [ebp - 0x44], eax
jmp 0x413836
mov ecx, dword [ebp - 0x2c]
add ecx, 0x722cc
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
push eax
push 0x66
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
mov ecx, dword [ebp - 4]
cmp dword [ecx + 8], 0
je 0x41386d
mov edx, dword [ebp - 0x2c]
add edx, 0x7230c
mov dword [ebp - 0x48], edx
jmp 0x413878
mov eax, dword [ebp - 0x2c]
add eax, 0x7232c
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 8]
push edx
push 0x66
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
cmp dword [ebp - 8], 0
je 0x4138b0
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x4138b0
mov dword [ebp - 0x4c], 1
jmp 0x4138b7
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x714cc], 0
je 0x4138d6
mov eax, dword [ebp - 0x2c]
add eax, 0x7244c
mov dword [ebp - 0x50], eax
jmp 0x4138e2
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7242c
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
push 0xa
mov eax, dword [ebp - 0x2c]
add eax, 0x7236c
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x7240c
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004130c6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x714cc], 0
je 0x413935
mov eax, dword [ebp - 0x2c]
add eax, 0x7254c
mov dword [ebp - 0x54], eax
jmp 0x413941
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7252c
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
push 0xb
mov eax, dword [ebp - 0x2c]
add eax, 0x7246c
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x7250c
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004130c6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x714cc], 0
je 0x413994
mov eax, dword [ebp - 0x2c]
add eax, 0x7264c
mov dword [ebp - 0x58], eax
jmp 0x4139a0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x7262c
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
push 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0x7256c
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x7260c
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.004130c6
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x6f69c], 0
je 0x413a2a
mov eax, dword [ebp - 0x2c]
cmp dword [eax + 0x714cc], 0
je 0x413a00
mov ecx, dword [ebp - 0x2c]
add ecx, 0x721ec
mov dword [ebp - 0x5c], ecx
jmp 0x413a0c
mov edx, dword [ebp - 0x2c]
add edx, 0x7220c
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
push 1
push 0x66
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00412cc3
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x714cc], 0
je 0x413ab1
mov edx, dword [ebp - 0x2c]
add edx, 0x2820
push edx
push 0x104
mov eax, dword [ebp - 0x2c]
add eax, 0x948
push eax
push 0x4ef06c
push 0x4ef0ac
push 0x4ef0f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xd
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1b64]
call fcn.004caa04
mov ecx, dword [ebp - 0x2c]
add ecx, 0x2820
push ecx
push 0x104
mov edx, dword [ebp - 0x2c]
add edx, 0x948
push edx
push str.Switch_to_Page_for_Speaker
push str.middle_effect_dts_con_pageswitch_spk
push 0x4ef188
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x413af7
push 0xd
mov eax, dword [ebp - 0x2c]
push eax
push 0x52f944
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx + 0x1b64]
call fcn.004caa04
mov edx, dword [ebp - 0x2c]
add edx, 0x2820
push edx
push 0x104
mov eax, dword [ebp - 0x2c]
add eax, 0x948
push eax
push str.Switch_to_Page_for_S_PDIF
push str.middle_effect_dts_con_pageswitch_spdk
push 0x4ef21c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xe
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x2c]
add edx, 0x948
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x1b64]
call fcn.004caa04
mov ecx, dword [ebp - 0x2c]
call fcn.00414569
mov esp, ebp
pop ebp
ret 8