Function at 0x14001d774
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov rax, qword [0x140030470]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor eax, eax
mov rdi, rcx
mov rcx, qword [0x140031680]
mov ebx, eax
mov r14d, eax
mov dword [rsp + 0x38], eax
mov r12d, eax
mov dword [0x140032060], eax
mov r15d, eax
mov qword [0x140032068], rax
call qword [sym.imp.USER32.dll_SetCursor]
nop dword [rax + rax]
lea edx, [r15 + 8]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0xa]
mov rcx, rdi
mov dword [0x140031a38], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x5a]
mov rcx, rdi
mov dword [0x140031a34], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x6e]
mov rcx, rdi
mov dword [0x140031a30], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x6f]
mov rcx, rdi
mov dword [0x140031a2c], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x70]
mov rcx, rdi
mov dword [0x140031a28], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x71]
mov rcx, rdi
mov dword [0x140031a24], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea rcx, [0x140031a40]
mov dword [0x140031a20], eax
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
nop dword [rax + rax]
lea rax, [0x140030890]
mov r13d, 0x100
mov esi, 0x400
mov dword [rsp + 0x28], r13d
mov ecx, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x140031a40]
lea edx, [r15 + 2]
call qword [sym.imp.KERNEL32.dll_GetDateFormatW]
nop dword [rax + rax]
lea rax, [0x140030690]
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x140031a40]
xor edx, edx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTimeFormatW]
nop dword [rax + rax]
mov eax, dword [0x140031668]
movaps xmm0, xmmword [0x140031610]
movaps xmm1, xmmword [0x140031620]
mov ecx, dword [0x140031a30]
imul ecx, dword [0x14003067c]
mov dword [rbp - 8], eax
mov eax, 0x49f49f49
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x140031630]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm1, xmmword [0x140031640]
imul ecx
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140031650]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm1, qword [0x140031660]
movaps xmmword [rbp - 0x20], xmm0
sub edx, ecx
movsd qword [rbp - 0x10], xmm1
sar edx, 9
mov eax, edx
shr eax, 0x1f
add edx, eax
xor esi, esi
mov dword [rbp - 0x60], edx
mov rcx, rdi
mov dword [rbp - 0x5c], esi
lea edx, [rsi + 8]
call qword [sym.imp.GDI32.dll_SetMapMode]
nop dword [rax + rax]
mov r8d, dword [0x140031a28]
xor r9d, r9d
mov edx, dword [0x140031a2c]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetViewportExtEx]
nop dword [rax + rax]
mov r8d, dword [0x140031538]
xor r9d, r9d
mov edx, dword [0x140031534]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetWindowExtEx]
nop dword [rax + rax]
movups xmm0, xmmword [0x14003154c]
lea r8d, [r15 + 2]
mov rcx, rdi
lea rdx, [0x140032050]
movdqu xmmword [0x140032050], xmm0
call qword [sym.imp.GDI32.dll_LPtoDP]
nop dword [rax + rax]
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetMapMode]
nop dword [rax + rax]
lea rcx, [rbp - 0x60]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14001e000
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14001e000
lea edx, [rsi + 1]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetBkMode]
nop dword [rax + rax]
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
nop dword [rax + rax]
test eax, eax
je 0x14001e000
test byte [rbp + 0x37], 6
jne 0x14001dafa
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov rcx, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
xor edx, edx
lea r8d, [r15 + 0x40]
lea rcx, [rbp - 0x44]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x60]
call qword [sym.imp.GDI32.dll_CreateFontIndirectW]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x14001e000
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14001e000
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
nop dword [rax + rax]
test eax, eax
je 0x14001e000
mov edx, dword [0x140031a34]
mov r8d, esi
mov r9d, dword [rbp + 0x10]
add r9d, dword [rbp]
mov eax, dword [rbp + 0x14]
mov ecx, dword [0x140032050]
sub ecx, dword [0x140031a24]
shl eax, 3
mov dword [0x140032064], eax
test ecx, ecx
mov eax, esi
mov dword [0x140031a3c], r9d
cmovg eax, ecx
mov ecx, dword [0x140031a38]
sub ecx, dword [0x140031a2c]
add ecx, dword [0x140032058]
add ecx, dword [0x140031a24]
mov dword [0x140031a14], eax
test ecx, ecx
mov eax, esi
cmovg eax, ecx
mov ecx, dword [0x140031a20]
mov dword [0x140031a10], eax
mov eax, dword [0x140032054]
sub eax, ecx
test eax, eax
cmovg r8d, eax
mov eax, edx
sub eax, dword [0x140031a28]
add eax, dword [0x14003205c]
add ecx, eax
mov dword [0x140031a1c], r8d
test ecx, ecx
mov eax, esi
cmovg eax, ecx
sub edx, r8d
sub edx, eax
mov dword [0x140031a18], eax
mov eax, edx
cdq
idiv r9d
cmp word [0x1400316a0], si
je 0x14001dbaa
dec eax
cmp word [0x1400316f0], si
je 0x14001dbb5
dec eax
test eax, eax
jle 0x14001dfc6
lea rdx, [0x14001d290]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetAbortProc]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x14001dd45
mov rcx, qword [0x140032588]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xbd
call qword [sym.imp.USER32.dll_SendMessageW]
nop dword [rax + rax]
xor esi, esi
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14001dffd
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalLock]
nop dword [rax + rax]
mov r15, rax
test rax, rax
je 0x14001dcd0
mov rcx, qword [0x140032598]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x40]
lea ebx, [rax + 1]
movsxd r8, ebx
call fcn.14000e2e4
mov rcx, qword [0x140032598]
mov r8d, ebx
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.USER32.dll_GetWindowTextW]
nop dword [rax + rax]
test eax, eax
jne 0x14001dc70
mov word [rbx], si
mov rcx, qword [0x140032598]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
nop dword [rax + rax]
mov r8, qword [0x140032598]
lea r9, [0x14001d330]
mov rcx, qword [0x140031670]
mov edx, 0xb
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
nop dword [rax + rax]
mov qword [0x140032068], rax
test rax, rax
jne 0x14001dcda
test rbx, rbx
je 0x14001dcd0
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
jmp 0x14001e000
xorps xmm0, xmm0
mov dword [rsp + 0x48], 0x28
xor ecx, ecx
mov qword [rsp + 0x50], rbx
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x68], esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_StartDocW]
nop dword [rax + rax]
test eax, eax
jg 0x14001ddd8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test rbx, rbx
je 0x14001dd40
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
test r14, r14
je 0x14001dd6b
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
xor r14d, r14d
test r15, r15
je 0x14001dd82
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalUnlock]
nop dword [rax + rax]
test r12d, r12d
je 0x14001ddac
mov rcx, rdi
call qword [sym.imp.GDI32.dll_EndPage]
nop dword [rax + rax]
test eax, eax
jg 0x14001ddac
test esi, esi
jne 0x14001ddac
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
cmp dword [rsp + 0x38], r14d
je 0x14001e038
cmp dword [0x140032060], r14d
mov rcx, rdi
je 0x14001e016
call qword [sym.imp.GDI32.dll_AbortDoc]
nop dword [rax + rax]
jmp 0x14001e038
mov ecx, dword [0x140031a1c]
mov eax, 1
mov edx, dword [0x140031a3c]
mov dword [rsp + 0x38], eax
mov dword [0x140031698], eax
mov eax, dword [0x140031a14]
mov dword [rbp - 0x78], eax
mov eax, dword [0x140031a38]
sub eax, dword [0x140031a10]
mov dword [rbp - 0x70], eax
mov eax, dword [0x140031a34]
sub eax, dword [0x140031a18]
cmp word [0x1400316a0], si
mov dword [rbp - 0x74], ecx
mov dword [rbp - 0x6c], eax
je 0x14001de2b
add ecx, edx
mov dword [rbp - 0x74], ecx
cmp word [0x1400316f0], si
je 0x14001de39
sub eax, edx
mov dword [rbp - 0x6c], eax
mov edx, 0x7fffffff
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
nop dword [rax + rax]
mov rcx, qword [0x140032588]
mov edx, 0xffffffec
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
nop dword [rax + rax]
and eax, 0x2000
cmp dword [0x140032060], r12d
mov dword [rsp + 0x40], eax
jne 0x14001df8a
mov ecx, dword [0x140031698]
test esi, esi
jle 0x14001df8a
mov r8, qword [0x140030538]
mov r9d, ecx
lea rcx, [rbp + 0x40]
mov edx, 0x65
call fcn.1400018a0
mov rcx, qword [0x140032068]
lea r8, [rbp + 0x40]
mov edx, 0x15
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop dword [rax + rax]
xor edx, edx
mov rcx, rdi
call fcn.14001d478
mov eax, dword [0x140032064]
mov rcx, rdi
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x78], r12
mov dword [rbp - 0x80], r12d
mov dword [rsp + 0x70], 0x14
call qword [sym.imp.GDI32.dll_StartPage]
nop dword [rax + rax]
test eax, eax
jle 0x14001dd1e
mov eax, dword [rsp + 0x40]
lea r9, [rbp - 0x78]
neg eax
mov r8d, esi
lea rax, [rsp + 0x70]
mov rdx, r15
sbb ecx, ecx
mov qword [rsp + 0x28], rax
and ecx, 0x20002
mov r12d, 1
add ecx, 0x2850
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.USER32.dll_DrawTextExW]
nop dword [rax + rax]
mov edx, r12d
mov rcx, rdi
call fcn.14001d478
mov rcx, rdi
call qword [sym.imp.GDI32.dll_EndPage]
nop dword [rax + rax]
test eax, eax
jle 0x14001dd1e
mov ecx, dword [0x140031698]
xor r12d, r12d
mov edx, dword [rbp - 0x80]
inc ecx
mov dword [0x140031698], ecx
test edx, edx
je 0x14001dfad
sub esi, edx
lea r15, [r15 + rdx*2]
cmp dword [0x140032060], r12d
je 0x14001de84
mov esi, r12d
test rbx, rbx
je 0x14001dd40
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
xor r12d, r12d
jmp 0x14001dd40
test rbx, rbx
je 0x14001dfc1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x30]
mov r8, qword [0x140030630]
mov r9d, 0x30
mov rdx, qword [0x140030588]
mov rcx, qword [0x140032598]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14001e000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
xor r12d, r12d
jmp 0x14001dd45
call qword [sym.imp.GDI32.dll_EndDoc]
nop dword [rax + rax]
test eax, eax
jg 0x14001e038
test esi, esi
jne 0x14001e038
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
nop dword [rax + rax]
mov rcx, qword [0x140032598]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
nop dword [rax + rax]
mov rcx, qword [0x140032068]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop dword [rax + rax]
mov rcx, qword [0x140031688]
mov qword [0x140032068], r14
call qword [sym.imp.USER32.dll_SetCursor]
nop dword [rax + rax]
cmp dword [0x140032060], r14d
mov eax, 0xfffffffd
cmove eax, esi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140023ec0
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret