Function at 0x549f70
Capabilities:
Get graphical window text
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59ff3d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e4
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x208]
mov ebp, dword [esp + 0x204]
push ebx
mov ecx, ebp
mov dword [esp + 0x200], 0
call sub.MFC42.DLL_CTreeCtrl::ItemHasChildren
mov edi, dword [esp + 0x20c]
test eax, eax
je 0x54a507
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 4
push 0x110a
push eax
call ebx
test eax, eax
mov dword [esp + 0x18], eax
je 0x54a507
push eax
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::GetCheck
lea ecx, [esp + 0xec]
mov dword [esp + 0x3c], eax
call fcn.0054a680
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x154]
mov byte [esp + 0x204], 1
call fcn.0054c0c0
lea edx, [esp + 0xac]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x204], 2
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x158]
mov byte [esp + 0x200], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x200], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 0x10]
add esi, 0x14
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x1fc], 3
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xbc]
call fcn.0054a680
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x18c]
mov byte [esp + 0x204], 4
call fcn.0054c0c0
push eax
lea eax, [esp + 0xb8]
push eax
mov ecx, edi
mov byte [esp + 0x204], 5
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x190]
mov byte [esp + 0x200], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xc4]
mov byte [esp + 0x200], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x10], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x48]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x58]
mov al, byte [esp + 0x3b]
mov dword [esi + 0x24], edx
xor esi, esi
mov byte [esp + 0x28], al
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1fc], 6
push ecx
push esi
lea ecx, [esp + 0x30]
call fcn.0054c230
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 0x20]
push edx
push 4
push 0x110a
push eax
call ebx
cmp eax, esi
mov dword [esp + 0x1c], eax
je 0x54a492
push eax
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::GetCheck
lea ecx, [esp + 0x11c]
mov dword [esp + 0x40], eax
call fcn.0054a680
lea ecx, [esp + 0x1c]
push eax
push ecx
lea ecx, [esp + 0x1c4]
mov byte [esp + 0x204], 7
call fcn.0054c0c0
lea edx, [esp + 0x9c]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x204], 8
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x200], 7
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x124]
mov byte [esp + 0x200], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 0x10]
add esi, 0x14
push esi
lea ecx, [esp + 0x64]
mov dword [esp + 0x60], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x1fc], 9
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0xd4]
call fcn.0054a680
lea edx, [esp + 0x1c]
push eax
push edx
lea ecx, [esp + 0x170]
mov byte [esp + 0x204], 0xa
call fcn.0054c0c0
push eax
lea eax, [esp + 0x98]
push eax
mov ecx, edi
mov byte [esp + 0x204], 0xb
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x174]
mov byte [esp + 0x200], 0xa
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0xdc]
mov byte [esp + 0x200], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x5c]
mov dword [esi + 0x10], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x60]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x40]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0054c230
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x20]
push edx
push 4
push 0x110a
push eax
call ebx
test eax, eax
mov dword [esp + 0x10], eax
je 0x54a453
push eax
mov ecx, ebp
call sub.MFC42.DLL_CTreeCtrl::GetCheck
lea ecx, [esp + 0x104]
mov dword [esp + 0x24], eax
call fcn.0054a680
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1a8]
mov byte [esp + 0x204], 0xc
call fcn.0054c0c0
lea edx, [esp + 0xa4]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x204], 0xd
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x200], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x10c]
mov byte [esp + 0x200], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esi + 0x10]
add esi, 0x14
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x1fc], 0xe
mov dword [esp + 0x88], ecx
lea ecx, [esp + 0x134]
call fcn.0054a680
lea edx, [esp + 0x10]
push eax
push edx
lea ecx, [esp + 0x1e0]
mov byte [esp + 0x204], 0xf
call fcn.0054c0c0
push eax
lea eax, [esp + 0x90]
push eax
mov ecx, edi
mov byte [esp + 0x204], 0x10
call fcn.0054bdd0
mov esi, dword [eax]
push 1
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x200], 0xf
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x13c]
mov byte [esp + 0x200], 0xe
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x10], ecx
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x78]
mov eax, dword [edx]
push eax
push 0
push ecx
lea ecx, [esi + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [esp + 0x88]
lea eax, [esp + 0x24]
mov dword [esi + 0x24], edx
mov ecx, dword [esp + 0x30]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0054c230
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push 1
mov ecx, dword [eax + 0xc0]
push 0x110a
push ecx
call ebx
push 1
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], eax
mov byte [esp + 0x200], 9
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x54a2c9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push edx
push 1
mov ecx, dword [eax + 0xc0]
push 0x110a
push ecx
call ebx
push 1
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], eax
mov byte [esp + 0x200], 6
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x54a164
xor esi, esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push 1
mov ecx, dword [eax + 0xc0]
push 0x110a
push ecx
call ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x204], 3
call fcn.0054c3d0
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
push 1
mov dword [esp + 0x38], esi
mov byte [esp + 0x200], 0
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [esp + 0x18]
cmp eax, esi
jne 0x549fe5
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x24]
mov ecx, edi
push edx
call fcn.0054be30
mov eax, dword [eax]
mov ecx, dword [edi + 4]
cmp eax, ecx
mov dword [esp + 0x20], eax
je 0x54a645
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov bl, 0x12
push 0x5fd02c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push 0x5fd02c
lea ecx, [esp + 0x18]
mov byte [esp + 0x200], 0x11
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
mov byte [esp + 0x1fc], bl
mov ecx, dword [eax + 0x24]
push ecx
push 0x5e2418
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x54a581
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x1fc], 0x13
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x54a5a6
push eax
push 0x5e2418
jmp 0x54a5d3
mov eax, dword [esp + 0x24]
push 0x5fd02c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x54a5fb
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x54a5cd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x5e227c
lea edx, [esp + 0x18]
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0xf8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x21c]
add esp, 0xc
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
push edx
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x1fc], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1fc], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1fc], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
call fcn.0054cde0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
jne 0x54a52c
lea ecx, [esp + 0x210]
mov dword [esp + 0x1fc], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1f4]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1f0
ret 0x10