Function at 0x140310eb0
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x280
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, rcx
mov rcx, qword [rsp + 0x2b0]
mov rdi, rdx
mov esi, 1
sub r8d, 2
je 0x14031115a
sub r8d, 3
je 0x1403110d2
sub r8d, 0x49
je 0x140310f70
sub r8d, 0xc2
je 0x140310f63
cmp r8d, esi
je 0x140310f18
xor edi, edi
mov esi, edi
jmp 0x140311210
mov eax, 0x7532
cmp r9w, ax
jne 0x140311210
shr r9, 0x10
mov eax, 0x300
cmp ax, r9w
jne 0x140311210
mov r8d, 0x104
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov r8d, 0x104
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.1403117d0
jmp 0x140311210
mov rcx, rbx
call fcn.140311240
jmp 0x140311210
cmp qword [rcx + 8], 0x7531
mov eax, dword [rcx + 0x10]
je 0x140311073
cmp eax, 0xffffff35
je 0x14031103e
cmp eax, 0xffffff36
je 0x140310fed
cmp eax, 0xffffff37
je 0x140310fc6
cmp eax, 0xffffff38
jne 0x140311210
mov edx, 0x7531
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x140311210
mov edx, 0x7531
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x430
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140311210
mov edx, 0x7531
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x430
call qword [sym.imp.USER32.dll_SendMessageW]
cmp dword [rbx + 0x114], 0
je 0x140311210
mov rcx, qword [rbx + 0x108]
mov rdx, rdi
call fcn.140310500
xor edi, edi
mov dword [rbx + 0x118], esi
mov dword [rbx + 0x114], edi
jmp 0x140311210
mov rcx, qword [rbx + 0x108]
call fcn.140310960
mov edx, 0x7531
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov r8d, esi
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_InvalidateRect]
xor edi, edi
mov dword [rbx + 0x114], edi
jmp 0x140311210
cmp eax, 7
jne 0x1403110b0
mov rcx, qword [rbx + 0x108]
mov dword [rbx + 0x114], esi
call fcn.1403107f0
mov rbx, qword [rbx + 8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
xor r9d, r9d
mov r8, rbx
mov rcx, rax
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140311210
cmp eax, 4
jne 0x140311210
mov rcx, qword [rcx]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x42f
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140311210
mov rcx, qword [rbx + 8]
mov edx, 0x7531
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rbx, rax
test rax, rax
je 0x140311210
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
lea r8, [rsp + 0x40]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x58]
mov r8d, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x44]
sub edx, r9d
mov dword [rsp + 0x30], SHCreateStdEnumFmtEtc
mov dword [rsp + 0x28], edx
xor edx, edx
lea eax, [r8 + r8]
sub ecx, eax
mov dword [rsp + 0x20], ecx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x140311210
mov rcx, qword [rbx + 0x120]
xor edi, edi
test rcx, rcx
je 0x14031119a
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x120]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 0x120], rdi
mov dword [rbx + 0x128], edi
mov rcx, qword [rbx + 0x130]
test rcx, rcx
je 0x1403111d8
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x130]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 0x130], rdi
mov dword [rbx + 0x138], edi
mov rcx, qword [rbx + 0x140]
test rcx, rcx
je 0x140311210
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rbx + 0x140]
call qword [sym.imp.KERNEL32.dll_GlobalHandle]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov qword [rbx + 0x140], rdi
mov rax, rsi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14039bbb0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret