Function at 0x40e4d3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov dword [ebp - 0x220], ecx
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x72794], 0
jne 0x40e9be
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 0x72798], 0
je 0x40e929
push 0xcc0020
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72718]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x72714]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x72730]
sub eax, dword [edx + 0x72728]
add eax, 1
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x7272c]
sub eax, dword [edx + 0x72724]
add eax, 1
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x72728]
sub eax, dword [edx + 0x19ac]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov eax, dword [ecx + 0x72724]
sub eax, dword [edx + 0x19a8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00404520
mov ecx, dword [ebp - 0x220]
cmp dword [ecx + 0x1af0], 0
je 0x40e761
push 0x52fa5c
push 0x104
mov edx, dword [ebp - 0x220]
add edx, 0x948
push edx
push 0x52f910
push str.dolby_pl_music_dim
push 0x4ecbd8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x220]
add eax, 0x72804
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x948
push ecx
call fcn.004a87d4
add esp, 8
push 0x52fa5c
push 0x104
mov edx, dword [ebp - 0x220]
add edx, 0x948
push edx
push 0x52f914
push str.dolby_pl_music_cw
push 0x4ecc18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x220]
add eax, 0x72844
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x948
push ecx
call fcn.004a87d4
add esp, 8
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov ecx, dword [ecx + 0x72840]
sub ecx, dword [edx + 0x72838]
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + eax + 0x72974]
imul eax, ecx
xor edx, edx
mov ecx, 0xe
div ecx
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72818]
sub eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x72818], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72820]
sub eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x72820], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x7279c]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x220]
mov ecx, dword [ecx + 0x72880]
sub ecx, dword [edx + 0x72878]
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + eax + 0x72978]
imul eax, ecx
xor edx, edx
mov ecx, 7
div ecx
mov dword [ebp - 0x21c], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72858]
sub eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x72858], eax
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72860]
sub eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ecx + 0x72860], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x220]
call fcn.0040e9c4
push 0xcc0020
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x72758]
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x72754]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax + 0x72770]
sub edx, dword [ecx + 0x72768]
add edx, 1
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax + 0x7276c]
sub edx, dword [ecx + 0x72764]
add edx, 1
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax + 0x72768]
sub edx, dword [ecx + 0x19ac]
push edx
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x220]
mov edx, dword [eax + 0x72764]
sub edx, dword [ecx + 0x19a8]
push edx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov eax, dword [ebp - 0x220]
add eax, 0x72764
push eax
lea ecx, [ebp - 0x10]
call fcn.00411650
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp - 0x220]
add ecx, 0x737b0
call fcn.0040d5e0
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 0x737b0
call fcn.00404820
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x19ac]
neg eax
add eax, 4
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x19a8]
neg edx
add edx, 4
push edx
lea ecx, [ebp - 0x10]
call fcn.004040f0
push 0
lea eax, [ebp - 0x10]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x68]
mov ecx, dword [ebp - 0x220]
add ecx, 0x72784
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404110
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x19ac]
neg eax
add eax, 4
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx + 0x19a8]
neg edx
add edx, 4
push edx
lea ecx, [ebp - 0x10]
call fcn.004040f0
mov eax, dword [ebp - 0x220]
add eax, 0x2820
push eax
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push 0x52f918
push str.dolby_dev_txt
push 0x4ecc50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0
lea edx, [ebp - 0x10]
push edx
push 0xffffffffffffffff
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x68]
mov eax, dword [ebp - 0x220]
cmp dword [eax + 0x1af0], 0
je 0x40e924
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x220]
call fcn.0040f856
jmp 0x40e9be
push 0xcc0020
mov eax, dword [ebp - 0x220]
mov ecx, dword [eax + 0x72738]
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [edx + 0x72734]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
mov ecx, dword [edx + 0x72750]
sub ecx, dword [eax + 0x72748]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
mov ecx, dword [edx + 0x7274c]
sub ecx, dword [eax + 0x72744]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
mov ecx, dword [edx + 0x72748]
sub ecx, dword [eax + 0x19ac]
push ecx
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x220]
mov ecx, dword [edx + 0x72744]
sub ecx, dword [eax + 0x19a8]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00404520
mov esp, ebp
pop ebp
ret 8