Function at 0x4061f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x43b94e
push eax
mov eax, 0x10528
mov dword fs:[0], esp
call fcn.0043b050
push ebx
push ebp
push esi
mov ebp, ecx
push edi
xor ebx, ebx
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x139]
mov byte [esp + 0x138], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x44a754
lea ecx, [esp + 0x14]
stosb byte es:[edi], al
call fcn.0043abe8
push 0x44a754
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10544], ebx
call fcn.0043abe8
push 0x44a754
lea ecx, [esp + 0x24]
mov byte [esp + 0x10544], 1
call fcn.0043abe8
mov ecx, 0x3fff
xor eax, eax
lea edi, [esp + 0x539]
mov byte [esp + 0x538], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x448a5c
lea ecx, [esp + 0x30]
mov byte [esp + 0x10544], 2
stosb byte es:[edi], al
call fcn.0043abe8
push 0x44a754
lea ecx, [esp + 0x18]
mov byte [esp + 0x10544], 3
call fcn.0043abe8
push ebx
mov byte [esp + 0x10544], 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [esp + 0x34]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x34]
lea ecx, [esp + 0x18]
push edx
call fcn.0043abe8
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10544], 5
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, ebx
jge 0x406305
push 0x448a4c
lea ecx, [esp + 0x18]
call fcn.0043ac24
jmp 0x406360
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push 0x448a3c
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x1054c], 6
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x10544], 7
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x10540], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10540], 5
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x53c]
push 0x10000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionA]
mov edx, eax
xor esi, esi
xor eax, eax
cmp edx, ebx
mov dword [esp + 0x30], edx
jle 0x406473
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov cl, byte [esp + esi + 0x538]
cmp cl, bl
jne 0x406462
lea edx, [esp + 0x138]
lea ecx, [esp + 0x10]
push edx
mov byte [esp + eax + 0x13c], bl
call fcn.0043ac24
push 0x3d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10544], 8
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x10540], 5
call sub.MFC42.DLL_CString::CString
push 0x3d
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
inc eax
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x10544], 9
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x10540], 5
call sub.MFC42.DLL_CString::CString
push 0x23
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
je 0x40645a
mov edx, dword [esp + 0x20]
mov eax, dword [ebp + 0x80]
push edx
push ebx
push 0x143
push eax
call edi
mov edx, dword [esp + 0x30]
xor eax, eax
jmp 0x40646a
mov byte [esp + eax + 0x138], cl
inc eax
inc esi
cmp esi, edx
jl 0x406395
lea ecx, [esp + 0x18]
mov byte [esp + 0x10540], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x10540], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x10540], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x10540], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x10540], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x10540], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10538]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10534
ret