Function at 0x408a20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0a10
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x4bd040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0040d660
mov eax, dword [0x4bddc0]
lea ecx, [edi + 0xc]
mov dword [edi], eax
mov eax, dword [0x4bdd94]
mov dword [edi + 4], eax
mov eax, dword [0x4bdda4]
mov dword [edi + 8], eax
cmp ecx, 0x4bdd68
je 0x408a98
cmp dword [0x4bdd7c], 0xf
mov eax, 0x4bdd68
push dword [0x4bdd78]
cmova eax, dword [0x4bdd68]
push eax
call fcn.00441350
mov eax, dword [0x4bdd80]
mov dword [edi + 0x24], eax
lea eax, [ebp - 0x124]
movups xmm0, xmmword [0x4bdd84]
push eax
movups xmmword [edi + 0x28], xmm0
push dword [0x4bdd94]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ebp - 0x120]
sub ecx, eax
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x118]
sub eax, edx
mov dword [edi + 0x40], edx
push 0x104
mov dword [edi + 0x48], eax
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [edi + 0x44], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push dword [0x4bdd94]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
inc eax
push eax
lea eax, [ebp - 0x114]
push eax
push dword [0x4bdd94]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b26
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [edi + 0x4c]
call fcn.00441350
mov eax, dword [0x4bdda8]
mov ecx, dword [0x4bddac]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov dword [edi + 0x64], eax
mov dword [edi + 0x68], ecx
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4be0]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x150], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4c08]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x14c], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4c20]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x148], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4b70]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x144], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4bfc]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x140], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4c18]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x13c], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4b04]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x138], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4be0]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
mov dword [ebp - 0x134], eax
call esi
mov ecx, eax
call fcn.004b0480
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x4b63cc]
addss xmm0, xmm0
addss xmm0, dword [0x4b4c08]
cvtss2sd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sin_precise
cvtsd2ss xmm0, xmm0
sub esp, 8
mulss xmm0, dword [0x4b50c4]
addss xmm0, dword [0x4b50d4]
movss dword [ebp - 0x128], xmm0
fld dword [ebp - 0x128]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
add esp, 8
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x150]
sub ecx, eax
sar ecx, 2
push ecx
push eax
lea ecx, [edi + 0x6c]
call fcn.004ade00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004af21a
mov esp, ebp
pop ebp
ret 4