Function at 0x445630
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x475647
mov eax, dword fs:[0]
push eax
sub esp, 0x940
mov eax, dword [0x49fba8]
xor eax, esp
mov dword [esp + 0x938], eax
push ebx
push esi
push edi
mov eax, dword [0x49fba8]
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 0x445a72
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 0x4456a4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, edi
je 0x445a6c
cmp esi, dword [ebx + 4]
jne 0x4456b7
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 0x445a56
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov byte [esp + 0x17], 1
jne 0x4456e2
call edi
cmp esi, dword [ebx + 4]
jne 0x4456e2
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 0x44570f
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 0x445990
cmp esi, dword [ebx + 4]
jne 0x44573b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x44576a
cmp esi, dword [ebx + 4]
jne 0x44574c
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 0x445763
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 0x445793
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x18], edi
cmp esi, dword [ebx + 4]
jne 0x4457a1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0
je 0x4457c4
cmp esi, dword [ebx + 4]
jne 0x4457b2
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 0x445884
cmp esi, dword [ebx + 4]
mov edi, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
jne 0x4457ee
call edi
mov eax, dword [esi + 0x14]
and eax, 7
cmp al, 7
jne 0x44580b
cmp esi, dword [ebx + 4]
jne 0x4457ff
call edi
mov dword [esi + 0x10], 2
jmp 0x445990
cmp esi, dword [ebx + 4]
jne 0x445812
call edi
mov ecx, dword [esi + 0x14]
and ecx, 9
cmp cl, 9
lea ecx, [esp + 0x18]
jne 0x445832
call fcn.004445d0
mov dword [eax + 8], 4
jmp 0x445990
call fcn.004445d0
mov edx, dword [eax + 0xc]
and edx, 3
cmp dl, 3
je 0x44586f
lea ecx, [esp + 0x18]
call fcn.004445d0
test byte [eax + 0xc], 2
jne 0x44586f
lea ecx, [esp + 0x18]
call fcn.004445d0
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 1
jmp 0x445990
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 3
jmp 0x445990
push str.ComboBox
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x4458ae
cmp esi, dword [ebx + 4]
jne 0x4458a2
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov dword [esi + 0x10], 5
jmp 0x445990
push str.Edit
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x4458d6
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 6
jmp 0x445990
push str.Static
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x4458fe
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 7
jmp 0x445990
push str.SysDateTimePick32
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x445923
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 8
jmp 0x445990
push str.SysListView32
lea ecx, [esp + 0x148]
push ecx
call edi
test eax, eax
jne 0x445948
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 9
jmp 0x445990
push str.ListBox
lea edx, [esp + 0x148]
push edx
call edi
test eax, eax
jne 0x44596d
lea ecx, [esp + 0x18]
call fcn.004445d0
mov dword [eax + 8], 0xa
jmp 0x445990
push str.ComboBoxEx32
lea eax, [esp + 0x148]
push eax
call edi
test eax, eax
jne 0x445990
lea ecx, [esp + 0x18]
call fcn.004445d0
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 0x4459b2
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 0x445a56
lea ecx, [esp + 0x144]
push ecx
lea ecx, [esp + 0x44]
call fcn.00419cb0
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 0x445a0f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
lea ecx, [esi + 0x38]
call dword [0x47a8b8]
push edi
lea ecx, [esi + 0x54]
call dword [0x47a8b8]
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 0x445a56
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
cmp esi, dword [ebx + 4]
jne 0x445a61
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
mov eax, dword [esp + 0x20]
jmp 0x445690
mov al, byte [esp + 0x17]
jmp 0x445a74
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.0046cc14
mov esp, ebp
pop ebp
ret