Function at 0x429710
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4377c7
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x44fcc4]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov eax, dword [0x44fcc4]
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 0x429b52
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 0x429784
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x429b4c
cmp esi, dword [ebx + 4]
jne 0x429797
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 0x429b36
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x17], 1
jne 0x4297c2
call edi
cmp esi, dword [ebx + 4]
jne 0x4297c2
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 0x4297ef
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 0x429a70
cmp esi, dword [ebx + 4]
jne 0x42981b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x42984a
cmp esi, dword [ebx + 4]
jne 0x42982c
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 0x429843
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 0x429873
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], edi
cmp esi, dword [ebx + 4]
jne 0x429881
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x4298a4
cmp esi, dword [ebx + 4]
jne 0x429892
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 0x429964
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x4298ce
call edi
mov eax, dword [esi + 0x14]
and eax, 7
cmp al, 7
jne 0x4298eb
cmp esi, dword [ebx + 4]
jne 0x4298df
call edi
mov dword [esi + 0x10], 2
jmp 0x429a70
cmp esi, dword [ebx + 4]
jne 0x4298f2
call edi
mov ecx, dword [esi + 0x14]
and ecx, 9
cmp cl, 9
lea ecx, [esp + 0x18]
jne 0x429912
call fcn.00428ea0
mov dword [eax + 8], 4
jmp 0x429a70
call fcn.00428ea0
mov edx, dword [eax + 0xc]
and edx, 3
cmp dl, 3
je 0x42994f
lea ecx, [esp + 0x18]
call fcn.00428ea0
test byte [eax + 0xc], 2
jne 0x42994f
lea ecx, [esp + 0x18]
call fcn.00428ea0
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 1
jmp 0x429a70
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 3
jmp 0x429a70
push str.ComboBox
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x42998e
cmp esi, dword [ebx + 4]
jne 0x429982
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x10], 5
jmp 0x429a70
push str.Edit
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x4299b6
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 6
jmp 0x429a70
push 0x441450
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x4299de
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 7
jmp 0x429a70
push str.SysDateTimePick32
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x429a03
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 8
jmp 0x429a70
push 0x441410
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x429a28
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 9
jmp 0x429a70
push str.ListBox
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x429a4d
lea ecx, [esp + 0x18]
call fcn.00428ea0
mov dword [eax + 8], 0xa
jmp 0x429a70
push 0x43dfac
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x429a70
lea ecx, [esp + 0x18]
call fcn.00428ea0
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 0x429a92
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 0x429b36
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x44]
call fcn.00402f30
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 0x429aef
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 0x429b36
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x429b41
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
jmp 0x429770
mov al, byte [esp + 0x17]
jmp 0x429b54
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.0041583a
mov esp, ebp
pop ebp
ret