Function at 0x42f270
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4aea66
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.004611d0
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 0x42f768
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 0x42f6c8
jmp 0x42f308
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 0x42f32f
cmp eax, 0x12
jge 0x42f32f
shl eax, 4
add eax, 0x525a20
jmp 0x42f334
mov eax, 0x524b78
cmp dword [eax + 8], ebx
je 0x42f5ec
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.00461f40
mov ecx, eax
call fcn.00462760
push eax
lea edx, [esp + 0x50]
push 0x52f778
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 0x42f438
cmp cl, bl
je 0x42f434
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42f438
add eax, 2
add edi, 2
cmp cl, bl
jne 0x42f414
xor eax, eax
jmp 0x42f43d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42f4b5
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x42f456
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
jmp 0x42f45e
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ebp, dword [esp + 0x18]
jne 0x42f46d
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x42f476
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.0042fd80
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42f47b
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 0x42f6b4
lea ecx, [esp + 0x10]
call fcn.0042fd30
jmp 0x42f6b4
cmp dword [ebp + 8], 7
jne 0x42f5c7
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.00461f40
mov ecx, eax
call fcn.00462760
push eax
lea eax, [esp + 0x54]
push 0x52f778
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 0x42f5c7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42f5c7
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.004702b0
lea edx, [esp + 0x5c]
lea esi, [ebp + 0x14]
push edx
jmp 0x42f5cf
lea eax, [esp + 0x5c]
lea esi, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.004604ce
push 0x52344c
push 0x524b74
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x42f6b4
cmp edi, ecx
jne 0x42f5f8
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x42f5ff
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edx], eax
cmp edi, dword [esp + 0x18]
jne 0x42f60e
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
jmp 0x42f616
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 0x42f61f
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 0x42f6b4
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42f697
lea esi, [ebp + 8]
xor edi, edi
push ebx
mov ecx, esi
call fcn.0042fd80
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42f67e
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f679
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 0x42f300
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 0x42f74f
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 0x42f70a
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f701
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