Function at 0x40f2d0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4a9dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4c2080]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x1b8]
mov dword [esp + 0x1b0], 0
mov ebx, 1
push ebx
lea ecx, [esp + 0x1c]
push str.Description_d
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
add esp, 0xc
push edx
mov edx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
cmp word [eax], 0
jne 0x40f350
xor edi, edi
xor eax, eax
jmp 0x40f35d
mov edi, eax
test edi, edi
je 0x40f35d
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00405750
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 8]
test eax, eax
je 0x40f39a
mov eax, dword [esp + 0x1bc]
lea edx, [esp + 0x10]
push edx
push 1
lea ecx, [eax + 0x78]
mov eax, dword [eax + 0x80]
push eax
call fcn.00410870
inc ebx
cmp ebx, 0x64
jl 0x40f30f
mov ebp, 1
mov dword [esp + 0x14], ebp
push ebp
lea ecx, [esp + 0x1c]
push str.BoldDes_d
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
add esp, 0xc
push edx
mov edx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi + 0xc]
cmp word [eax], 0
jne 0x40f3e4
xor ebx, ebx
xor edi, edi
jmp 0x40f3f7
mov ebx, eax
test ebx, ebx
jne 0x40f3ee
xor edi, edi
jmp 0x40f3f7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
push edi
lea ecx, [esp + 0x14]
call fcn.004059f0
test eax, eax
je 0x40f431
mov eax, dword [esp + 0x10]
lea ebp, [edi + edi]
push ebp
lea edx, [edi + edi + 2]
push ebx
push edx
push eax
call fcn.00404a40
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [ecx - 8], edi
mov edx, dword [esp + 0x10]
mov word [edx + ebp], 0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x40f467
mov ecx, dword [esp + 0x1bc]
lea edx, [esp + 0x10]
add ecx, 0xf0
push edx
push 1
mov eax, dword [ecx + 8]
push eax
call fcn.00410870
inc ebp
cmp ebp, 5
mov dword [esp + 0x14], ebp
jl 0x40f3a3
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 8]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push str.CheckBoxName
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [esi + 0xc]
mov eax, dword [esp + 0x1bc]
mov di, word [esi]
neg di
sbb edi, edi
and edi, esi
lea esi, [eax + 0x100]
test edi, edi
jne 0x40f4a7
xor ebx, ebx
jmp 0x40f4b0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 1
jg 0x40f4bd
cmp ebx, dword [eax - 4]
jle 0x40f4d0
mov ecx, esi
call fcn.00405a90
push ebx
mov ecx, esi
call fcn.004056f0
test eax, eax
je 0x40f4f2
mov edx, dword [esi]
lea ebp, [ebx + ebx]
push ebp
lea ecx, [ebx + ebx + 2]
push edi
push ecx
push edx
call fcn.00404a40
mov eax, dword [esi]
add esp, 0x10
mov dword [eax - 8], ebx
mov ecx, dword [esi]
mov word [ecx + ebp], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4c2084]
pop edi
pop esi
lea edx, [eax - 0xc]
pop ebp
cmp edx, ecx
pop ebx
je 0x40f525
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40f525
mov eax, dword [esp]
add eax, 0xfffffff4
push eax
call fcn.00442ac0
add esp, 4
mov ecx, dword [esp + 0x198]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x1a4
ret 8