Function at 0x41065f
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov dword [ebp - 0x248], ecx
cmp dword [ebp + 8], 0
jne 0x4106d4
mov dword [ebp - 4], 0
jmp 0x410686
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x4106c2
mov ecx, dword [ebp - 0x248]
add ecx, 0x737b0
call fcn.004047c0
cmp dword [ebp - 4], eax
jge 0x4106c2
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.004110dc
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x248]
call fcn.00411203
jmp 0x41067d
push 0
mov ecx, dword [ebp - 0x248]
call fcn.004111ac
jmp 0x410a60
mov dword [ebp - 4], 0
jmp 0x4106e6
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 2
jge 0x410a60
push 0x38
push 0
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004ba860
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x248]
call fcn.00410e56
mov ecx, dword [ebp - 4]
push ecx
push str.bEnableProLogic__d
lea edx, [ebp - 0x244]
push edx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x244]
push ecx
push 0x4ecd50
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x410763
mov edx, dword [ebp - 4]
imul edx, edx, 0x14
mov eax, dword [ebp - 0x248]
mov dword [eax + edx + 0x7296c], 0
jmp 0x41077a
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x7296c], 1
mov eax, dword [ebp - 4]
push eax
push str.bPanoramaMode__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x244]
push eax
push 0x4ecd90
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4107ca
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x7297c], 0
jmp 0x4107e1
mov eax, dword [ebp - 4]
imul eax, eax, 0x14
mov ecx, dword [ebp - 0x248]
mov dword [ecx + eax + 0x7297c], 1
mov edx, dword [ebp - 4]
push edx
push str.nDimension__d
lea eax, [ebp - 0x244]
push eax
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0x4ecdc8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x72974], eax
mov eax, dword [ebp - 4]
push eax
push str.nCenterWidth__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x244]
push eax
push 0x4ece04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x72978], eax
mov eax, dword [ebp - 4]
push eax
push str.ePrologicMode__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov edx, dword [ebp - 0x24]
push edx
lea eax, [ebp - 0x244]
push eax
push 0x4ece44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x72970], eax
mov eax, dword [ebp - 4]
push eax
push str.bEnableHVS__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x244]
push eax
push 0x4ece7c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x410903
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x7357c], 0
jmp 0x41091a
mov eax, dword [ebp - 4]
shl eax, 4
mov ecx, dword [ebp - 0x248]
mov dword [ecx + eax + 0x7357c], 1
mov edx, dword [ebp - 4]
push edx
push str.eHVSMode__d
lea eax, [ebp - 0x244]
push eax
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
mov ecx, dword [ebp - 0x30]
push ecx
lea edx, [ebp - 0x244]
push edx
push 0x4eceb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x73580], eax
mov eax, dword [ebp - 4]
push eax
push str.eVirtualSpeakerMode__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0
lea edx, [ebp - 0x244]
push edx
push 0x4ecefc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x73584], eax
mov eax, dword [ebp - 4]
push eax
push str.eHeadphoneMode__d
lea ecx, [ebp - 0x244]
push ecx
call fcn.004ba7bf
add esp, 0xc
push 0x52fa5c
push 0
lea edx, [ebp - 0x244]
push edx
push 0x4ecf3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 4]
shl ecx, 4
mov edx, dword [ebp - 0x248]
mov dword [edx + ecx + 0x73588], eax
push 0x52fa5c
push 0
push str.bDolbyAc3Enable
push 0x4ecf78
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0x248]
mov dword [ecx + 0x727a0], eax
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0x1af0], 0
jne 0x410a2a
mov eax, dword [ebp - 0x248]
mov dword [eax + 0x727a0], 0
cmp dword [ebp - 4], 0
jne 0x410a41
mov ecx, dword [ebp - 0x248]
mov edx, dword [ecx + 0x727a0]
mov dword [ebp - 8], edx
jmp 0x410a48
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x248]
call fcn.0041130c
jmp 0x4106dd
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0x727a0], 0
je 0x410a7f
mov eax, dword [ebp - 0x248]
mov dword [eax + 0x1a0c], 1
mov esp, ebp
pop ebp
ret 4