Function at 0x42442c
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x4420be
call fcn.0043de50
mov eax, 0x1044
call fcn.0043e1a0
push ebx
push esi
push edi
lea eax, [ebp - 0x850]
push 0x800
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [sym.imp.MSVCRT.dll_wcslen]
push 1
test eax, eax
pop ebx
je 0x4244d6
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x20], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x850]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push dword [ebp + 0x10]
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004242b7
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x4244b4
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
lea ecx, [ebp - 0x40]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 4]
cmp edi, dword [eax + 8]
je 0x42458d
push dword [edi]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
mov dword [ebp - 0x10], eax
je 0x424582
lea ecx, [ebp - 0x1050]
push 0x800
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x424582
mov al, byte [ebp + 0xb]
push 0
lea ecx, [ebp - 0x30]
mov byte [ebp - 0x30], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea eax, [ebp - 0x1050]
push eax
call esi
pop ecx
push eax
lea eax, [ebp - 0x1050]
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004242b7
mov eax, dword [eax + 4]
add esp, 0xc
test eax, eax
jne 0x424560
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
lea ecx, [ebp - 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
or dword [ebp - 4], 0xffffffff
push ebx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov eax, dword [ebp + 0xc]
add edi, 4
jmp 0x4244dc
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret