Function at 0x14038b310
Capabilities:
Get graphical window text

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
movups xmm0, xmmword [r8 + 0x18]
mov r15, rdx
mov r12, r8
mov rdi, rcx
lea rdx, [rbp - 0x60]
xor eax, eax
movaps xmmword [rbp - 0x80], xmm0
mov r8d, 0x104
mov qword [rsp + 0x48], rax
mov rcx, r15
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rbp - 0x70], xmm0
call qword [sym.imp.USER32.dll_GetWindowTextW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf2
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
mov eax, dword [rdi + 0x20]
sub eax, 1
je 0x14038b943
mov qword [rsp + 0x318], r13
sub eax, 1
je 0x14038b66e
cmp eax, 1
jne 0x14038b645
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r14d, r14d
mov rcx, r15
lea esi, [r14 + 4]
cmp eax, 1
jne 0x14038b3fa
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b3df
lea ebx, [rsi + 4]
jmp 0x14038b420
test sil, bl
je 0x14038b3eb
mov ebx, 7
jmp 0x14038b420
bt ebx, 9
mov ebx, r14d
setb bl
add ebx, 5
jmp 0x14038b420
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b408
mov ebx, esi
jmp 0x14038b420
test sil, bl
je 0x14038b414
mov ebx, 3
jmp 0x14038b420
bt ebx, 9
mov ebx, r14d
setb bl
inc ebx
mov edx, dword [rdi + 0x38]
lea r9, [rsp + 0x40]
mov rcx, qword [rdi + 8]
mov r8d, ebx
call fcn.140335cc0
mov edx, dword [rdi + 0x38]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 8]
mov r8d, ebx
call fcn.1403362d0
movd xmm0, dword [rsp + 0x44]
movd xmm1, dword [rsp + 0x5c]
mov edx, dword [rdi + 0x40]
mov rcx, qword [rdi + 8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [rsp + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x44], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
call fcn.140338a40
mov edx, 0xfffffff0
mov rcx, r15
mov r13d, eax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov ecx, eax
mov r8, rax
and ecx, 0x20
test cl, cl
je 0x14038b4bc
mov ecx, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x40]
mov dword [rsp + 0x60], ecx
sub ecx, r13d
mov dword [rbp - 0x78], ecx
jmp 0x14038b4cf
mov edx, dword [rsp + 0x40]
add edx, dword [rsp + 0x60]
mov dword [rsp + 0x68], edx
lea eax, [rdx + r13]
mov dword [rbp - 0x80], eax
and r8d, 0xc00
cmp r8d, 0x400
jne 0x14038b4ed
mov ecx, dword [rsp + 0x64]
add ecx, dword [rsp + 0x44]
mov dword [rsp + 0x6c], ecx
jmp 0x14038b52b
cmp r8d, 0x800
jne 0x14038b50c
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x48], 8
jmp 0x14038b52b
mov eax, dword [rbp - 0x64]
sub eax, dword [rsp + 0x44]
sub eax, dword [rbp - 0x6c]
cdq
mov dword [rsp + 0x48], esi
sub eax, edx
sar eax, 1
mov dword [rsp + 0x64], eax
add eax, dword [rsp + 0x44]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rdi + 8]
lea r9, [rbp - 0x70]
mov r8, r12
mov dword [rsp + 0x4c], 8
mov rdx, r15
call fcn.140338ea0
mov r9d, dword [rdi + 0x38]
lea rax, [rsp + 0x60]
mov rcx, qword [rdi + 8]
mov r8, r12
mov qword [rsp + 0x38], r14
xor edx, edx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.14033d400
mov r8d, dword [rdi + 0x38]
lea rax, [rsp + 0x48]
mov rcx, qword [rdi + 8]
mov r9d, ebx
mov qword [rsp + 0x38], r14
mov rdx, r12
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.1403353d0
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, r15
jne 0x14038b645
movaps xmm0, xmmword [rbp - 0x80]
lea rax, [rsp + 0x50]
mov edx, dword [rdi + 0x38]
lea r9, [rbp - 0x60]
mov rcx, qword [rdi + 8]
mov r8d, ebx
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rax
call fcn.140335f80
mov r10d, dword [rsp + 0x74]
mov eax, r10d
mov r11d, dword [rsp + 0x7c]
sub eax, r11d
add eax, dword [rsp + 0x54]
mov r9d, dword [rsp + 0x70]
cdq
mov ecx, dword [rsp + 0x50]
sub eax, edx
sar eax, 1
add ecx, r9d
inc eax
mov qword [rsp + 0x30], r14
dec r9d
mov dword [rsp + 0x28], r14d
sub r10d, eax
mov dword [rsp + 0x70], r9d
mov r9d, dword [rdi + 0x3c]
inc ecx
add r11d, eax
mov dword [rsp + 0x78], ecx
lea rax, [rsp + 0x70]
mov dword [rsp + 0x74], r10d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x7c], r11d
mov rcx, qword [rdi + 8]
mov r8, r12
xor edx, edx
call fcn.14033d120
mov r13, qword [rsp + 0x318]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
xor r14d, r14d
mov rcx, r15
lea esi, [r14 + 4]
cmp eax, 1
jne 0x14038b6be
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b6a3
lea ebx, [rsi + 4]
jmp 0x14038b727
test sil, bl
je 0x14038b6af
mov ebx, 7
jmp 0x14038b727
bt ebx, 9
mov ebx, r14d
setb bl
add ebx, 5
jmp 0x14038b727
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r15
cmp eax, 2
jne 0x14038b701
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b6e6
lea ebx, [rax + 0xc]
jmp 0x14038b727
test sil, bl
je 0x14038b6f2
mov ebx, VariantTimeToDosDateTime
jmp 0x14038b727
bt ebx, 9
mov ebx, r14d
setb bl
add ebx, 9
jmp 0x14038b727
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b70f
mov ebx, esi
jmp 0x14038b727
test sil, bl
je 0x14038b71b
mov ebx, 3
jmp 0x14038b727
bt ebx, 9
mov ebx, r14d
setb bl
inc ebx
mov edx, dword [rdi + 0x2c]
lea r9, [rsp + 0x40]
mov rcx, qword [rdi + 8]
mov r8d, ebx
call fcn.140335cc0
mov edx, dword [rdi + 0x2c]
lea r9, [rsp + 0x58]
mov rcx, qword [rdi + 8]
mov r8d, ebx
call fcn.1403362d0
movd xmm0, dword [rsp + 0x44]
movd xmm1, dword [rsp + 0x5c]
mov edx, dword [rdi + 0x34]
mov rcx, qword [rdi + 8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
divss xmm1, xmm0
mulss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, dword [rsp + 0x40]
cvtdq2ps xmm0, xmm0
mov dword [rsp + 0x44], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [rsp + 0x40], eax
call fcn.140338a40
mov edx, 0xfffffff0
mov rcx, r15
mov r13d, eax
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov ecx, eax
mov r8, rax
and ecx, 0x20
test cl, cl
je 0x14038b7c3
mov ecx, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x40]
mov dword [rsp + 0x60], ecx
sub ecx, r13d
mov dword [rbp - 0x78], ecx
jmp 0x14038b7d6
mov edx, dword [rsp + 0x60]
add edx, dword [rsp + 0x40]
mov dword [rsp + 0x68], edx
lea eax, [rdx + r13]
mov dword [rbp - 0x80], eax
and r8d, 0xc00
cmp r8d, 0x400
jne 0x14038b7f4
mov ecx, dword [rsp + 0x44]
add ecx, dword [rsp + 0x64]
mov dword [rsp + 0x6c], ecx
jmp 0x14038b832
cmp r8d, 0x800
jne 0x14038b813
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x64], eax
mov dword [rsp + 0x48], 8
jmp 0x14038b832
mov eax, dword [rbp - 0x64]
sub eax, dword [rbp - 0x6c]
sub eax, dword [rsp + 0x44]
cdq
mov dword [rsp + 0x48], esi
sub eax, edx
sar eax, 1
mov dword [rsp + 0x64], eax
add eax, dword [rsp + 0x44]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rdi + 8]
lea r9, [rbp - 0x70]
mov r8, r12
mov dword [rsp + 0x4c], 8
mov rdx, r15
call fcn.140338ea0
mov r9d, dword [rdi + 0x2c]
lea rax, [rsp + 0x60]
mov rcx, qword [rdi + 8]
mov r8, r12
mov qword [rsp + 0x38], r14
xor edx, edx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
call fcn.14033d400
mov r8d, dword [rdi + 0x2c]
lea rax, [rsp + 0x48]
mov rcx, qword [rdi + 8]
mov r9d, ebx
mov qword [rsp + 0x38], r14
mov rdx, r12
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.1403353d0
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, r15
jne 0x14038b645
movaps xmm0, xmmword [rbp - 0x80]
lea rax, [rsp + 0x50]
mov edx, dword [rdi + 0x2c]
lea r9, [rbp - 0x60]
mov rcx, qword [rdi + 8]
mov r8d, ebx
movdqa xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x20], rax
call fcn.140335f80
mov r9d, dword [rsp + 0x74]
mov eax, r9d
mov r10d, dword [rsp + 0x7c]
sub eax, r10d
add eax, dword [rsp + 0x54]
mov r8d, dword [rsp + 0x70]
cdq
mov ecx, dword [rsp + 0x50]
sub eax, edx
sar eax, 1
add ecx, r8d
inc eax
mov qword [rsp + 0x30], r14
sub r9d, eax
mov dword [rsp + 0x28], r14d
dec r8d
mov dword [rsp + 0x74], r9d
mov r9d, dword [rdi + 0x30]
inc ecx
add r10d, eax
mov dword [rsp + 0x70], r8d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x78], ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x7c], r10d
jmp 0x14038b637
mov rcx, r15
call qword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x14038b955
lea esi, [rax + 4]
jmp 0x14038b992
test bl, 4
je 0x14038b97a
mov rcx, qword [rdi + 8]
mov esi, 3
call fcn.140356d40
add dword [rbp - 0x80], eax
add dword [rbp - 0x78], eax
shr rax, 0x20
add dword [rbp - 0x7c], eax
add dword [rbp - 0x74], eax
jmp 0x14038b992
bt ebx, 9
jae 0x14038b987
mov esi, 2
jmp 0x14038b992
movzx esi, bl
and esi, 8
or esi, 2
shr esi, 1
mov edx, dword [rdi + 0x24]
mov r8d, esi
mov rcx, qword [rdi + 8]
mov dword [rsp + 0x48], 5
call fcn.1403350f0
test eax, eax
je 0x14038b9c0
mov rcx, qword [rdi + 8]
lea r9, [rbp - 0x70]
mov r8, r12
mov rdx, r15
call fcn.140338ea0
mov r9d, dword [rdi + 0x24]
lea rax, [rsp + 0x60]
mov rcx, qword [rdi + 8]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov r8, r12
mov dword [rsp + 0x30], r14d
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
call fcn.14033d400
mov r8d, dword [rdi + 0x24]
lea rax, [rsp + 0x48]
mov rcx, qword [rdi + 8]
mov r9d, esi
mov qword [rsp + 0x38], r14
mov rdx, r12
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
call fcn.1403353d0
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, r15
jne 0x14038b64d
mov edx, dword [rdi + 0x24]
lea rax, [rsp + 0x70]
mov rcx, qword [rdi + 8]
lea r9, [rbp - 0x70]
mov r8d, esi
mov qword [rsp + 0x20], rax
call fcn.140335e00
mov r9d, dword [rdi + 0x28]
lea rax, [rsp + 0x70]
mov rcx, qword [rdi + 8]
mov r8, r12
mov qword [rsp + 0x30], r14
xor edx, edx
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
call fcn.14033d120
jmp 0x14038b64d