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

Disassembly:
push 0xffffffffffffffff
push 0x584ff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], 1
test eax, eax
jne 0x4c6aab
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
mov eax, dword [esi + 0xd38]
push ebx
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1009
push eax
call edi
mov ecx, dword [esi + 0xd38]
push 0
push 0
push 0xb
push ecx
call edi
mov ebx, dword [0x5f385c]
xor ebp, ebp
inc ebx
mov dword [0x5f385c], ebx
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0xc0]
test ecx, ecx
jle 0x4c6b4e
mov edx, dword [eax + 0xc4]
mov edi, 0x5e0b50
mov edx, dword [edx + ebp*4]
lea eax, [edx + 0x520]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x4c6b29
test cl, cl
je 0x4c6b25
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x4c6b29
add eax, 2
add edi, 2
test cl, cl
jne 0x4c6b05
xor eax, eax
jmp 0x4c6b2e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c6b3c
push 0
push edx
mov ecx, esi
call fcn.004c8820
mov eax, dword [esi + 0x60]
inc ebp
cmp ebp, dword [eax + 0xc0]
jl 0x4c6af1
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0xd38]
push 0
push 1
push 0xb
push eax
call edi
mov ecx, dword [esi + 0x1764]
mov eax, dword [ecx + 0x1b0]
test eax, eax
je 0x4c6b81
lea edi, [esi + 0xd18]
push 0
mov ecx, edi
call fcn.00493cf0
jmp 0x4c6cbd
mov ebx, 0x5934ec
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call fcn.004374d0
mov eax, dword [esp + 0x1c]
mov edx, dword [esi + 0x1764]
mov ebp, eax
inc eax
mov edi, dword [edx + 0x5d68]
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x1c]
call fcn.004374d0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov dword [eax + ebp*4], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1764]
mov ebp, eax
inc eax
mov edi, dword [ecx + 0x5d74]
push eax
lea ecx, [esp + 0x1c]
call fcn.004374d0
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [edx + ebp*4], edi
mov eax, dword [esi + 0x1764]
mov edi, dword [eax + 0x5d80]
mov eax, dword [esp + 0x20]
mov ebp, eax
inc eax
push eax
call fcn.004374d0
mov ecx, dword [esp + 0x18]
push 0xffffffffffffffff
mov dword [ecx + ebp*4], edi
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x1764]
mov ebp, eax
inc eax
lea ecx, [esp + 0x18]
mov edi, dword [edx + 0x5d70]
push eax
call fcn.004374d0
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
mov dword [eax + ebp*4], edi
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x1764]
mov ebp, eax
inc eax
mov edi, dword [ecx + 0x5d78]
push eax
lea ecx, [esp + 0x1c]
call fcn.004374d0
mov edx, dword [esp + 0x18]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov dword [edx + ebp*4], edi
mov eax, dword [esi + 0x1764]
mov edi, dword [eax + 0x5d7c]
mov eax, dword [esp + 0x20]
mov ebp, eax
inc eax
push eax
call fcn.004374d0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
mov dword [ecx + ebp*4], edi
lea edi, [esi + 0xd18]
push edx
mov ecx, edi
call fcn.00494030
mov eax, dword [esp + 0x18]
mov byte [esp + 0x30], 1
test eax, eax
mov dword [esp + 0x14], ebx
je 0x4c6cbd
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetFocus
mov eax, dword [esi + 0x1764]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
xor ebp, ebp
cmp eax, ebp
mov dword [esi + 0x1fbc], ebp
je 0x4c6e0a
cmp dword [eax + 0x4d34], ebp
jne 0x4c6e0a
cmp ecx, ebp
je 0x4c744b
cmp edx, ebp
jne 0x4c6f35
mov eax, dword [esp + 0x40]
push 0x5f3788
push eax
call edi
add esp, 8
test eax, eax
jne 0x4c6f35
mov ecx, dword [esi + 0x60]
lea eax, [ecx + 0xa5c]
cmp eax, ebp
je 0x4c6f35
cmp dword [eax + 0x20], ebp
je 0x4c6f35
cmp dword [ecx + 0xa7c], ebp
je 0x4c6f35
mov ecx, dword [eax + 0x20]
push ebp
push ebp
push 0x1004
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebp
jle 0x4c6f0a
mov eax, dword [esi + 0x60]
push 2
add eax, 0xa5c
push ebp
push 0x102c
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 2
jne 0x4c6de1
mov eax, dword [esi + 0xd38]
xor edi, edi
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x4c6de1
mov ecx, dword [esi + 0x60]
push ebp
add ecx, 0xa5c
call sub.MFC42.DLL_CListCtrl::GetItemData
push edi
lea ecx, [esi + 0xd18]
mov ebx, eax
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp ebx, eax
je 0x4c6dd1
mov ecx, dword [esi + 0xd38]
push 0
push 0
push 0x1004
push ecx
inc edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x4c6d93
jmp 0x4c6de1
push 2
push 2
push edi
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::SetItemState
mov eax, dword [esi + 0x60]
push 0
add eax, 0xa5c
push 0
push 0x1004
inc ebp
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, eax
jl 0x4c6d5a
jmp 0x4c6f0a
cmp eax, ebp
je 0x4c6f35
cmp dword [eax + 0x4d34], 1
jne 0x4c6f35
cmp ecx, ebp
je 0x4c744b
cmp edx, ebp
jne 0x4c6f35
mov ecx, dword [esp + 0x40]
push 0x5f3788
push ecx
call edi
add esp, 8
test eax, eax
jne 0x4c6f35
mov eax, dword [esi + 0x60]
lea ecx, [eax + 0x618]
cmp ecx, ebp
je 0x4c6f35
cmp dword [ecx + 0x20], ebp
je 0x4c6f35
cmp dword [eax + 0x638], ebp
je 0x4c6f35
call fcn.004b7380
cmp eax, ebp
mov dword [esp + 0x10], eax
je 0x4c6f0a
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x60]
push edx
add ecx, 0x618
call sub.MFC42.DLL_CTreeCtrl::GetItemData
mov ebx, eax
test ebx, ebx
je 0x4c6eeb
mov eax, dword [esi + 0xd38]
xor edi, edi
push edi
push edi
push 0x1004
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jle 0x4c6eeb
lea ebp, [esi + 0xd18]
push edi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::GetItemData
cmp eax, ebx
je 0x4c6edf
mov ecx, dword [esi + 0xd38]
push 0
push 0
push 0x1004
push ecx
inc edi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jl 0x4c6eb0
jmp 0x4c6eeb
push 2
push 2
push edi
mov ecx, ebp
call sub.MFC42.DLL_CListCtrl::SetItemState
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x60]
push edx
add ecx, 0x618
call fcn.004b73d0
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4c6e7d
mov eax, dword [esi + 0xd38]
push 0
push 0
push 0x1032
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
mov ecx, esi
mov dword [esi + 0x1fbc], eax
call fcn.004c76b0
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4c744b
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4c70a9
mov ecx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push ecx
call edi
test eax, eax
jle 0x4c742a
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::GetItemData
test eax, eax
je 0x4c7083
lea ebp, [eax + 0x104]
mov edi, 0x5f3788
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c6fb2
test cl, cl
je 0x4c6fae
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c6fb2
add eax, 2
add edi, 2
test cl, cl
jne 0x4c6f8e
xor eax, eax
jmp 0x4c6fb7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c7083
mov edi, dword [esi + 0x1760]
test edi, edi
je 0x4c7002
add edi, 0x94
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c6ff5
test cl, cl
je 0x4c6ff1
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c6ff5
add eax, 2
add edi, 2
test cl, cl
jne 0x4c6fd1
xor eax, eax
jmp 0x4c6ffa
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c7083
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x3c]
push ebp
push eax
lea ecx, [esp + 0x40]
push str._08x_s
push ecx
mov byte [esp + 0x40], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x44]
push edx
push ecx
lea ecx, [eax + 0x208]
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x4c7067
push 2
push 2
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::SetItemState
lea ecx, [esp + 0x44]
mov byte [esp + 0x30], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
inc ebx
call edi
cmp ebx, eax
jl 0x4c6f6d
jmp 0x4c742a
mov ecx, dword [esp + 0x40]
push 0x5f3788
push ecx
call edi
add esp, 8
test eax, eax
je 0x4c72e1
mov edx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push edx
call edi
test eax, eax
jle 0x4c742a
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::GetItemData
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c72bb
mov eax, dword [esi + 0x60]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4c72bb
mov ecx, dword [esp + 0x10]
mov edi, 0x5f3788
lea ebp, [ecx + 0x104]
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c713b
test cl, cl
je 0x4c7137
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c713b
add eax, 2
add edi, 2
test cl, cl
jne 0x4c7117
xor eax, eax
jmp 0x4c7140
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c72bb
mov edi, dword [esi + 0x1760]
test edi, edi
je 0x4c718b
add edi, 0x94
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c717e
test cl, cl
je 0x4c717a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c717e
add eax, 2
add edi, 2
test cl, cl
jne 0x4c715a
xor eax, eax
jmp 0x4c7183
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c72bb
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c725d
mov eax, dword [esp + 0x40]
push 0x5e9a44
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4c71bc
push 0x5f3788
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
xor edi, edi
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x3c]
push ecx
push ebp
mov ecx, dword [edx + 0x78]
mov byte [esp + 0x38], 5
add ecx, 0x5e28
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
jne 0x4c71ec
mov edi, 1
mov eax, dword [esp + 0x3c]
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x5e0b58
push eax
call ebp
add esp, 8
test eax, eax
je 0x4c7209
test edi, edi
je 0x4c7252
mov ecx, dword [esp + 0x10]
add ecx, 0x9e
push ecx
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
call ebp
add esp, 8
test eax, eax
jne 0x4c7252
push 2
push 2
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::SetItemState
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x3c]
jmp 0x4c72b6
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_5
mov edx, dword [esi + 0x60]
lea ecx, [esp + 0x38]
push ecx
push ebp
mov ecx, dword [edx + 0x78]
mov byte [esp + 0x38], 6
add ecx, 0x5e28
call sub.MFC42.DLL_CMapStringToString::Lookup
test eax, eax
je 0x4c72ad
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x4c72ad
push 2
push 2
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::SetItemState
mov byte [esp + 0x30], 1
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
inc ebx
call edi
cmp ebx, eax
jl 0x4c70e0
jmp 0x4c742a
mov ecx, dword [esp + 0x48]
push 0x5f3788
push ecx
call edi
add esp, 8
test eax, eax
je 0x4c744b
mov edx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x1004
push edx
call edi
test eax, eax
jle 0x4c742a
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::GetItemData
test eax, eax
je 0x4c7409
mov ecx, dword [esi + 0x60]
mov edx, dword [ecx + 0x78]
test edx, edx
je 0x4c7409
lea ebp, [eax + 0x104]
mov edi, 0x5f3788
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c736b
test cl, cl
je 0x4c7367
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c736b
add eax, 2
add edi, 2
test cl, cl
jne 0x4c7347
xor eax, eax
jmp 0x4c7370
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c7409
mov edi, dword [esi + 0x1760]
test edi, edi
je 0x4c73b7
add edi, 0x94
mov eax, ebp
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x4c73ae
test cl, cl
je 0x4c73aa
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x4c73ae
add eax, 2
add edi, 2
test cl, cl
jne 0x4c738a
xor eax, eax
jmp 0x4c73b3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4c7409
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_5
push ebp
lea eax, [esp + 0x40]
push 0x5e9b2c
push eax
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x48]
add esp, 0xc
push ecx
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x4c73fb
push 2
push 2
push ebx
lea ecx, [esi + 0xd18]
call sub.MFC42.DLL_CListCtrl::SetItemState
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0xd38]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x1004
push edx
inc ebx
call edi
cmp ebx, eax
jl 0x4c7318
mov eax, dword [esi + 0xd38]
push 0
push 0
push 0x1032
push eax
call edi
push 1
mov ecx, esi
mov dword [esi + 0x1fbc], eax
call fcn.004c76b0
mov eax, dword [0x5f385c]
lea ecx, [esp + 0x40]
dec eax
mov byte [esp + 0x30], 0
mov dword [0x5f385c], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
pop edi
pop ebp
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14