Function at 0x401201
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c3ed
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x1164
call fcn.0041bd90
push edi
mov dword [ebp - 0x1160], ecx
lea ecx, [ebp - 0x38]
call fcn.0041b92c
mov dword [ebp - 4], 0
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1160]
call fcn.004010ba
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00401d30
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
jmp 0x40128b
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x20]
jge 0x4014d1
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x38]
call fcn.00401da0
push eax
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 0x1150], 0
mov ecx, 0x3ff
xor eax, eax
lea edi, [ebp - 0x114f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x1160]
add ecx, 0x14
call fcn.00401ee0
push eax
push 0x1000
lea ecx, [ebp - 0x1150]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00401ee0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
lea ecx, [ebp - 0x150]
call fcn.00401660
mov byte [ebp - 4], 3
mov byte [ebp - 0x13c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x13b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x1154], 0
jmp 0x401332
mov edx, dword [ebp - 0x1154]
add edx, 1
mov dword [ebp - 0x1154], edx
cmp dword [ebp - 0x1154], 0x1000
jge 0x4014bd
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1154]
mov dl, byte [ebp + ecx - 0x1150]
mov byte [ebp + eax - 0x13c], dl
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1154]
movsx edx, byte [ebp + ecx - 0x1150]
test edx, edx
je 0x401376
jmp 0x401323
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::operator_1
push 0
push 0x424020
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Find_3
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jle 0x401472
mov byte [ebp - 0x148], 0
mov ecx, dword [ebp - 0x10]
push ecx
lea edx, [ebp - 0x1158]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Left
mov dword [ebp - 0x1164], eax
mov eax, dword [ebp - 0x1164]
mov dword [ebp - 0x1168], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x1168]
push ecx
lea ecx, [ebp - 0x150]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1158]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
call fcn.00401ea0
sub eax, 1
sub eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x115c]
push edx
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x116c], eax
mov eax, dword [ebp - 0x116c]
mov dword [ebp - 0x1170], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x1170]
push ecx
lea ecx, [ebp - 0x14c]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x115c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x140], 0
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x144]
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x1160]
call fcn.004017f0
push 0x104
push 0
lea ecx, [ebp - 0x13c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0xffffffff
mov edx, dword [ebp - 0x1154]
movsx eax, byte [ebp + edx - 0x1150]
mov ecx, dword [ebp - 0x1154]
movsx edx, byte [ebp + ecx - 0x114f]
cmp eax, edx
jne 0x4014b8
jmp 0x4014bd
jmp 0x401323
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x150]
call fcn.004016c0
jmp 0x401282
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CStringArray::CStringArray
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret