Function at 0x4251b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4381a7
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x4508cc]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov eax, dword [0x4508cc]
xor eax, esp
push eax
lea eax, [esp + 0x950]
mov dword fs:[0], eax
mov eax, ecx
mov ebx, dword [eax + 8]
xor cl, cl
test ebx, ebx
mov dword [esp + 0x20], eax
mov byte [esp + 0x17], cl
je 0x4255f2
mov ecx, dword [ebx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x18], ebx
mov eax, dword [eax + 8]
cmp ebx, eax
mov edi, dword [eax + 4]
mov dword [esp + 0x1c], esi
je 0x425224
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x4255ec
cmp esi, dword [ebx + 4]
jne 0x425237
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4255d6
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x17], 1
jne 0x425262
call edi
cmp esi, dword [ebx + 4]
jne 0x425262
call edi
mov ecx, dword [esi + 8]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x400
lea edx, [esp + 0x148]
push 0
push edx
mov dword [esi + 0x14], eax
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, dword [ebx + 4]
jne 0x42528f
call edi
mov ecx, dword [esi + 8]
push 0x400
lea eax, [esp + 0x148]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClassNameW]
mov edi, eax
test edi, edi
jle 0x425510
cmp esi, dword [ebx + 4]
jne 0x4252bb
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x4252ea
cmp esi, dword [ebx + 4]
jne 0x4252cc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0x18]
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x4252e3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], 0
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MFC80U.DLL_Ordinal_265
add esp, 4
cmp esi, dword [ebx + 4]
mov edi, eax
jne 0x425313
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], edi
cmp esi, dword [ebx + 4]
jne 0x425321
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x425344
cmp esi, dword [ebx + 4]
jne 0x425332
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0x18]
lea eax, [esp + 0x144]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push str.Button
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x425404
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x42536e
call edi
mov eax, dword [esi + 0x14]
and eax, 7
cmp al, 7
jne 0x42538b
cmp esi, dword [ebx + 4]
jne 0x42537f
call edi
mov dword [esi + 0x10], 2
jmp 0x425510
cmp esi, dword [ebx + 4]
jne 0x425392
call edi
mov ecx, dword [esi + 0x14]
and ecx, 9
cmp cl, 9
lea ecx, [esp + 0x18]
jne 0x4253b2
call fcn.004249a0
mov dword [eax + 8], 4
jmp 0x425510
call fcn.004249a0
mov edx, dword [eax + 0xc]
and edx, 3
cmp dl, 3
je 0x4253ef
lea ecx, [esp + 0x18]
call fcn.004249a0
test byte [eax + 0xc], 2
jne 0x4253ef
lea ecx, [esp + 0x18]
call fcn.004249a0
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 1
jmp 0x425510
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 3
jmp 0x425510
push str.ComboBox
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x42542e
cmp esi, dword [ebx + 4]
jne 0x425422
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x10], 5
jmp 0x425510
push str.Edit
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x425456
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 6
jmp 0x425510
push str.Static
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x42547e
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 7
jmp 0x425510
push str.SysDateTimePick32
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x4254a3
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 8
jmp 0x425510
push str.SysListView32
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x4254c8
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 9
jmp 0x425510
push 0x44203c
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x4254ed
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 0xa
jmp 0x425510
push 0x43e644
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x425510
lea ecx, [esp + 0x18]
call fcn.004249a0
mov dword [eax + 8], 0xb
push 0x400
lea ecx, [esp + 0x148]
push 0
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp esi, dword [ebx + 4]
jne 0x425532
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 8]
push 0x400
lea edx, [esp + 0x148]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4255d6
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x44]
call fcn.004031a0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x95c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov edi, eax
cmp esi, dword [ebx + 4]
mov byte [esp + 0x958], 1
jne 0x42558f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea ecx, [esi + 0x38]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push edi
lea ecx, [esi + 0x54]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [esp + 0x24]
mov byte [esp + 0x958], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x44]
cmp eax, edx
mov dword [esp + 0x958], 0xffffffff
je 0x4255d6
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x4255e1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
jmp 0x425210
mov al, byte [esp + 0x17]
jmp 0x4255f4
mov al, cl
mov ecx, dword [esp + 0x950]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x938]
xor ecx, esp
call fcn.00412bbe
mov esp, ebp
pop ebp
ret