Function at 0x140010f90
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov rax, qword [0x1401fa010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rbx, qword [0x1402002f8]
mov r15, r8
mov r14, rdx
cmp byte [rbx + 0x131], 0
jne 0x14001129b
mov rcx, qword [rbx + 0x100]
mov qword [rsp + 0x2d0], rdi
lea rdi, [rbx + 0x100]
test rcx, rcx
jne 0x140011000
mov rcx, rbx
call fcn.14000fe20
mov rcx, qword [rdi]
test rcx, rcx
je 0x140011293
mov rax, qword [rcx]
mov qword [rsp + 0x300], rsi
movaps xmmword [rsp + 0x2c0], xmm6
call qword [rax + 0x50]
mov rcx, qword [r15]
xorps xmm3, xmm3
movsd xmm1, qword [0x1401e55f0]
mov rax, rcx
movsd xmm6, qword [0x1401e5538]
shr rax, 0x20
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [rbp - 0x80], xmm1
movsd qword [rsp + 0x68], xmm0
movd xmm0, eax
mov eax, dword [r15 + 8]
sub eax, ecx
movsd qword [rbp - 0x60], xmm1
mov rcx, qword [rdi]
xorps xmm1, xmm1
cvtdq2pd xmm0, xmm0
movd xmm2, eax
cvtdq2pd xmm2, xmm2
movsd qword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x1401e59c0]
movsd qword [rsp + 0x78], xmm2
subsd xmm2, qword [0x1401e55a0]
movups xmmword [rbp - 0x78], xmm0
movsd qword [rsp + 0x20], xmm6
movsd qword [rbp - 0x68], xmm2
xorps xmm2, xmm2
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rdi]
lea rdx, [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x30]
mov rcx, qword [rbx + 0x108]
movsd xmm0, qword [0x1401e55b0]
movsd qword [rsp + 0x50], xmm0
test rcx, rcx
je 0x14001111d
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 8]
movd xmm0, dword [r15 + 8]
lea r9, [rsp + 0x48]
mov rcx, qword [rdi]
mov rdx, qword [rbx + 0x108]
movsd xmm2, qword [rax]
movsd xmm3, qword [rax + 8]
movsd qword [rsp + 0x58], xmm2
cvtdq2ps xmm0, xmm0
movsd qword [rsp + 0x60], xmm3
cvtps2pd xmm1, xmm0
subsd xmm1, xmm2
movss xmm2, dword [0x1401e5454]
subsd xmm1, qword [0x1401e55d0]
movsd qword [rsp + 0x48], xmm1
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, r14
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x140011133
mov rsi, qword [rbx + 0x118]
jmp 0x14001113a
mov rsi, qword [rbx + 0x110]
test rsi, rsi
je 0x140011199
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [rax + 8]
movd xmm0, dword [r15 + 8]
lea r9, [rsp + 0x48]
mov rcx, qword [rdi]
mov rdx, rsi
movss xmm2, dword [0x1401e5454]
movsd xmm3, qword [rax]
movsd xmm4, qword [rax + 8]
cvtdq2ps xmm0, xmm0
movsd qword [rsp + 0x58], xmm3
cvtps2pd xmm1, xmm0
movsd qword [rsp + 0x60], xmm4
subsd xmm1, xmm3
subsd xmm1, qword [0x1401e5618]
movsd qword [rsp + 0x48], xmm1
mov rax, qword [rcx]
call qword [rax + 0x78]
mov r8d, 0x100
lea rdx, [rbp - 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
movsxd r14, eax
test eax, eax
jle 0x140011227
movss xmm3, dword [0x1401e56bc]
call fcn.1400193f0
mov rsi, rax
test rax, rax
je 0x14001126e
mov rcx, qword [rdi]
movaps xmm3, xmm6
movaps xmm2, xmm6
movsd qword [rsp + 0x20], xmm6
movaps xmm1, xmm6
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov r8, qword [rsi]
mov edx, 2
mov rcx, rsi
call qword [r8 + 8]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
mov rcx, qword [rdi]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x20], rdx
mov r8, r14
mov r9, rsi
lea rdx, [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + 0x60]
mov rax, qword [rsi]
mov edx, 1
mov rcx, rsi
call qword [rax]
jmp 0x14001126e
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor ecx, ecx
mov dword [rsp + 0x40], ecx
cmp rax, 0xffffffffffffffff
je 0x14001126e
mov qword [rsp + 0x20], rcx
lea r8d, [rcx + 0xf]
mov rcx, rax
lea r9, [rsp + 0x40]
lea rdx, str.no_text_to_draw
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14001126e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + 0x58]
movaps xmm6, xmmword [rsp + 0x2c0]
mov rsi, qword [rsp + 0x300]
test al, al
je 0x140011293
mov rcx, rbx
call fcn.140010030
mov rdi, qword [rsp + 0x2d0]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140183d70
add rsp, 0x2d8
pop r15
pop r14
pop rbx
pop rbp
ret