Function at 0x40ddd8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0x214], ecx
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
push 0x52f8e4
push 0x4ec814
push 0x4ec83c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x72994
push ecx
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
call fcn.004a87d4
add esp, 8
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
push 0x52f8e8
push str.dolby_vsh_txt_rect
push 0x4ec880
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x72b34
push ecx
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
call fcn.004a87d4
add esp, 8
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
push 0x52f8ec
push 0x4ec89c
push 0x4ec8c8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x729b4
push ecx
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
call fcn.004a87d4
add esp, 8
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
push 0x52f8f0
push str.dolby_vsh_combobox
push 0x4ec90c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 0x214]
add ecx, 0x729d4
push ecx
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
call fcn.004a87d4
add esp, 8
mov dword [ebp - 4], 0
jmp 0x40df2d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x40e069
mov ecx, dword [ebp - 4]
push ecx
push str.dolby_vsh_vs_subitem_d_on
lea edx, [ebp - 0x20c]
push edx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
push 0x52f8f4
lea ecx, [ebp - 0x20c]
push ecx
push 0x4ec95c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, dword [ebp - 4]
shl edx, 5
mov eax, dword [ebp - 0x214]
lea ecx, [eax + edx + 0x729f4]
push ecx
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
call fcn.004a87d4
add esp, 8
mov eax, dword [ebp - 4]
push eax
push str.dolby_vsh_vs_subitem_d_off
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
push 0x52f8f8
lea eax, [ebp - 0x20c]
push eax
push 0x4ec9b0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 4]
shl ecx, 5
mov edx, dword [ebp - 0x214]
lea eax, [edx + ecx + 0x72a34]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x948
push ecx
call fcn.004a87d4
add esp, 8
mov edx, dword [ebp - 4]
push edx
push str.dolby_vsh_vs_subitem_d_txt
lea eax, [ebp - 0x20c]
push eax
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x208
mov edx, dword [ebp - 0x214]
lea eax, [edx + ecx + 0x72b54]
push eax
push 0x52f8fc
lea ecx, [ebp - 0x20c]
push ecx
push 0x4eca04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x40df24
mov dword [ebp - 4], 0
jmp 0x40e07b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jge 0x40e1b7
mov eax, dword [ebp - 4]
push eax
push str.dolby_vsh_hp_subitem_d_on
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov edx, dword [ebp - 0x214]
add edx, 0x948
push edx
push 0x52f900
lea eax, [ebp - 0x20c]
push eax
push 0x4eca54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [ebp - 4]
shl ecx, 5
mov edx, dword [ebp - 0x214]
lea eax, [edx + ecx + 0x72a74]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x948
push ecx
call fcn.004a87d4
add esp, 8
mov edx, dword [ebp - 4]
push edx
push str.dolby_vsh_hp_subitem_d_off
lea eax, [ebp - 0x20c]
push eax
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov ecx, dword [ebp - 0x214]
add ecx, 0x948
push ecx
push 0x52f904
lea edx, [ebp - 0x20c]
push edx
push 0x4ecaa8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 4]
shl eax, 5
mov ecx, dword [ebp - 0x214]
lea edx, [ecx + eax + 0x72ad4]
push edx
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
call fcn.004a87d4
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
push str.dolby_vsh_hp_subitem_d_txt
lea edx, [ebp - 0x20c]
push edx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov eax, dword [ebp - 4]
imul eax, eax, 0x208
mov ecx, dword [ebp - 0x214]
lea edx, [ecx + eax + 0x72f64]
push edx
push 0x52f908
lea eax, [ebp - 0x20c]
push eax
push 0x4ecafc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x40e072
mov dword [ebp - 4], 0
jmp 0x40e1c9
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 2
jge 0x40e2c7
mov edx, dword [ebp - 4]
push edx
push str.dolby_vsh_combo_item_d
lea eax, [ebp - 0x20c]
push eax
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0x104
mov ecx, dword [ebp - 0x214]
add ecx, 0x948
push ecx
push 0x52f90c
lea edx, [ebp - 0x20c]
push edx
push 0x4ecb48
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [ebp - 0x214]
add eax, 0x948
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 0x73738
call fcn.0040d610
mov ecx, dword [ebp - 4]
push ecx
push str.dolby_vsh_combo_value_d
lea edx, [ebp - 0x20c]
push edx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x4ecb94
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x73738
call fcn.004116c0
mov eax, dword [ebp - 0x214]
mov ecx, dword [eax + 0x7279c]
shl ecx, 4
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x210]
cmp eax, dword [edx + ecx + 0x73580]
jne 0x40e2c2
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x214]
add ecx, 0x73738
call fcn.004047f0
jmp 0x40e1c0
push 1
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
mov ecx, dword [edx + 0x729f0]
sub ecx, dword [eax + 0x729e8]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x214]
mov ecx, dword [edx + 0x729ec]
sub ecx, dword [eax + 0x729e4]
push ecx
mov edx, dword [ebp - 0x214]
mov eax, dword [edx + 0x729e8]
push eax
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0x729e4]
push edx
mov ecx, dword [ebp - 0x214]
add ecx, 0x73738
call fcn.004cf94d
mov esp, ebp
pop ebp
ret