Function at 0x45dd14
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x530c37
call fcn.004ea774
sub esp, 0xe8
mov eax, dword [0x58c61c]
and dword [ebp - 0x34], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
push 0
push eax
mov dword [ebp - 4], 1
push dword [ebp + 0xc]
call fcn.0045dc22
mov esi, eax
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x20], eax
mov eax, dword [0x58c61c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x38], eax
push str._table_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00505b46
push str._tr__td__font_colordarkblue_Window__font__table_border1_
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00505eb4
mov ebx, 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0xf4]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Class_name
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
lea eax, [ebp - 0xf4]
push ebx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xf4]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Title
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00505ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.00505ad8
push esi
lea eax, [ebp - 0x14]
push str.0x_08X
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Handle
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
mov esi, 0x57db50
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Control_ID
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 8
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
push 0xfffffffffffffff0
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
lea eax, [ebp - 0x14]
push str.0x_08X
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Styles
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push str.__d___d____d___d_
push eax
call fcn.00501ac9
add esp, 0x18
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.RECT
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Width
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Height
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xc
call fcn.00505ef0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.00505ad8
lea eax, [ebp - 0x74]
mov ecx, edi
push eax
push dword [ebp + 0xc]
call fcn.0045e443
test eax, eax
mov eax, 0x5821a4
jne 0x45e022
mov eax, 0x5821a0
push eax
lea ecx, [ebp - 0x14]
call fcn.00505c61
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Has_Tooltip
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xd
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
push str.__table___td_
lea ecx, [ebp - 0x18]
call fcn.00505eb4
push str._td__font_colordarkblue_Window_Owner__font__table_border1_
lea ecx, [ebp - 0x18]
call fcn.00505eb4
cmp dword [ebp - 0x20], 0
je 0x45e0da
lea eax, [ebp - 0xf4]
push ebx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetClassNameA]
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00505b46
push dword [eax]
lea eax, [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 0xe
push eax
call fcn.0045e3a6
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00505c11
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.00505ad8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00505ad8
jmp 0x45e0e7
push 0x582140
lea ecx, [ebp - 0x14]
call fcn.00505c61
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Class_name
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x10
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
cmp dword [ebp - 0x20], 0
je 0x45e17c
lea eax, [ebp - 0xf4]
push ebx
push eax
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0x1c]
push eax
call fcn.00505b46
push dword [eax]
lea eax, [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 0x11
push eax
call fcn.0045e3a6
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x12
call fcn.00505c11
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x11
call fcn.00505ad8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00505ad8
jmp 0x45e189
push 0x582140
lea ecx, [ebp - 0x14]
call fcn.00505c61
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Title
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
push dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push str.0x_08X
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Handle
call fcn.00505b46
lea eax, [ebp - 0x10]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x14
call fcn.00505ef0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00505ad8
push str.__table_
lea ecx, [ebp - 0x18]
call fcn.00505eb4
push str._br__font_colordarkblue_Mouse_Cursor__font__table_border1_
lea ecx, [ebp - 0x18]
call fcn.00505eb4
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebx]
push esi
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x57fc64
call fcn.00505b46
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x15
call fcn.00505ef0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00505ad8
push dword [ebx + 4]
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00501ac9
add esp, 0xc
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0x5820fc
call fcn.00505b46
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
call fcn.0045e319
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x16
call fcn.00505ef0
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00505ad8
push str.__table___td___tr___table_
lea ecx, [ebp - 0x18]
call fcn.00505eb4
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0050584d
mov dword [ebp - 0x34], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00505ad8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00505ad8
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00505ad8
and byte [ebp - 4], 0
lea ecx, [ebp - 0x60]
call fcn.00505ad8
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8