Function at 0x4d54ac
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
push rdi
push r12
push r14
sub rsp, 0x310
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rsi, rcx
xor ebx, ebx
mov word [rsp + 0x78], bx
xor eax, eax
mov qword [rsp + 0x7a], rax
mov dword [rsp + 0x82], eax
mov word [rsp + 0x86], ax
lea r8d, [rbx + 8]
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClassNameW]
cmp eax, ebx
je 0x4d5594
lea rdx, str.static
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, ebx
jne 0x4d5594
lea edi, [rbx - 0x10]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r8d, eax
bts r8d, 8
cmp eax, r8d
je 0x4d554c
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, edi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowLongW]
movzx ecx, al
cmp ecx, 3
je 0x4d558d
cmp ecx, 4
je 0x4d558d
cmp ecx, 5
je 0x4d558d
cmp ecx, 6
je 0x4d558d
cmp ecx, 7
je 0x4d558d
cmp ecx, 8
je 0x4d558d
cmp ecx, 9
je 0x4d558d
cmp ecx, 0xd
je 0x4d558d
cmp ecx, 0xe
je 0x4d558d
cmp ecx, 0xf
jne 0x4d5594
and byte [rsi + 0x94], 0xfe
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsi + 0x58], rax
mov r14d, 1
test byte [rsi + 0x94], r14b
je 0x4d567a
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov qword [rsi + 0x68], rax
cmp rax, rbx
jne 0x4d55ec
lea ecx, [r14 + 0xc]
call qword [sym.imp.GDI32.dll_GetStockObject]
mov qword [rsi + 0x68], rax
cmp qword [rsi + 0x68], rbx
je 0x4d567a
cmp qword [rsi + 0x60], rbx
jne 0x4d567a
mov dword [rsp + 0x90], ebx
xor edx, edx
lea r8d, [rdx + 0x58]
lea rcx, [rsp + 0x94]
call fcn.006aba40
lea r8, [rsp + 0x90]
mov edx, 0x5c
mov rcx, qword [rsi + 0x68]
call qword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [rsi + 0x90]
and eax, 0x30
cmp al, 0x30
jne 0x4d5647
mov dword [rsp + 0xa0], 0x2bc
jmp 0x4d5661
test byte [rsi + 0x90], r14b
movzx eax, byte [rsp + 0xa5]
cmove eax, r14d
mov byte [rsp + 0xa5], al
lea rcx, [rsp + 0x90]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov qword [rsi + 0x60], rax
or byte [rsi + 0x94], 8
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
mov r9, rbx
mov r8, qword [rsi + 8]
lea rdx, str.tooltips_class32
lea rcx, [rsi + 0x80]
call fcn.00407d50
cmp qword [rsi + 0x48], rbx
jne 0x4d5778
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, ebx
jle 0x4d5778
mov qword [rsp + 0x100], rbx
lea ebp, [rax + 1]
movsxd rcx, ebp
cmp rcx, rbx
je 0x4d5718
xor edx, edx
or rax, 0xffffffffffffffff
div rcx
cmp rax, 2
jb 0x4d570d
lea rdx, [rcx + rcx]
cmp rdx, 0x200
jbe 0x4d5718
lea rcx, [rsp + 0x100]
call fcn.00444f84
mov rdi, qword [rsp + 0x100]
jmp 0x4d5728
mov ecx, 0x80070057
call fcn.00401c88
int3
lea rdi, [rsp + 0x108]
mov qword [rsp + 0x100], rdi
cmp rdi, rbx
je 0x4d575e
mov r8d, ebp
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, ebx
jle 0x4d5756
mov rdx, rdi
mov rcx, rsi
call fcn.004d4d0c
mov rdi, qword [rsp + 0x100]
jmp 0x4d575e
mov rdi, qword [rsp + 0x100]
lea rax, [rsp + 0x108]
cmp rdi, rax
je 0x4d5778
lea rcx, [rsp + 0x100]
call fcn.004aefcc
mov rcx, rsi
call fcn.004d4f5c
cmp qword [rsi + 0x50], rbx
jne 0x4d57ae
mov eax, dword [rsi + 0x90]
shr eax, 2
test r14b, al
jne 0x4d57ae
mov rdx, qword [rsi + 0x48]
cmp rdx, rbx
je 0x4d5856
mov rcx, rsi
call fcn.004d51e4
jmp 0x4d5856
xor r9d, r9d
mov r8, r14
mov edx, 0x401
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, qword [rsi + 0x50]
lea rbp, [rsi + 0x70]
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rsp + 0x90]
call fcn.006aba40
mov dword [rsp + 0x90], 0x48
mov dword [rsp + 0x94], ebx
mov rax, qword [rsi + 8]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], r14
cmp rbp, rbx
je 0x4d581a
movdqu xmm0, xmmword [rbp]
movdqu xmmword [rsp + 0xa8], xmm0
mov rax, qword [0x00861be0]
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rbx
lea r9, [rsp + 0x90]
xor r8d, r8d
mov edx, 0x432
mov rcx, qword [rsi + 0x80]
call qword [sym.imp.USER32.dll_SendMessageW]
test byte [rsi + 0x94], r14b
je 0x4d5962
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0x58], ebx
mov qword [rsp + 0x330], rbx
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftInternet_ExplorerSettings
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x4d5962
mov rdi, qword [rsp + 0x330]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], ebx
mov word [rsp + 0x60], bx
xor eax, eax
mov qword [rsp + 0x62], rax
mov qword [rsp + 0x6a], rax
mov dword [rsp + 0x72], eax
mov word [rsp + 0x76], ax
lea r12d, [rax + 0xc]
mov dword [rsp + 0x330], r12d
lea r9, [rsp + 0x330]
lea r8, [rsp + 0x60]
lea rdx, str.Anchor_Color
lea rcx, [rsp + 0x50]
call fcn.004d5368
or ebp, 0xffffffff
cmp eax, ebx
jne 0x4d5916
lea rcx, [rsp + 0x60]
call fcn.004d53fc
cmp eax, ebp
je 0x4d5916
mov dword [rsi + 0x88], eax
mov dword [rsp + 0x330], r12d
lea r9, [rsp + 0x330]
lea r8, [rsp + 0x60]
lea rdx, str.Anchor_Color_Visited
lea rcx, [rsp + 0x50]
call fcn.004d5368
cmp eax, ebx
jne 0x4d5954
lea rcx, [rsp + 0x60]
call fcn.004d53fc
cmp eax, ebp
je 0x4d5954
mov dword [rsi + 0x8c], eax
cmp rdi, rbx
je 0x4d5962
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rdi
ret