Function at 0x1400851e0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push r12
push r13
lea rbp, [rsp - 0x1190]
mov eax, 0x1290
call fcn.14010cf70
sub rsp, rax
mov r13, r8
mov r12, rcx
test rcx, rcx
jne 0x140085219
xor eax, eax
add rsp, 0x1290
pop r13
pop r12
pop rbp
ret
mov qword [rsp + 0x12c0], rbx
mov qword [rsp + 0x1288], rsi
mov qword [rsp + 0x1280], rdi
mov qword [rsp + 0x1278], r14
mov qword [rsp + 0x1270], r15
call fcn.1400847f0
xor r14d, r14d
mov rcx, r12
mov dword [rsp + 0x20], eax
mov dword [rbp + 0x11c8], r14d
call qword [sym.imp.USER32.dll_GetParent]
lea rdx, [rsp + 0x24]
mov rcx, r12
mov qword [rsp + 0x30], rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rbx, [rsp + 0x38]
lea edi, [r14 + 7]
nop dword [rax]
mov rcx, qword [rbx - 8]
test rcx, rcx
je 0x140085291
call qword [sym.imp.USER32.dll_GetParent]
jmp 0x140085294
mov rax, r14
mov qword [rbx], rax
test rax, rax
je 0x1400852b7
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x24], eax
je 0x1400852b7
mov qword [rbx], r14
add rbx, 8
dec rdi
jne 0x140085280
lea rdx, [rsp + 0x70]
mov r8d, 0x100
mov rcx, r12
mov word [rsp + 0x70], r14w
mov word [rbp + 0x170], r14w
mov word [rbp + 0x370], r14w
mov word [rbp + 0x570], r14w
mov word [rbp + 0x770], r14w
mov word [rbp + 0x970], r14w
mov word [rbp + 0xb70], r14w
mov word [rbp + 0xd70], r14w
mov word [rbp + 0xf70], r14w
call qword [sym.imp.USER32.dll_GetClassNameW]
lea r8d, [rdi + 0xb]
lea rdx, [rsp + 0x70]
lea rcx, str.HwndWrapper
call fcn.14010e2f0
mov ecx, r14d
mov edx, 0x4000
test eax, eax
mov r15d, 8
lea rbx, [rsp + 0x30]
cmove ecx, edx
lea rdi, [rbp + 0x170]
mov esi, r15d
mov dword [rbp + 0x11b0], ecx
mov rcx, qword [rbx]
test rcx, rcx
je 0x14008536e
mov r8d, 0x100
mov rdx, rdi
call qword [sym.imp.USER32.dll_GetClassNameW]
add rdi, 0x200
add rbx, r15
dec rsi
jne 0x140085357
xor ecx, ecx
call fcn.1401072e0
mov rdi, rax
cmp qword [rax], r14
je 0x14008540b
nop dword [rax]
xor eax, eax
mov ebx, eax
mov esi, eax
mov ecx, dword [rdi + 0x10]
bt ecx, ebx
jae 0x1400853c8
mov rcx, qword [rdi]
movsxd rax, ebx
lea rdx, [rbp + 0x170]
shl rax, 9
add rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1400853c8
xor ecx, ecx
call fcn.1401023d0
cmp eax, dword [rdi + 8]
jge 0x1400853d4
inc ebx
inc rsi
cmp ebx, r15d
jl 0x140085396
jmp 0x1400853de
mov r14, qword [rsp + rsi*8 + 0x30]
test r14, r14
jne 0x14008540b
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1400853fc
xor ecx, ecx
call fcn.1401023d0
cmp eax, dword [rdi + 8]
jge 0x140085408
add rdi, 0x20
cmp qword [rdi], 0
jne 0x140085390
jmp 0x14008540b
mov r14, r12
xor edx, edx
mov esi, edx
lea ecx, [rdx + 1]
test r14, r14
je 0x14008548d
mov eax, dword [rdi + 0xc]
or eax, dword [rbp + 0x11b0]
bt eax, 0x19
mov dword [rbp + 0x11c8], eax
cmovb esi, ecx
test dword [rdi + 0xc], 0x8000
je 0x140085455
lea r8, [rbp + 0x11c8]
lea rdx, [0x140107440]
mov rcx, r14
call qword [sym.imp.USER32.dll_EnumChildWindows]
mov eax, dword [rbp + 0x11c8]
xor edx, edx
mov r14, qword [rbp + 0x11b8]
test r14, r14
je 0x14008546c
mov ecx, dword [rdi + 0x14]
cmp ecx, 0xffffffff
je 0x14008546c
mov dword [r14], ecx
test r13, r13
je 0x14008547d
mov ecx, dword [rdi + 0x18]
cmp ecx, 0xffffffff
je 0x14008547d
mov dword [r13], ecx
cmp dword [rsp + 0x20], 0
jne 0x140085494
test esi, esi
jne 0x140085494
jmp 0x1400855aa
mov r14, qword [rbp + 0x11b8]
mov word [rsp + 0x70], dx
mov word [rbp + 0x170], dx
mov word [rbp + 0x370], dx
mov word [rbp + 0x570], dx
mov word [rbp + 0x770], dx
mov word [rbp + 0x970], dx
mov word [rbp + 0xb70], dx
mov word [rbp + 0xd70], dx
mov word [rbp + 0xf70], dx
lea rdx, [rsp + 0x70]
mov r8d, 0x100
mov rcx, r12
call sub.USER32.dll_GetWindowTextW
lea rbx, [rsp + 0x30]
lea rdi, [rbp + 0x170]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140085506
mov r8d, 0x100
mov rdx, rdi
call sub.USER32.dll_GetWindowTextW
add rdi, 0x200
add rbx, 8
dec r15
jne 0x1400854f0
lea ecx, [r15 + 1]
call fcn.1401072e0
mov rdi, rax
cmp qword [rax], r15
je 0x140085593
nop word [rax + rax]
xor ebx, ebx
mov ecx, dword [rdi + 0x10]
bt ecx, ebx
jae 0x140085564
mov rcx, qword [rdi]
movsxd rax, ebx
lea rdx, [rbp + 0x170]
shl rax, 9
add rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140085564
xor ecx, ecx
call fcn.1401023d0
cmp eax, dword [rdi + 8]
jge 0x1400855df
inc ebx
cmp ebx, 8
jl 0x140085532
mov rcx, qword [rdi]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x140085589
xor ecx, ecx
call fcn.1401023d0
cmp eax, dword [rdi + 8]
jge 0x1400855df
add rdi, 0x20
cmp qword [rdi], 0
jne 0x140085530
cmp dword [rsp + 0x20], 0
jne 0x1400855a4
mov eax, dword [rbp + 0x11b0]
test esi, esi
je 0x1400855aa
mov eax, dword [rbp + 0x11c8]
mov r14, qword [rsp + 0x1278]
mov rdi, qword [rsp + 0x1280]
mov rsi, qword [rsp + 0x1288]
mov rbx, qword [rsp + 0x12c0]
mov r15, qword [rsp + 0x1270]
add rsp, 0x1290
pop r13
pop r12
pop rbp
ret
test r14, r14
je 0x1400855ef
mov eax, dword [rdi + 0x14]
cmp eax, 0xffffffff
je 0x1400855ef
mov dword [r14], eax
test r13, r13
je 0x140085600
mov eax, dword [rdi + 0x18]
cmp eax, 0xffffffff
je 0x140085600
mov dword [r13], eax
mov eax, dword [rdi + 0xc]
or eax, dword [rbp + 0x11b0]
jmp 0x1400855aa