Function at 0x42f380
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4bae98
push eax
mov eax, 0x104c
mov dword fs:[0], esp
call fcn.004633a0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x30], esi
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f877
xor ebx, ebx
mov dword [esp + 0x10], 0x4c8fdc
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 ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42f808
jmp 0x42f412
mov ebp, dword [esp + 0x34]
mov eax, dword [ebp]
mov byte [esp + 0x5c], bl
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x34], eax
mov eax, dword [str.ProgressBar]
mov esi, ebp
push eax
push ecx
mov dword [esp + 0x40], esi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x42f444
cmp dword [ebp + 8], 9
je 0x42f7f4
mov eax, dword [ebp + 8]
cmp eax, ebx
jl 0x42f45a
cmp eax, 0x1d
jge 0x42f45a
shl eax, 4
add eax, 0x534a40
jmp 0x42f45f
mov eax, 0x533b90
cmp dword [eax + 8], ebx
je 0x42f717
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.uservar.ini
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x1068], bl
push ecx
call fcn.00464120
mov ecx, eax
call fcn.00464940
push eax
lea edx, [esp + 0x58]
push 0x53f828
push edx
mov byte [esp + 0x1070], 2
call sub.MFC42.DLL_operator_4
mov edi, dword [eax]
lea esi, [ebp + 0xc]
push 0x2e
lea eax, [esp + 0x50]
push esi
push eax
mov byte [esp + 0x1070], 3
call sub.MFC42.DLL_operator_1
lea ecx, [ebp + 0x14]
lea edx, [esp + 0x50]
push ecx
push eax
push edx
mov byte [esp + 0x1070], 4
call sub.MFC42.DLL_operator_4
mov ecx, dword [esp + 0x30]
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 + 0x50]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1064], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1064], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
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 0x42f563
cmp cl, bl
je 0x42f55f
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x42f563
add eax, 2
add edi, 2
cmp cl, bl
jne 0x42f53f
xor eax, eax
jmp 0x42f568
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x42f5e0
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x14]
cmp ebp, eax
jne 0x42f581
mov eax, dword [ebp]
mov dword [esp + 0x14], eax
jmp 0x42f589
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov dword [ecx], edx
cmp ebp, dword [esp + 0x18]
jne 0x42f598
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
jmp 0x42f5a1
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.0042fec0
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x42f5a6
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 0x42f7f4
lea ecx, [esp + 0x10]
call fcn.0042fe70
jmp 0x42f7f4
cmp dword [ebp + 8], 7
jne 0x42f6f2
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.uservar.ini
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x48]
mov byte [esp + 0x1068], bl
push edx
call fcn.00464120
mov ecx, eax
call fcn.00464940
push eax
lea eax, [esp + 0x44]
push 0x53f828
push eax
mov byte [esp + 0x1070], 6
call sub.MFC42.DLL_operator_4
mov edi, dword [eax]
push 0x2e
lea ecx, [esp + 0x5c]
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_3
mov ecx, dword [esp + 0x30]
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 + 0x58]
mov byte [esp + 0x1064], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x1064], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov byte [esp + 0x1064], bl
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x42f6f2
lea edi, [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x42f6f2
push ebx
lea edx, [esp + 0x60]
push 0x1000
push edx
push ecx
lea eax, [esp + 0x6c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [esp + 0x40]
add ecx, 0x18
call fcn.00472a40
lea edx, [esp + 0x5c]
lea esi, [ebp + 0x18]
push edx
jmp 0x42f6fa
lea eax, [esp + 0x5c]
lea esi, [ebp + 0x18]
push eax
mov ecx, esi
call fcn.0046268e
push 0x53245c
push 0x533b8c
mov ecx, esi
call sub.MFC42.DLL_CString::Replace
jmp 0x42f7f4
cmp esi, dword [esp + 0x14]
jne 0x42f725
mov ecx, dword [esi]
mov dword [esp + 0x14], ecx
jmp 0x42f72c
mov edx, dword [esi + 4]
mov eax, dword [esi]
mov dword [edx], eax
cmp esi, dword [esp + 0x18]
jne 0x42f73b
mov ecx, dword [esi + 4]
mov dword [esp + 0x18], ecx
jmp 0x42f743
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
add esi, 8
xor edi, edi
mov dword [esp + 0x2c], esi
lea ecx, [esi + 0x10]
mov byte [esp + 0x1064], 0xb
call sub.MFC42.DLL_CString::CString
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, 0x14
mov ecx, edi
dec edi
mov dword [esp + 0x2c], esi
test ecx, ecx
jne 0x42f74c
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x42f7f4
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x42f7d7
lea esi, [ebp + 8]
xor edi, edi
mov ecx, esi
call fcn.0042f310
add esi, 0x14
mov eax, edi
dec edi
test eax, eax
jne 0x42f7bf
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f7ba
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 + 0x34], ebx
jne 0x42f40e
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x30]
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], 0x4c8fdc
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1064], 0xc
cmp ebp, ebx
je 0x42f85e
lea esi, [ebp + 8]
xor edi, edi
mov ecx, esi
call fcn.0042f310
add esi, 0x14
mov ecx, edi
dec edi
test ecx, ecx
jne 0x42f846
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x42f841
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