Function at 0x407660
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40c0a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [esp + 0x24]
mov dword [esp + 0x88], ebx
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi + 0x60]
mov byte [esp + 0x88], 2
sub eax, 2
mov dword [esp + 0x58], 7
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x64]
cmp eax, 1
jne 0x4078a4
mov ecx, dword [edi + 0x9c]
push ebx
push ebx
push 0x1004
push ecx
xor esi, esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
jle 0x407ff2
lea ebx, [edi + 0x7c]
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetCheck
test eax, eax
jne 0x407709
cmp esi, dword [edi + 0x924]
jne 0x407880
push 0
lea edx, [esp + 0x2c]
push esi
push edx
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 3
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov eax, dword [eax - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
push 1
lea ecx, [esp + 0x1c]
push esi
push ecx
mov ecx, ebx
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], esi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 4
call fcn.0040ae78
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov edx, dword [esp + 0x20]
lea ebp, [edi + 0x68]
push 2
push edx
mov ecx, ebp
call fcn.00403170
test eax, eax
je 0x4077b2
push eax
mov ecx, edi
call fcn.00408bd0
mov eax, dword [edi + 0x60]
cmp eax, 2
jne 0x4077e7
push 0x411180
push 3
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411180
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
test eax, eax
je 0x40784b
jmp 0x407843
cmp eax, 3
jne 0x407818
push 0x411178
push eax
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411178
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
test eax, eax
je 0x40784b
jmp 0x407843
push 0x411170
push 3
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411170
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
test eax, eax
je 0x40784b
push eax
mov ecx, edi
call fcn.00408bd0
mov ecx, dword [edi + 0x9c]
lea eax, [esp + 0x58]
push eax
push 0
push 0x1006
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, ebp
call fcn.004031c0
push 0
push esi
mov ecx, ebx
call sub.MFC42.DLL_CListCtrl::SetCheck
mov edx, dword [edi + 0x9c]
push 0
push 0
push 0x1004
push edx
inc esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, eax
jl 0x4076f1
jmp 0x407ff2
cmp eax, 2
jne 0x407b32
mov eax, dword [edi + 0x924]
push ebx
lea ecx, [esp + 0x2c]
lea esi, [edi + 0x7c]
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 5
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
mov eax, dword [edx - 8]
push eax
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [edi + 0x924]
mov dword [esp + 0x6c], eax
push 1
lea eax, [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x7c], ecx
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x6c], ebx
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 6
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov ecx, dword [esp + 0x20]
lea ebp, [edi + 0x68]
push 2
push ecx
mov ecx, ebp
call fcn.00403170
cmp eax, ebx
je 0x40795d
push eax
mov ecx, edi
call fcn.00408bd0
mov eax, dword [edi + 0x60]
cmp eax, 2
jne 0x407998
mov edx, dword [edi + 0x924]
push 0x411180
push 3
push edx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411180
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
cmp eax, ebx
je 0x407a08
jmp 0x407a00
cmp eax, 3
jne 0x4079cf
push 0x411178
push eax
mov eax, dword [edi + 0x924]
mov ecx, esi
push eax
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411178
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
cmp eax, ebx
je 0x407a08
jmp 0x407a00
mov ecx, dword [edi + 0x924]
push 0x411170
push 3
push ecx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::SetItemText
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x411170
call sub.MFC42.DLL_CString::CString
mov ecx, ebp
call fcn.00403380
cmp eax, ebx
je 0x407a08
push eax
mov ecx, edi
call fcn.00408bd0
mov edx, dword [edi + 0x924]
push 2
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x8c], 7
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov ecx, dword [edi + 0x924]
push 1
lea edx, [esp + 0x2c]
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x8c], 8
call fcn.0040ae78
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 2
call fcn.0040adee
mov eax, dword [esp + 0x24]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x411160
push eax
call ebx
add esp, 8
test eax, eax
je 0x407b02
mov ecx, dword [esp + 0x24]
push 0x411648
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x407ae2
mov edx, dword [edi + 0x924]
push 3
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call sub.MFC42.DLL_CListCtrl::GetItemText
mov eax, dword [eax]
push 0x411170
push eax
call ebx
add esp, 8
lea ecx, [esp + 0x28]
test eax, eax
setne byte [esp + 0x13]
call fcn.0040adee
mov al, byte [esp + 0x13]
test al, al
je 0x407ae2
push 0x64
jmp 0x407afb
mov ecx, dword [esp + 0x24]
push 0x4112fc
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x407af9
push 0x65
jmp 0x407afb
push 0
mov ecx, edi
call fcn.004080d0
mov eax, dword [edi + 0x9c]
lea edx, [esp + 0x58]
push edx
push 0
push 0x1006
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, ebp
call fcn.004031c0
jmp 0x407ff2
cmp eax, 3
jne 0x407dcd
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 9
call sub.MFC42.DLL_CString::CString_1
mov bl, 0xa
mov ebp, 0x66
mov byte [esp + 0x88], bl
lea esi, [edi + 0x68]
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [edi + 0x60]
cmp eax, 1
jne 0x407bba
push 0x4111d4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
inc eax
push 1
lea ecx, [esp + 0x2c]
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xb
call fcn.0040ae78
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x28]
jmp 0x407cce
cmp eax, 2
jne 0x407c01
push 0x4111d8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
inc eax
push 1
lea edx, [esp + 0x30]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xc
call fcn.0040ae78
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x2c]
jmp 0x407cce
cmp eax, 3
jne 0x407c48
push str.__
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
inc eax
push 1
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xd
call fcn.0040ae78
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x30]
jmp 0x407cce
cmp eax, 4
jne 0x407c8c
push 0x411200
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
inc eax
push 1
lea ecx, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xe
call fcn.0040ae78
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x34]
jmp 0x407cce
cmp eax, 5
jne 0x407cd3
push 0x4112f8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
inc eax
push 1
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x8c], 0xf
call fcn.0040ae78
mov byte [esp + 0x88], bl
lea ecx, [esp + 0x38]
call fcn.0040adee
mov eax, dword [esp + 0x18]
push 0x4111fc
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x407cf1
push 0x411180
jmp 0x407d14
mov ecx, dword [esp + 0x18]
push 0x4111f0
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x407d0f
push 0x411178
jmp 0x407d14
push 0x411170
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::operator_1
push 0x4111dc
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
lea edx, [esp + 0x3c]
push eax
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0x10
call fcn.0040ae78
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], bl
call fcn.0040adee
mov eax, dword [esp + 0x14]
push 2
push eax
mov ecx, esi
call fcn.00403170
test eax, eax
jne 0x407d99
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
call fcn.00403380
test eax, eax
je 0x407d92
push eax
mov ecx, edi
call fcn.00408bd0
mov ecx, esi
call fcn.004031c0
inc ebp
cmp ebp, 0xc2
jle 0x407b66
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 9
call fcn.0040adee
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 2
call fcn.0040adee
jmp 0x407ff2
cmp eax, 4
jne 0x407ff2
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [edi + 0x78]
push ebx
push ebx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x94], 0x11
call sub.MFC42.DLL_CStdioFile::Open
test eax, eax
jne 0x407e12
push 0x30
push 0x4110d0
push 0x4112d4
mov ecx, edi
call sub.MFC42.DLL_CWnd::MessageBoxA
jmp 0x407fe1
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x12
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 0x13
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0x14
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov bl, 0x15
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], bl
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
je 0x407f94
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
add edi, 0x68
push 0
push 0x4111dc
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Find
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x8c], 0x16
call fcn.0040ae78
lea ecx, [esp + 0x3c]
mov byte [esp + 0x88], bl
call fcn.0040adee
mov edx, dword [esp + 0x18]
push 0
push 0x4111dc
lea ecx, [esp + 0x20]
mov esi, dword [edx - 8]
call sub.MFC42.DLL_CString::Find
sub esi, eax
lea eax, [esp + 0x38]
dec esi
lea ecx, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x8c], 0x17
call fcn.0040ae78
lea ecx, [esp + 0x38]
mov byte [esp + 0x88], bl
call fcn.0040adee
mov ecx, dword [esp + 0x28]
push 2
push ecx
mov ecx, edi
call fcn.00403170
test eax, eax
jne 0x407f6c
mov edx, dword [esp + 0x14]
push 0x411180
push edx
call ebp
add esp, 8
test eax, eax
je 0x407f4d
mov eax, dword [esp + 0x14]
push 0x411178
push eax
call ebp
add esp, 8
test eax, eax
je 0x407f4d
mov ecx, dword [esp + 0x14]
push 0x411170
push ecx
call ebp
add esp, 8
test eax, eax
jne 0x407f6c
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
call fcn.00403380
mov ecx, edi
call fcn.004031c0
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Empty
lea eax, [esp + 0x18]
lea ecx, [esp + 0x44]
push eax
call sub.MFC42.DLL_CStdioFile::ReadString
test eax, eax
jne 0x407e76
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0x14
call fcn.0040adee
lea ecx, [esp + 0x28]
mov byte [esp + 0x88], 0x13
call fcn.0040adee
lea ecx, [esp + 0x34]
mov byte [esp + 0x88], 0x12
call fcn.0040adee
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 0x11
call fcn.0040adee
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 2
call fcn.0040aef6
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 1
call fcn.0040adee
lea ecx, [esp + 0x24]
mov byte [esp + 0x88], 0
call fcn.0040adee
lea ecx, [esp + 0x1c]
mov dword [esp + 0x88], 0xffffffff
call fcn.0040adee
mov ecx, dword [esp + 0x80]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x7c
ret