Function at 0x180002020
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov dword [rbp + 0x40], 0x49c464
mov eax, dword [rbp + 0x40]
mov eax, dword [rbp + 0x40]
imul ecx, eax, 0x33737982
sub ecx, 0x6be2c9fc
mov dword [rbp + 0x40], ecx
call fcn.180002370
mov byte [rbp + 0x48], 0x7a
xor edi, edi
mov byte [rbp + 0x49], 0x44
mov byte [rbp + 0x4a], 0xe
mov byte [rbp + 0x4b], 0x65
movzx eax, byte [rbp + 0x48]
mov byte [rbp + 0x4c], 0
movzx eax, byte [rbp + 0x4c]
test al, al
jne 0x1800020d4
mov r8d, edi
nop word [rax + rax]
movzx ecx, byte [rbp + r8 + 0x48]
mov eax, 0x65
sub eax, ecx
lea ecx, [rax + rax*4]
mov eax, 0x81020409
shl ecx, 3
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov eax, 0x81020409
add ecx, 0x7f
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub ecx, eax
mov byte [rbp + r8 + 0x48], cl
inc r8
cmp r8, 4
jb 0x180002080
mov byte [rbp + 0x50], 0x70
mov byte [rbp + 0x51], 0x62
mov byte [rbp + 0x52], 0x54
mov byte [rbp + 0x53], 0x46
mov byte [rbp + 0x54], 0x38
mov byte [rbp + 0x55], 0x24
movzx eax, byte [rbp + 0x50]
mov byte [rbp + 0x56], dil
movzx eax, byte [rbp + 0x56]
test al, al
jne 0x180002155
mov r9, rdi
nop
movzx ecx, byte [rbp + r9 + 0x50]
mov eax, 0x81020409
sub ecx, 0x24
lea r8d, [rcx + rcx*8]
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 + 0x50], r8b
inc r9
cmp r9, 6
jb 0x180002100
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_StrStrA]
mov dword [rbp + 0x40], 0x49c464
mov eax, dword [rbp + 0x40]
mov eax, dword [rbp + 0x40]
imul ecx, eax, 0x33737982
add ecx, 0x30782604
mov dword [rbp + 0x40], ecx
mov eax, dword [0x18000f030]
test eax, eax
je 0x18000230a
xor r9d, r9d
lea r8, [0x180005070]
lea rdx, [0x180005070]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rbp + 0x40], 0x49c464
xor r9d, r9d
mov eax, dword [rbp + 0x40]
xor r8d, r8d
mov eax, dword [rbp + 0x40]
imul ecx, eax, 0x33737982
lea edx, [r9 + 1]
add ecx, 0x2fe94604
mov dword [rbp + 0x40], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SendMessageA]
mov dword [rbp + 0x40], 0x49c464
xor r9d, r9d
mov eax, dword [rbp + 0x40]
xor edx, edx
mov eax, dword [rbp + 0x40]
mov r8d, 0x982
imul ecx, eax, 0x33737982
add ecx, 0x20a3b404
mov dword [rbp + 0x40], ecx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetTimer]
mov byte [rbp + 0x58], 0x39
mov byte [rbp + 0x59], 0xd
mov byte [rbp + 0x5a], 0x4e
mov byte [rbp + 0x5b], 0x63
mov byte [rbp + 0x5c], 0x2d
mov byte [rbp + 0x5d], 0x1a
movzx eax, byte [rbp + 0x58]
mov byte [rbp + 0x5e], dil
movzx eax, byte [rbp + 0x5e]
test al, al
jne 0x180002288
nop dword [rax + rax]
movzx ecx, byte [rbp + rdi + 0x58]
mov eax, 0x81020409
sub ecx, 0x1a
lea r8d, [rcx + rcx*2]
shl r8d, 2
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov eax, 0x81020409
add r8d, 0x7f
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + rdi + 0x58], r8b
inc rdi
cmp rdi, 6
jb 0x180002230
lea r8, [rbp + 0x58]
mov edx, 0x100
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_wnsprintfA]
mov r8d, 0x100
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetClassNameA]
mov r8d, 0x100
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetWindowTextA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [rbp + 0x40], 0x49c464
mov eax, dword [rbp + 0x40]
mov eax, dword [rbp + 0x40]
imul ecx, eax, 0x33737982
add ecx, 0x73798200
mov dword [rbp + 0x40], ecx
mov ecx, 0x82
call qword [sym.imp.USER32.dll_GetSysColor]
mov ecx, 0x102
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
mov dword [rbp + 0x40], 0x49c464
mov eax, dword [rbp + 0x40]
mov eax, dword [rbp + 0x40]
imul ecx, eax, 0x33737982
add ecx, 0x30782604
mov dword [rbp + 0x40], ecx
mov dword [rbp + 0x40], eax
mov eax, dword [rbp + 0x40]
mov eax, dword [rbp + 0x40]
inc eax
imul eax, eax, 0x33737982
mov dword [rbp + 0x40], eax
call fcn.180001d90
mov dword [rbp + 0x40], 0x49c464
mov eax, 1
mov ecx, dword [rbp + 0x40]
mov ecx, dword [rbp + 0x40]
imul edx, ecx, 0x33737982
add edx, 0x30782604
mov dword [rbp + 0x40], edx
add rsp, 0x120
pop rdi
pop rbx
pop rbp
ret