Function at 0x456880
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46935f
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x486bd8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x148], ecx
mov ecx, dword [ebp - 0x148]
call fcn.00404700
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x148]
mov dword [eax], vtable.CGraphicsBtn.0
mov ecx, dword [ebp - 0x148]
add ecx, 0xc0
call fcn.004046c0
mov ecx, dword [ebp - 0x148]
add ecx, 0xc8
call fcn.004046c0
mov ecx, dword [ebp - 0x148]
add ecx, 0xd0
call fcn.004046c0
mov ecx, dword [ebp - 0x148]
add ecx, 0xd8
call fcn.004046c0
mov ecx, dword [ebp - 0x148]
add ecx, 0xe4
call fcn.00451880
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x148]
mov byte [ecx + 0x210], 0
mov edx, dword [ebp - 0x148]
fldz
fstp qword [edx + 0x218]
mov eax, dword [ebp - 0x148]
mov dword [eax + 0xb0], 0
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0xb4], 0xffffffff
mov edx, dword [ebp - 0x148]
mov dword [edx + 0xb8], 0xffffffff
mov eax, dword [ebp - 0x148]
mov byte [eax + 0xbd], 0
mov ecx, dword [ebp - 0x148]
mov byte [ecx + 0xbe], 0
mov edx, dword [ebp - 0x148]
mov byte [edx + 0xbc], 0
mov eax, dword [ebp - 0x148]
fld qword [0x478c78]
fstp qword [eax + 0x68]
mov ecx, dword [ebp - 0x148]
fldz
fstp qword [ecx + 0x78]
mov edx, dword [ebp - 0x148]
fld qword [0x478c40]
fstp qword [edx + 0x70]
mov eax, dword [ebp - 0x148]
fldz
fstp qword [eax + 0x80]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x148]
fld qword [ecx + 0x68]
fsub qword [edx + 0x78]
mov eax, dword [ebp - 0x148]
fidiv dword [eax + 0x88]
mov ecx, dword [ebp - 0x148]
fstp qword [ecx + 0x58]
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x148]
fld qword [edx + 0x70]
fsub qword [eax + 0x80]
mov ecx, dword [ebp - 0x148]
fidiv dword [ecx + 0x8c]
mov edx, dword [ebp - 0x148]
fstp qword [edx + 0x60]
mov eax, dword [ebp - 0x148]
fldz
fstp qword [eax + 0x90]
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x148]
fld qword [edx + 0x80]
fstp qword [ecx + 0x98]
push 0x14
call fcn.00401130
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x140], 0
je 0x456a75
mov ecx, dword [ebp - 0x140]
call fcn.00414f18
mov dword [ebp - 0x14c], eax
jmp 0x456a7f
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x148]
mov edx, dword [ebp - 0x13c]
mov dword [ecx + 0xe0], edx
push 0x475120
lea ecx, [ebp - 0x120]
call fcn.004021a0
mov byte [ebp - 4], 3
push 0x475130
lea ecx, [ebp - 0x134]
call fcn.004021a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00403910
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.00403910
mov byte [ebp - 4], 6
lea eax, [ebp - 0x124]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x456b87
lea ecx, [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
jl 0x456b87
lea eax, [ebp - 0x11c]
push eax
push 0x475140
lea ecx, [ebp - 0x12c]
push ecx
call fcn.00403dd0
add esp, 0xc
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x144]
push ecx
call fcn.004017d0
add esp, 0xc
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x154], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x154]
push eax
lea ecx, [ebp - 0x120]
call fcn.004026f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x144]
call fcn.00403950
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0
push 0x475148
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0x64
push 0x475158
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0x64
push 0x475168
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x130], eax
movzx ecx, byte [ebp - 0x10]
movzx edx, byte [ebp - 0x128]
shl edx, 8
or ecx, edx
movzx eax, byte [ebp - 0x130]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 0x148]
mov dword [edx + 0xa0], ecx
push 0x475178
lea ecx, [ebp - 0x134]
call fcn.00403450
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0xff
push 0x475198
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0
push 0x4751a8
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0xff
push 0x4751b8
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x130], eax
movzx eax, byte [ebp - 0x10]
movzx ecx, byte [ebp - 0x128]
shl ecx, 8
or eax, ecx
movzx edx, byte [ebp - 0x130]
shl edx, 0x10
or eax, edx
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0xa4], eax
push 0x4751c8
lea ecx, [ebp - 0x134]
call fcn.00403450
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0
push 0x4751e8
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0
push 0x4751f8
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x128], eax
lea ecx, [ebp - 0x120]
call fcn.004032c0
push eax
push 0xff
push 0x475208
lea ecx, [ebp - 0x134]
call fcn.004032c0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x130], eax
movzx edx, byte [ebp - 0x10]
movzx eax, byte [ebp - 0x128]
shl eax, 8
or edx, eax
movzx ecx, byte [ebp - 0x130]
shl ecx, 0x10
or edx, ecx
mov eax, dword [ebp - 0x148]
mov dword [eax + 0xa8], edx
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x12c]
call fcn.00403950
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x138]
call fcn.00403950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.00403950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00403950
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x148]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043790e
mov esp, ebp
pop ebp
ret