Function at 0x40d9e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4363f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x30], 2
call fcn.0040dc40
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0xc]
mov edi, 0x446190
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x40da89
test cl, cl
je 0x40da85
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x40da89
add eax, 2
add edi, 2
test cl, cl
jne 0x40da61
xor eax, eax
jmp 0x40da8e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40daa5
mov eax, dword [esi + 0x9c]
mov ecx, esi
push eax
call fcn.0040dfc0
cmp eax, 0xffffffff
je 0x40dae6
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 4
push ebp
lea ecx, [esp + 0x10]
push str.Count
lea edx, [esp + 0x24]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push eax
push ecx
mov ecx, 0x4461b8
call sub.MFC42.DLL_CWinApp::GetProfileIntA
lea ecx, [esp + 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x10]
lea edx, [edi + 1]
push edx
push eax
lea ecx, [esp + 0x24]
push str._s_d
push ecx
mov byte [esp + 0x3c], 5
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x1ac]
mov edx, dword [esi + 0x188]
lea ebp, [esi + 0x1ac]
add esp, 0x10
dec edi
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x14a
push edx
call edi
mov eax, dword [esi + 0x188]
push 0
push 0
push 0x146
push eax
call edi
mov ebx, eax
test ebx, ebx
jle 0x40dba1
push 1
lea ecx, [esi + 0x128]
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esi + 0x188]
dec ebx
push 0
push ebx
push 0x14e
push ecx
call edi
mov eax, dword [esp + 0x34]
sub eax, 0
je 0x40dbcf
dec eax
je 0x40dbca
dec eax
jne 0x40dbdc
lea ecx, [esi + 0x88]
jmp 0x40dbd2
lea ecx, [esi + 0x74]
jmp 0x40dbd2
lea ecx, [esi + 0x60]
mov eax, dword [ecx + 8]
push ebp
push eax
call sub.MFC42.DLL_CStringArray::SetAtGrow
push 1
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
pop ebp
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4