Function at 0x1000c340
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100134f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
push 0x1001ad9c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_2
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString_3
mov esi, dword [esp + 0x88]
push ebx
push esi
mov byte [esp + 0x74], 2
call dword [sym.imp.MSVCRT.dll__access]
or edi, 0xffffffff
add esp, 8
cmp eax, edi
je 0x1000c409
push 0x3a
push esi
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x1000c3e1
push 0x1001a558
push esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
jne 0x1000c3e1
push 0x1001a558
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
push esi
lea ecx, [esp + 0x10]
call fcn.100101ca
jmp 0x1000c3eb
push esi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x8c]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x18]
push eax
push ecx
push edx
call fcn.1000cfa0
add esp, 0xc
test eax, eax
jne 0x1000c446
lea ecx, [esp + 0xc]
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], edi
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x84]
lea ecx, [esp + 0x44]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
mov edx, dword [esp + 0x84]
push eax
push ecx
push edx
call fcn.1000afc0
add esp, 0x18
test eax, eax
je 0x1000c57b
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x24]
mov dword [esp + 0x20], ebx
push eax
push 1
push ecx
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x54]
push eax
push ecx
call fcn.1000c8e0
add esp, 0x18
test eax, eax
je 0x1000c57b
mov esi, dword [esp + 0x88]
mov edi, dword [esp + 0x88]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test ebx, ebx
jne 0x1000c4d2
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x1000c4d4
xor ebx, ebx
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
push 5
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
push edi
lea eax, [esp + 0x60]
push esi
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.1000c5e0
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
add esp, 0x24
lea eax, [esp + 0x38]
push edx
push 0x10
push eax
push 0
push ecx
push 0x1001a550
call ebp
mov al, byte [esp + 0x38]
test al, al
je 0x1000c54c
lea edx, [esp + 0x38]
push 0x1001a54c
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x1000c53e
mov ebx, 1
jmp 0x1000c54c
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
call fcn.100101ca
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push 1
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.1000c8e0
add esp, 0x18
test eax, eax
jne 0x1000c4c4
or edi, 0xffffffff
pop ebp
lea eax, [esp + 0x44]
push eax
call fcn.1000b030
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::AllocSysString
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x6c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], edi
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x64]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret