Function at 0x417de0
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4e42b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push str.ExpString
lea ecx, [esp + 0x14]
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
push 0x52e658
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString_2
push 0x3e8
mov byte [esp + 0x2c], 4
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0x10]
push str.IDD_d_Title
push ecx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add esp, 0x10
push eax
mov eax, dword [esp + 0xc]
push 0x3e8
push ebx
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, dword [esp + 0x30]
test eax, eax
je 0x417ea6
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esi + 0x20]
push 5
push edx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
je 0x41801b
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push edi
jne 0x417ed0
xor edi, edi
jmp 0x417ed3
mov edi, dword [esi + 0x20]
push 0x50
push 0x50
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
mov eax, dword [esp + 0x1c]
push str.ComboBox
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x417faf
mov ecx, dword [esi + 0x20]
push eax
push eax
push 0x147
push ecx
call ebp
mov edx, dword [esi + 0x20]
xor edi, edi
push edi
push edi
push 0x146
push edx
mov dword [esp + 0x48], eax
call ebp
test eax, eax
jle 0x417f9a
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
push eax
lea eax, [esp + 0x18]
push str.IDD_COMBO__d__d
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
add esp, 0x10
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x14]
push 0x3e8
push ebx
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x417f86
mov edx, dword [esi + 0x20]
push ebx
push 0
push 0x143
push edx
call ebp
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x144
push eax
call ebp
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x146
push ecx
inc edi
call ebp
cmp edi, eax
jl 0x417f27
movsx edx, word [esp + 0x38]
mov eax, dword [esi + 0x20]
push 0
push edx
push 0x14e
push eax
call ebp
jmp 0x417ffd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov ecx, dword [esp + 0x3c]
push eax
push ecx
lea edx, [esp + 0x18]
push str.IDD_d__d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [esp + 0x1c]
push 0x3e8
push ebx
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x417ffd
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esi + 0x20]
push 2
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov esi, eax
test esi, esi
jne 0x417ed0
pop edi
pop ebp
push ebx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 3
call fcn.0047d354
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.0047d354
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.0047d354
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call fcn.0047d354
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.0047d354
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8