Function at 0x42d710
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4accd6
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.0045f410
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 0x42dc08
xor ebx, ebx
mov dword [esp + 0x10], 0x4b9ce4
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 0x42db68
jmp 0x42d7a8
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 0x42d7cf
cmp eax, 0x12
jge 0x42d7cf
shl eax, 4
add eax, 0x5225f0
jmp 0x42d7d4
mov eax, 0x521a40
cmp dword [eax + 8], ebx
je 0x42da8c
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.00460190
mov ecx, eax
call fcn.004609b0
push eax
lea edx, [esp + 0x50]
push 0x52c648
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 0x42d8d8
cmp cl, bl
je 0x42d8d4
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42d8d8
add eax, 2
add edi, 2
cmp cl, bl
jne 0x42d8b4
xor eax, eax
jmp 0x42d8dd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42d955
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x42d8f6
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
jmp 0x42d8fe
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ebp, dword [esp + 0x18]
jne 0x42d90d
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x42d916
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.0042e220
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42d91b
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 0x42db54
lea ecx, [esp + 0x10]
call fcn.0042e1d0
jmp 0x42db54
cmp dword [ebp + 8], 7
jne 0x42da67
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.00460190
mov ecx, eax
call fcn.004609b0
push eax
lea eax, [esp + 0x54]
push 0x52c648
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 0x42da67
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42da67
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.0046e6a0
lea edx, [esp + 0x5c]
lea esi, [ebp + 0x14]
push edx
jmp 0x42da6f
lea eax, [esp + 0x5c]
lea esi, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0045e74e
push 0x52071c
push 0x521a3c
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x42db54
cmp edi, ecx
jne 0x42da98
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x42da9f
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edx], eax
cmp edi, dword [esp + 0x18]
jne 0x42daae
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
jmp 0x42dab6
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 0x42dabf
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 0x42db54
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42db37
lea esi, [ebp + 8]
xor edi, edi
push ebx
mov ecx, esi
call fcn.0042e220
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42db1e
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42db19
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 0x42d7a0
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], 0x4b9ce4
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1064], 0xb
cmp ebp, ebx
je 0x42dbef
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 0x42dbaa
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42dba1
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