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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], eax
mov eax, 0x4d55a0
call fcn.0040a608
xor eax, eax
push ebp
push 0x4dbfc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
call fcn.004c3d9c
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov edx, 0x4dbfe0
call fcn.004c37d4
mov eax, dword [0x4df1d4]
call fcn.00406970
mov eax, dword [0x4df31c]
mov byte [eax], 0x64
mov eax, dword [0x4df1c8]
xor edx, edx
mov dword [eax], edx
call fcn.004046f0
dec eax
jl 0x4dbe99
mov edx, dword [0x4df1d4]
mov eax, 1
call fcn.00404750
mov edx, dword [0x4df52c]
mov eax, dword [0x4df1d4]
mov eax, dword [eax]
call fcn.004cb3e0
mov dl, 1
mov eax, dword [0x4cc590]
call fcn.00404ed4
mov edx, dword [0x4df4a8]
mov dword [edx], eax
mov edx, dword [0x4df52c]
mov edx, dword [edx]
mov eax, dword [0x4df4a8]
mov eax, dword [eax]
call fcn.004d05a4
push 0x800
call fcn.00409c30
pop ecx
mov dword [0x4e5368], eax
mov eax, dword [0x4e5368]
push eax
push 0x400
call sub.kernel32.dll_GetTempPathW
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x4e5368]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xa
mov eax, dword [0x4df1d4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea edx, [ebp - 0x24]
mov ecx, 1
mov eax, 0x4dc010
call fcn.0041d85c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4df32c]
call fcn.00406d30
mov eax, dword [0x4e5368]
push eax
call fcn.00409c40
pop ecx
mov edx, dword [0x4df32c]
mov edx, dword [edx]
mov eax, dword [0x4df25c]
mov ecx, 0x4dc028
call fcn.00407650
mov eax, dword [0x4df25c]
mov eax, dword [eax]
call fcn.00407414
push eax
push 0
push 0x4dc034
push 0x4dc040
call sub.kernel32.dll_GetPrivateProfileIntW
mov edx, dword [0x4df1c8]
mov dword [edx], eax
mov eax, dword [0x4df25c]
mov eax, dword [eax]
call fcn.00407414
push eax
push 0
push 0x4dc058
push 0x4dc040
call sub.kernel32.dll_GetPrivateProfileIntW
test eax, eax
mov eax, dword [0x4df3f0]
setne byte [eax]
call fcn.004046f0
cmp eax, 2
jl 0x4dbec2
lea edx, [ebp - 0x28]
mov eax, 2
call fcn.00404750
mov eax, dword [ebp - 0x28]
xor edx, edx
call fcn.0041ca80
mov edx, dword [0x4df31c]
mov byte [edx], al
call fcn.004046f0
cmp eax, 3
jl 0x4dbeeb
lea edx, [ebp - 0x2c]
mov eax, 3
call fcn.00404750
mov eax, dword [ebp - 0x2c]
xor edx, edx
call fcn.0041ca80
mov edx, dword [0x4df1b8]
mov dword [edx], eax
mov eax, dword [0x4df31c]
mov al, byte [eax]
mov edx, dword [0x4df488]
mov byte [edx], al
mov eax, dword [0x4df31c]
cmp byte [eax], 1
jne 0x4dbf1e
mov ecx, dword [0x4df440]
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov edx, dword [0x4d2088]
call fcn.004c3db4
jmp 0x4dbf7f
mov eax, dword [0x4df31c]
cmp byte [eax], 0x65
jne 0x4dbf4f
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov byte [eax + 0x5b], 0
mov eax, dword [0x4df4a8]
mov eax, dword [eax]
mov dl, 0x65
call fcn.004cf3e0
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
call fcn.004c4024
jmp 0x4dbf7f
mov ecx, dword [0x4df498]
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov edx, dword [0x4d4058]
call fcn.004c3db4
mov ecx, dword [0x4df3fc]
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov edx, dword [0x4d3b8c]
call fcn.004c3db4
mov ecx, dword [0x4df24c]
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
mov edx, dword [0x4d1920]
call fcn.004c3db4
mov eax, dword [0x4df4a0]
mov eax, dword [eax]
call fcn.004c3f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbfcd
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004069d0
lea eax, [ebp - 0x14]
call fcn.00406970
ret