Function at 0x418800
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41e81f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString_2
mov esi, dword [esp + 0x3c]
mov ebx, 2
test esi, esi
mov byte [esp + 0x30], bl
je 0x418949
push ebp
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
lea eax, [esp + 0x1c]
push esi
push eax
mov ecx, edi
call sub.MFC42.DLL_CTreeCtrl::GetItemText
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
push 1
push 0x5c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x20]
push 1
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x18]
mov eax, dword [eax]
push edx
push eax
call ebp
add esp, 8
test eax, eax
je 0x4188ce
mov ecx, dword [esp + 0x10]
xor eax, eax
mov byte [esp + 0x40], 1
mov edx, dword [ecx - 8]
test edx, edx
sete al
test eax, eax
je 0x4188d3
mov byte [esp + 0x40], 0
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x40]
test al, al
je 0x4188fc
push 0x5c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator_1
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 5
call sub.MFC42.DLL_CString::operator_2
lea ecx, [esp + 0x24]
mov byte [esp + 0x34], bl
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi + 0x20]
push esi
push 3
push 0x110a
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jne 0x41885b
pop ebp
push 0x4271c8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x418967
push 5
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Delete
push 0x4271b8
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x418985
push 0xd
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Delete
push 0x426404
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x4189c6
lea eax, [esp + 0x3c]
mov ecx, edi
push eax
call fcn.00418ce0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x426404
mov byte [esp + 0x38], 6
call sub.MFC42.DLL_CString::Replace_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push 0x427178
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x418a07
lea ecx, [esp + 0x3c]
push ecx
mov ecx, edi
call fcn.00418bc0
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push eax
push 0x427178
mov byte [esp + 0x38], 7
call sub.MFC42.DLL_CString::Replace_1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], bl
call sub.MFC42.DLL_CString::CString
push 0x42716c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x418a25
push 8
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Delete
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x418a40
push 1
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Delete
mov edx, dword [esp + 0xc]
cmp dword [edx - 8], ebx
jne 0x418a54
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_3
mov dword [esp + 0x24], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8