Function at 0x401110
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1260
call fcn.00458e00
mov eax, dword [0x4a2a04]
xor eax, esp
mov dword [esp + 0x125c], eax
mov eax, dword [0x47e2b8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_wsprintfW]
push esi
push edi
mov esi, ecx
mov ecx, dword [0x47e2bc]
mov edi, edx
add edi, 0x1202
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov ebx, 1
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x14]
cmp edx, dword [esp + 0x1274]
jae 0x4013e3
xor eax, eax
push 0x3e
push eax
lea ecx, [esp + 0x32]
push ecx
mov word [esp + 0x34], ax
call fcn.00456530
push ebx
lea edx, [esp + 0x38]
push str.C__d
push edx
call ebp
add esp, 0x18
push esi
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4012bd
xor edx, edx
push 0xffe
push edx
lea eax, [esp + 0x272]
push eax
mov word [esp + 0x274], dx
call fcn.00456530
xor ecx, ecx
push 0x1fe
push ecx
lea edx, [esp + 0x7e]
push edx
mov word [esp + 0x80], cx
call fcn.00456530
push ebx
lea eax, [esp + 0x44]
push str.R__d
push eax
call ebp
add esp, 0x24
push esi
push 0
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
push ebx
lea eax, [esp + 0x2c]
push str.S__d
push eax
or edi, 0x80000000
call ebp
add esp, 0xc
push esi
push 0x800
lea ecx, [esp + 0x270]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 0x18]
sub eax, 1
je 0x40129b
sub eax, 1
jne 0x4012b9
push ebx
lea ecx, [esp + 0x2c]
push str.V__d
push ecx
call ebp
add esp, 0xc
push esi
push 0x100
lea edx, [esp + 0x70]
push edx
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0x68]
push edx
lea esi, [esp + 0x26c]
call fcn.00401060
add esp, 4
jmp 0x4012a7
lea esi, [esp + 0x268]
call fcn.00401000
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
test al, al
jne 0x4013d6
jmp 0x4012bd
mov edi, dword [esp + 0x10]
push ebx
lea eax, [esp + 0x2c]
push str.N__d
push eax
call ebp
add esp, 0xc
push esi
push 0x100
lea ecx, [edi - 0x1200]
push ecx
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
lea ecx, [esp + 0x2c]
push str.U__d
push ecx
call ebp
add esp, 0xc
push esi
push 0x800
lea eax, [edi - 0x1000]
push eax
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
lea ecx, [esp + 0x2c]
push str.F__d
push ecx
call ebp
add esp, 0xc
push esi
push 0x100
push edi
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401350
sub eax, edx
sar eax, 1
je 0x401399
push 0x2f
push 0
lea eax, [edi - 0x1000]
push eax
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
push 0x100
add eax, 2
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0x2e
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
push str..exe
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push ebx
lea ecx, [esp + 0x2c]
push str.P__d
push ecx
call ebp
add esp, 0xc
push esi
push 0x100
lea edx, [edi + 0x200]
push edx
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
inc dword [esp + 0x14]
add edi, 0x1602
mov dword [esp + 0x10], edi
inc ebx
lea edx, [ebx - 1]
cmp edx, 0x14
jl 0x401164
mov ecx, dword [esp + 0x126c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004516c6
add esp, 0x1260
ret