Function at 0x140043380
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov rdi, qword [rcx + 8]
mov rsi, rcx
mov edx, 0x23c
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, qword [rsi + 8]
mov edx, 0x23d
mov qword [rsi + 0x2f8], rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x772b
mov qword [rsi + 0x388], rax
mov rcx, qword [0x140099070]
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov ebx, eax
call fcn.140009afc
xor r14d, r14d
cmp rax, r14
je 0x140043404
lea rcx, [rsi + 0x418]
mov r8d, ebx
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea r15, [0x140077ce0]
lea rcx, [rsi + 0x418]
mov rdx, r15
call fcn.14000a4cc
mov rax, qword [rsi + 0x420]
cmp dword [rax - 0x10], r14d
jne 0x140043477
mov rcx, qword [0x140099070]
mov edx, 0x4394
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov ebp, eax
call fcn.140009afc
cmp rax, r14
je 0x140043461
lea rcx, [rsi + 0x420]
mov r8d, ebp
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea rcx, [rsi + 0x420]
mov rdx, r15
call fcn.14000a4cc
mov rax, qword [rsi + 0x428]
mov r13d, 0x773a
cmp dword [rax - 0x10], r14d
jne 0x1400434de
mov rcx, qword [0x140099070]
mov edx, r13d
cmp dword [rsi + 0x480], r14d
jne 0x1400434a1
lea edx, [r13 - 0xa]
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov ebx, eax
call fcn.140009afc
cmp rax, r14
je 0x1400434c8
lea rcx, [rsi + 0x428]
mov r8d, ebx
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea rcx, [rsi + 0x428]
mov rdx, r15
call fcn.14000a4cc
mov rax, qword [rsi + 0x430]
cmp dword [rax - 0x10], r14d
jne 0x140043542
mov rcx, qword [0x140099070]
mov edx, 0x439b
cmp dword [rsi + 0x480], r14d
jne 0x140043505
mov edx, 0x4396
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov ebx, eax
call fcn.140009afc
cmp rax, r14
je 0x14004352c
lea rcx, [rsi + 0x430]
mov r8d, ebx
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea rcx, [rsi + 0x430]
mov rdx, r15
call fcn.14000a4cc
mov rax, qword [rsi + 0x438]
cmp dword [rax - 0x10], r14d
jne 0x1400435d5
mov rcx, qword [0x140099070]
mov edx, r13d
cmp dword [rsi + 0x480], r14d
jne 0x14004356b
mov edx, 0x7730
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov r13d, eax
call fcn.140009afc
cmp rax, r14
je 0x140043593
lea rcx, [rsi + 0x438]
mov r8d, r13d
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea rcx, [rsi + 0x438]
mov rdx, r15
call fcn.14000a4cc
lea rcx, [rsi + 0x438]
call fcn.14003ac48
mov r11, qword [rsi + 0x438]
cmp dword [r11 - 0x10], r14d
jne 0x1400435d5
lea rdx, [rsi + 0x428]
lea rcx, [rsi + 0x438]
call fcn.14000a830
mov rax, qword [rsi + 0x440]
cmp dword [rax - 0x10], r14d
jne 0x140043669
mov rcx, qword [0x140099070]
mov edx, 0x439b
cmp dword [rsi + 0x480], r14d
jne 0x140043600
mov edx, 0x4396
call fcn.14000aa64
xor edx, edx
mov ecx, eax
mov ebp, eax
call fcn.140009afc
cmp rax, r14
je 0x140043627
lea rcx, [rsi + 0x440]
mov r8d, ebp
mov rdx, rax
call fcn.14000a0b4
mov r8, qword [0x14009af68]
lea rcx, [rsi + 0x440]
mov rdx, r15
call fcn.14000a4cc
lea rcx, [rsi + 0x440]
call fcn.14003ac48
mov r11, qword [rsi + 0x440]
cmp dword [r11 - 0x10], r14d
jne 0x140043669
lea rdx, [rsi + 0x430]
lea rcx, [rsi + 0x440]
call fcn.14000a830
mov ebx, 0x4333
xor edx, edx
mov ecx, ebx
call fcn.140009afc
cmp rax, r14
je 0x14004368e
lea rcx, [rsi + 0x448]
mov r8d, ebx
mov rdx, rax
call fcn.14000a0b4
mov ebx, 0x4334
xor edx, edx
mov ecx, ebx
call fcn.140009afc
cmp rax, r14
je 0x1400436b3
lea rcx, [rsi + 0x450]
mov r8d, ebx
mov rdx, rax
call fcn.14000a0b4
mov rcx, rsi
call fcn.140042974
mov rcx, qword [rsi + 8]
mov r13d, 1
mov edx, r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, r14d
je 0x140043785
lea edx, [r13 + 0x27]
mov r9, r13
mov r8, rbx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r12d, eax
add r12d, r13d
je 0x140043785
mov rax, qword [rsi + 0x458]
mov ecx, r13d
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, r12d
or ecx, eax
jge 0x14004372d
lea rcx, [rsi + 0x458]
mov edx, r12d
call fcn.140009ea8
mov rdx, qword [rsi + 0x458]
mov r8d, r12d
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rcx, qword [rsi + 0x458]
cmp rcx, r14
jne 0x140043751
mov eax, r14d
jmp 0x140043763
movsxd rdx, dword [rcx - 0xc]
call fcn.14005ca00
cmp eax, r14d
jl 0x14004385b
mov rcx, qword [rsi + 0x458]
cmp eax, dword [rcx - 0xc]
jg 0x14004385b
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rsi + 0x458]
mov word [rax + rcx*2], r14w
mov rcx, qword [rsi + 8]
mov r12d, 2
mov edx, r12d
call qword [sym.imp.USER32.dll_GetDlgItem]
lea r15d, [r12 - 0x12]
mov edx, r15d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, rbx
mov ebp, eax
call qword [sym.imp.USER32.dll_IsWindowEnabled]
cmp eax, r14d
je 0x14004388d
bt ebp, 0x1c
jae 0x14004388d
mov rcx, qword [rsi + 8]
lea edx, [r12 + 0xa]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rcx, qword [rsi + 8]
mov ebp, eax
shr ebp, 0x1c
and ebp, r13d
cmp dword [rsi + 0x484], r14d
je 0x140043866
mov edx, r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, r14d
jne 0x140043821
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 8]
mov edx, r12d
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov r8, r12
mov edx, 0x401
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, r13
mov r8, rbx
mov edx, 0x28
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14004388d
mov ecx, 0x80070057
call fcn.140009a54
int3
mov edx, r12d
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, r14d
jne 0x14004388d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov rbx, rax
cmp rax, r14
je 0x1400438c3
mov rcx, rax
call qword [sym.imp.USER32.dll_IsMenu]
cmp eax, r14d
je 0x1400438c3
mov edx, 0xf060
mov r8d, 3
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [rsi + 0x480]
mov rcx, qword [rsi + 8]
mov edx, 0x213
neg eax
sbb ebp, ebp
and ebp, r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_IsWindow]
mov r12d, 0xf1
cmp eax, r14d
je 0x140043947
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, r14d
cmp ebp, r14d
setne dl
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp dword [rsi + 0x410], r14d
jne 0x14004392e
xor r9d, r9d
mov r8, r13
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp ebp, r13d
jne 0x140043947
mov r9, r13
mov r8, rbx
mov edx, 0x28
mov rcx, rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 8]
mov edx, 0x214
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, r14d
je 0x14004399f
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, r14d
cmp ebp, r14d
setne dl
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp dword [rsi + 0x410], r13d
jne 0x14004399f
xor r9d, r9d
mov r8, r13
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 8]
xor edx, edx
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, r14d
je 0x140043a13
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, r14d
cmp ebp, r14d
setne dl
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp ebp, r13d
jne 0x140043a13
xor r9d, r9d
mov r8, r13
mov edx, r12d
mov rcx, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, r13
mov r8, rbx
mov edx, 0x28
mov rcx, rdi
mov dword [rsi + 0x410], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call fcn.14004305c
test byte [0x14009b0a8], 0x30
mov rcx, qword [rsi + 8]
mov ebx, 0xffffffec
mov edx, ebx
je 0x140043a43
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [rsi + 8]
mov edx, ebx
bts rax, 0x12
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
jmp 0x140043abe
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rcx, qword [rsi + 8]
mov edx, ebx
btr rax, 0x12
bts rax, 7
mov r8, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [rsi + 8]
mov edx, r13d
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x201
mov rbx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x202
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
lea r11, [rsp + 0x40]
mov rax, r13
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret