Function at 0x4ccb70
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52aacd
mov eax, dword fs:[0]
push eax
mov eax, 0x40dc
call fcn.004a5c90
mov eax, dword [0x5644a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40c4], 0
xor eax, eax
mov word [ebp - 0x40bc], ax
push 0x1ffe
push 0
lea ecx, [ebp - 0x40ba]
push ecx
call fcn.00491e40
add esp, 0xc
xor edx, edx
mov word [ebp - 0x209c], dx
push 0x1ffe
push 0
lea eax, [ebp - 0x209a]
push eax
call fcn.00491e40
add esp, 0xc
lea ecx, [ebp - 0x20b8]
push ecx
call fcn.0051fe60
add esp, 4
mov dword [ebp - 4], 1
lea edx, [ebp - 0x9c]
push edx
call fcn.0051fed0
add esp, 4
mov byte [ebp - 4], 2
push 0x546e08
lea eax, [ebp - 0x20b8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x40c8], eax
mov edx, dword [ebp - 0x40c8]
mov dword [ebp - 0x40cc], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x40cc]
call fcn.0040acf0
push eax
push 0x1000
lea eax, [ebp - 0x40bc]
push eax
push 0x546318
push str.ctlpath
push str.FILE_PATH
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.00402c30
push 0x546e08
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.004523b0
add esp, 0xc
mov dword [ebp - 0x40d0], eax
mov eax, dword [ebp - 0x40d0]
mov dword [ebp - 0x40d4], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x40d4]
call fcn.0040acf0
push eax
push 0x1000
lea ecx, [ebp - 0x209c]
push ecx
lea edx, [ebp - 0x40bc]
push edx
push str.ctlpath
push str.FILE_PATH
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00402c30
movzx eax, word [ebp - 0x209c]
test eax, eax
je 0x4ccd35
push 1
push 1
lea ecx, [ebp - 0x209c]
push ecx
lea edx, [ebp - 0x64]
push edx
call fcn.0051ff30
add esp, 0x10
mov dword [ebp - 0x40d8], eax
mov eax, dword [ebp - 0x40d8]
mov dword [ebp - 0x40dc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x40c4]
or ecx, 1
mov dword [ebp - 0x40c4], ecx
mov edx, dword [ebp - 0x40dc]
mov dword [ebp - 0x40e0], edx
jmp 0x4ccd78
lea eax, [ebp - 0x209c]
push eax
lea ecx, [ebp - 0x80]
call fcn.0040ac70
mov dword [ebp - 0x40e4], eax
mov ecx, dword [ebp - 0x40e4]
mov dword [ebp - 0x40e8], ecx
mov dword [ebp - 4], 6
mov edx, dword [ebp - 0x40c4]
or edx, 2
mov dword [ebp - 0x40c4], edx
mov eax, dword [ebp - 0x40e8]
mov dword [ebp - 0x40e0], eax
mov ecx, dword [ebp - 0x40e0]
mov dword [ebp - 0x40c0], ecx
mov edx, dword [ebp - 0x40c0]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040a6d0
mov eax, dword [ebp - 0x40c4]
or eax, 4
mov dword [ebp - 0x40c4], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x40c4]
and ecx, 2
je 0x4ccdc3
and dword [ebp - 0x40c4], 0xfffffffd
lea ecx, [ebp - 0x80]
call fcn.00402c30
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x40c4]
and edx, 1
je 0x4ccde4
and dword [ebp - 0x40c4], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.00402c30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x9c]
call fcn.00402c30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20b8]
call fcn.00402c30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00490d41
mov esp, ebp
pop ebp
ret