Function at 0x40d190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push esi
push edi
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0x20c]
add eax, 0x715fc
mov dword [ebp - 0x208], eax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x71b7c
mov dword [ebp - 0x204], ecx
mov edx, dword [ebp - 0x20c]
add edx, 0x71edc
mov dword [ebp - 0x200], edx
mov eax, dword [ebp - 0x20c]
add eax, 0x7215c
mov dword [ebp - 0x1fc], eax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x72724
mov dword [ebp - 0x1f8], ecx
mov edx, dword [ebp - 0x20c]
add edx, 0x735ac
mov dword [ebp - 0x1f4], edx
mov dword [ebp - 0x1f0], 0
mov dword [ebp - 0x1ec], 0
mov ecx, 0xb
mov esi, str.left_effect_equalizer
lea edi, [ebp - 0x1e4]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], eax
mov ecx, 0xd
mov esi, str.left_effect_bassmanagement
lea edi, [ebp - 0x1a8]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
mov dword [ebp - 0x172], ecx
mov word [ebp - 0x16e], cx
mov ecx, 0xc
mov esi, str.left_effect_dts_surround
lea edi, [ebp - 0x16c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edx, edx
mov dword [ebp - 0x13a], edx
mov dword [ebp - 0x136], edx
mov word [ebp - 0x132], dx
mov ecx, 0xc
mov esi, str.left_effect_dts_connect
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x100], eax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], eax
mov ecx, 0xa
mov esi, str.left_effect_dolby_on
lea edi, [ebp - 0xf4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor ecx, ecx
mov dword [ebp - 0xca], ecx
mov dword [ebp - 0xc6], ecx
mov dword [ebp - 0xc2], ecx
mov dword [ebp - 0xbe], ecx
mov word [ebp - 0xba], cx
mov ecx, 0xb
mov esi, str.left_effect_kalaok_on
lea edi, [ebp - 0xb8]
rep movsd dword es:[edi], dword [esi]
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
mov dword [ebp - 0x80], edx
mov ax, word [0x52f894]
mov word [ebp - 0x7c], ax
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x7a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x52f898]
mov word [ebp - 0x40], cx
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0x3e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [ebp - 0x20c]
add ecx, 0x1c18
call fcn.0040d6d0
mov dword [ebp - 4], eax
mov dword [ebp - 0x1e8], 1
jmp 0x40d37b
mov edx, dword [ebp - 0x1e8]
add edx, 1
mov dword [ebp - 0x1e8], edx
mov eax, dword [ebp - 0x1e8]
cmp eax, dword [ebp - 4]
ja 0x40d3a7
mov ecx, dword [ebp - 0x1e8]
push ecx
mov edx, dword [ebp - 0x20c]
push edx
mov ecx, dword [ebp - 0x20c]
add ecx, 0x1c18
call fcn.004ca991
jmp 0x40d36c
mov dword [ebp - 4], 1
mov dword [ebp - 0x1e8], 0
jmp 0x40d3c9
mov eax, dword [ebp - 0x1e8]
add eax, 1
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 8
jae 0x40d4c2
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20c]
mov ecx, dword [edx + ecx*4 + 0x72674]
cmp ecx, dword [eax + 0x7266c]
jne 0x40d4bd
mov edx, dword [ebp - 0x1e8]
cmp dword [ebp + edx*4 - 0x208], 0
je 0x40d4bd
mov eax, dword [ebp - 0x20c]
add eax, 0x2820
push eax
push 0x104
mov ecx, dword [ebp - 0x20c]
add ecx, 0x948
push ecx
push 0x52f89c
mov edx, dword [ebp - 0x1e8]
imul edx, edx, 0x3c
lea eax, [ebp + edx - 0x1e4]
push eax
push 0x4eb85c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, 1
test ecx, ecx
je 0x40d463
mov dword [ebp - 0x210], 0
jmp 0x40d47e
mov edx, dword [ebp - 0x20c]
add edx, 0x948
push edx
call fcn.0040d5a0
add esp, 4
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp + ecx*4 - 0x208]
push edx
mov eax, dword [ebp - 0x20c]
add eax, 0x948
push eax
mov ecx, dword [ebp - 0x20c]
push ecx
mov ecx, dword [ebp - 0x20c]
add ecx, 0x1c18
call fcn.004ca943
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x40d3ba
pop edi
pop esi
mov esp, ebp
pop ebp
ret