Function at 0x42d860
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4acc66
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.0045f6b0
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 0x42dd58
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 0x42dcb8
jmp 0x42d8f8
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 0x42d91f
cmp eax, 0x12
jge 0x42d91f
shl eax, 4
add eax, 0x5225c8
jmp 0x42d924
mov eax, 0x521a18
cmp dword [eax + 8], ebx
je 0x42dbdc
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.00460430
mov ecx, eax
call fcn.00460c50
push eax
lea edx, [esp + 0x50]
push 0x52c5f8
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 0x42da28
cmp cl, bl
je 0x42da24
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42da28
add eax, 2
add edi, 2
cmp cl, bl
jne 0x42da04
xor eax, eax
jmp 0x42da2d
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42daa5
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x42da46
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
jmp 0x42da4e
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ebp, dword [esp + 0x18]
jne 0x42da5d
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x42da66
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.0042e370
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42da6b
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 0x42dca4
lea ecx, [esp + 0x10]
call fcn.0042e320
jmp 0x42dca4
cmp dword [ebp + 8], 7
jne 0x42dbb7
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.00460430
mov ecx, eax
call fcn.00460c50
push eax
lea eax, [esp + 0x54]
push 0x52c5f8
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 0x42dbb7
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42dbb7
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.0046e790
lea edx, [esp + 0x5c]
lea esi, [ebp + 0x14]
push edx
jmp 0x42dbbf
lea eax, [esp + 0x5c]
lea esi, [ebp + 0x14]
push eax
mov ecx, esi
call fcn.0045e9de
push 0x52071c
push 0x521a14
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x42dca4
cmp edi, ecx
jne 0x42dbe8
mov ecx, dword [edi]
mov dword [esp + 0x14], ecx
jmp 0x42dbef
mov edx, dword [edi + 4]
mov eax, dword [edi]
mov dword [edx], eax
cmp edi, dword [esp + 0x18]
jne 0x42dbfe
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], ecx
jmp 0x42dc06
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 0x42dc0f
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 0x42dca4
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42dc87
lea esi, [ebp + 8]
xor edi, edi
push ebx
mov ecx, esi
call fcn.0042e370
add esi, 0x10
mov eax, edi
dec edi
test eax, eax
jne 0x42dc6e
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42dc69
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 0x42d8f0
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 0x42dd3f
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 0x42dcfa
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42dcf1
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