Function at 0x404cd4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x5c
call fcn.0043ff60
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 8]
mov dword [ecx + 0x2d8], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + 0x20]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x24]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp + 0x28]
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2d8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
add edx, 2
push edx
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.0043aa80
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.0043baa0
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2d8]
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.0043bb00
mov ecx, dword [ebp - 0x20]
add ecx, 0x30
call fcn.0043acd0
push 0x49ad90
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2d8]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2d8]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul qword [str.ffffff]
call fcn.00470110
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
shl eax, 3
mov dword [ebp - 0x18], eax
push 1
push 1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
push edx
push 0
mov ecx, dword [ebp - 0x20]
add ecx, 0x78
call fcn.00440130
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x20]
add ecx, 0x78
call fcn.00440380
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x2c], 0x8020
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2d8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
test edx, edx
je 0x404e57
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
or ecx, 1
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x14]
and eax, 2
test eax, eax
je 0x404e70
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2c]
or edx, 2
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0x14]
and ecx, 0x200
test ecx, ecx
je 0x404e8b
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x2c]
or al, 4
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x2c], eax
mov edx, dword [ebp - 0x14]
and edx, 0x80
test edx, edx
je 0x404ea7
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x2c]
or ch, 8
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x2c], ecx
mov eax, dword [ebp - 0x20]
push eax
push 0x4046e0
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x2d8]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.00405020
mov ecx, dword [ebp - 0x20]
call fcn.00404f33
mov esp, ebp
pop ebp
ret 0x24