Function at 0x42f260
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4ae996
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.004611c0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f758
xor ebx, ebx
mov dword [esp + 0x10], 0x4bbf74
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xa
mov edx, dword [esi + 0x14]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1064], ebx
push ecx
push 1
push 0x466
push edx
call edi
mov ecx, dword [esp + 0x14]
cmp ecx, ebx
mov ebp, ecx
je 0x42f6b8
jmp 0x42f2f8
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp]
mov byte [esp + 0x5c], bl
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 8]
mov edi, ebp
cmp eax, ebx
mov dword [esp + 0x30], edi
jl 0x42f31f
cmp eax, 0x12
jge 0x42f31f
shl eax, 4
add eax, 0x525a20
jmp 0x42f324
mov eax, 0x524b78
cmp dword [eax + 8], ebx
je 0x42f5dc
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.uservar.ini
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1068], bl
push ecx
call fcn.00461f30
mov ecx, eax
call fcn.00462750
push eax
lea edx, [esp + 0x50]
push 0x52f748
push edx
mov byte [esp + 0x1070], 2
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
lea esi, [ebp + 0xc]
push 0x2e
lea eax, [esp + 0x5c]
push esi
push eax
mov byte [esp + 0x1070], 3
call sub.MFC42.DLL_operator_1
lea ecx, [ebp + 0x10]
lea edx, [esp + 0x54]
push ecx
push eax
push edx
mov byte [esp + 0x1070], 4
call sub.MFC42.DLL_operator_3
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push edi
lea edx, [esp + 0x60]
mov ecx, dword [ecx + 0xc]
push 0x1000
push edx
push str.blank_value
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1064], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1064], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1064], bl
call sub.MFC42.DLL_CString::CString
mov edi, str.blank_value
lea eax, [esp + 0x5c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x42f428
cmp cl, bl
je 0x42f424
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42f428
add eax, 2
add edi, 2
cmp cl, bl
jne 0x42f404
xor eax, eax
jmp 0x42f42d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42f4a5
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x42f446
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
jmp 0x42f44e
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ebp, dword [esp + 0x18]
jne 0x42f45d
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x42f466
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [ecx + 4], edx
lea esi, [ebp + 8]
xor edi, edi
push ebx
mov ecx, esi
call fcn.0042fd70
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42f46b
mov ecx, dword [esp + 0x20]
mov dword [ebp], ecx
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
jne 0x42f6a4
lea ecx, [esp + 0x10]
call fcn.0042fd20
jmp 0x42f6a4
cmp dword [ebp + 8], 7
jne 0x42f5b7
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push str.uservar.ini
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x38]
mov byte [esp + 0x1068], bl
push edx
call fcn.00461f30
mov ecx, eax
call fcn.00462750
push eax
lea eax, [esp + 0x54]
push 0x52f748
push eax
mov byte [esp + 0x1070], 6
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
push 0x2e
lea ecx, [esp + 0x44]
push esi
push ecx
mov byte [esp + 0x1070], 7
call sub.MFC42.DLL_operator_1
mov edx, dword [str.PasswordChar]
mov byte [esp + 0x1064], 8
push edx
push eax
lea eax, [esp + 0x50]
push eax
call sub.MFC42.DLL_operator_4
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push edi
push ebx
mov ecx, dword [ecx + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x48]
mov esi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1064], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1064], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x1064], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x42f5b7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42f5b7
push ebx
lea edx, [esp + 0x60]
push 0x1000
push edx
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x3c]
add ecx, 0x18
call fcn.004702a0
lea edx, [esp + 0x5c]
lea esi, [ebp + 0x14]
push edx
jmp 0x42f5bf
lea eax, [esp + 0x5c]
lea esi, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.004604be
push 0x52344c
push 0x524b74
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x42f6a4
cmp edi, ecx
jne 0x42f5e8
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x42f5ef
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edx], eax
cmp edi, dword [esp + 0x18]
jne 0x42f5fe
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
jmp 0x42f606
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov dword [edx + 4], eax
lea esi, [edi + 8]
xor ebp, ebp
mov dword [esp + 0x30], esi
lea ecx, [esi + 0xc]
mov byte [esp + 0x1064], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x1064], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x1064], bl
call sub.MFC42.DLL_CString::CString
add esi, 0x10
mov ecx, ebp
dec ebp
mov dword [esp + 0x30], esi
test ecx, ecx
jne 0x42f60f
mov edx, dword [esp + 0x20]
mov dword [edi], edx
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
jne 0x42f6a4
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42f687
lea esi, [ebp + 8]
xor edi, edi
push ebx
mov ecx, esi
call fcn.0042fd70
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42f66e
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f669
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x38], ebx
jne 0x42f2f0
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x10]
push ecx
push ebx
push 0x467
push edx
call edi
mov eax, dword [esi + 0x14]
push ebx
push ebx
push 0x465
push eax
call edi
mov dword [esp + 0x10], 0x4bbf74
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1064], 0xb
cmp ebp, ebx
je 0x42f73f
lea esi, [ebp + 8]
xor edi, edi
mov dword [esp + 0x34], esi
lea ecx, [esi + 0xc]
mov byte [esp + 0x1064], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x1064], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov byte [esp + 0x1064], 0xb
call sub.MFC42.DLL_CString::CString
add esi, 0x10
mov ecx, edi
dec edi
mov dword [esp + 0x34], esi
test ecx, ecx
jne 0x42f6fa
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f6f1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esp + 0x105c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1058
ret