Function at 0x140020bc8
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 [0x1400343f0]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor eax, eax
mov rdi, rcx
mov rcx, qword [0x140035640]
mov ebx, eax
mov r14d, eax
mov dword [rsp + 0x38], eax
mov r12d, eax
mov dword [0x140036020], eax
mov r15d, eax
mov qword [0x140036028], 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 [0x1400359f8], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x5a]
mov rcx, rdi
mov dword [0x1400359f4], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x6e]
mov rcx, rdi
mov dword [0x1400359f0], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x6f]
mov rcx, rdi
mov dword [0x1400359ec], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x70]
mov rcx, rdi
mov dword [0x1400359e8], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea edx, [r15 + 0x71]
mov rcx, rdi
mov dword [0x1400359e4], eax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
lea rcx, [0x140035a00]
mov dword [0x1400359e0], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
nop dword [rax + rax]
lea rax, [0x140034820]
mov r13d, 0x100
mov esi, 0x400
mov dword [rsp + 0x28], r13d
mov ecx, esi
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x140035a00]
lea edx, [r15 + 2]
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetDateFormatW]
nop dword [rax + rax]
lea rax, [0x140034620]
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov qword [rsp + 0x20], rax
lea r8, [0x140035a00]
xor edx, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_core_datetime_l1_1_0.dll_GetTimeFormatW]
nop dword [rax + rax]
mov eax, dword [0x140035628]
movaps xmm0, xmmword [0x1400355d0]
movaps xmm1, xmmword [0x1400355e0]
mov ecx, dword [0x1400359f0]
imul ecx, dword [0x140034604]
mov dword [rbp - 8], eax
mov eax, 0x49f49f49
movaps xmmword [rbp - 0x60], xmm0
movaps xmm0, xmmword [0x1400355f0]
movaps xmmword [rbp - 0x50], xmm1
movaps xmm1, xmmword [0x140035600]
imul ecx
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140035610]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm1, qword [0x140035620]
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 [0x1400359e8]
xor r9d, r9d
mov edx, dword [0x1400359ec]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetViewportExtEx]
nop dword [rax + rax]
mov r8d, dword [0x140035508]
xor r9d, r9d
mov edx, dword [0x140035504]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetWindowExtEx]
nop dword [rax + rax]
movups xmm0, xmmword [0x14003551c]
lea r8d, [r15 + 2]
mov rcx, rdi
lea rdx, [0x140036010]
movdqu xmmword [0x140036010], 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 0x14002139f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14002139f
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 0x14002139f
test byte [rbp + 0x37], 6
jne 0x140020f4e
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 0x14002139f
mov rdx, rax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r14, rax
test rax, rax
je 0x14002139f
lea rdx, [rbp]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetTextMetricsW]
nop dword [rax + rax]
test eax, eax
je 0x14002139f
mov ecx, dword [0x1400359e4]
mov eax, dword [rbp + 0x14]
mov edx, dword [0x1400359f4]
mov r9d, dword [rbp + 0x10]
add r9d, dword [rbp]
mov r8d, dword [0x140036014]
shl eax, 3
mov dword [0x140036024], eax
mov eax, dword [0x140036010]
sub eax, ecx
mov dword [0x1400359fc], r9d
test eax, eax
cmovle eax, esi
mov dword [0x1400359d4], eax
mov eax, dword [0x1400359f8]
sub eax, dword [0x1400359ec]
add eax, dword [0x140036018]
add ecx, eax
mov eax, edx
test ecx, ecx
cmovle ecx, esi
mov dword [0x1400359d0], ecx
mov ecx, dword [0x1400359e0]
sub r8d, ecx
test r8d, r8d
cmovle r8d, esi
sub eax, dword [0x1400359e8]
add eax, dword [0x14003601c]
add ecx, eax
mov dword [0x1400359dc], r8d
test ecx, ecx
cmovle ecx, esi
sub edx, ecx
mov dword [0x1400359d8], ecx
sub edx, r8d
mov eax, edx
cdq
idiv r9d
cmp word [0x140035660], si
je 0x140020ff6
dec eax
cmp word [0x1400356b0], si
je 0x140021001
dec eax
test eax, eax
jle 0x140021365
lea rdx, [0x140020790]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetAbortProc]
nop dword [rax + rax]
mov esi, eax
test eax, eax
js 0x1400213b0
mov rcx, qword [0x1400365c8]
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 0x14002139c
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalLock]
nop dword [rax + rax]
mov r15, rax
test rax, rax
je 0x14002111c
mov rcx, qword [0x140036138]
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.14000a124
mov rcx, qword [0x140036138]
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 0x1400210bc
mov word [rbx], si
mov rcx, qword [0x140036138]
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
nop dword [rax + rax]
mov r8, qword [0x140036138]
lea r9, [0x140020640]
mov rcx, qword [0x140035638]
mov edx, 0xb
mov qword [rsp + 0x20], rsi
call qword [sym.imp.USER32.dll_CreateDialogParamW]
nop dword [rax + rax]
mov qword [0x140036028], rax
test rax, rax
jne 0x140021126
test rbx, rbx
je 0x14002111c
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 0x14002139f
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.api_ms_win_core_errorhandling_l1_1_0.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 0x140021192
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
test rbx, rbx
je 0x140021188
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 0x1400213b0
mov ecx, dword [0x1400359f4]
mov eax, 1
sub ecx, dword [0x1400359d8]
mov edx, dword [0x1400359fc]
mov dword [rsp + 0x38], eax
mov dword [0x140035658], eax
mov eax, dword [0x1400359d4]
mov dword [rbp - 0x78], eax
mov eax, dword [0x1400359f8]
sub eax, dword [0x1400359d0]
cmp word [0x140035660], si
mov dword [rbp - 0x70], eax
mov eax, dword [0x1400359dc]
mov dword [rbp - 0x74], eax
mov dword [rbp - 0x6c], ecx
je 0x1400211e5
add eax, edx
mov dword [rbp - 0x74], eax
cmp word [0x1400356b0], si
je 0x1400211f3
sub ecx, edx
mov dword [rbp - 0x6c], ecx
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 [0x1400365c8]
mov edx, 0xffffffec
mov rsi, rax
call qword [sym.imp.USER32.dll_GetWindowLongW]
nop dword [rax + rax]
and eax, 0x2000
cmp dword [0x140036020], r12d
mov dword [rsp + 0x40], eax
jne 0x140021344
mov ecx, dword [0x140035658]
test esi, esi
jle 0x140021344
mov r8, qword [0x1400344c0]
mov r9d, ecx
lea rcx, [rbp + 0x40]
mov edx, 0x65
call fcn.1400085cc
mov rcx, qword [0x140036028]
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.140021620
mov eax, dword [0x140036024]
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 0x140021166
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.140021620
mov rcx, rdi
call qword [sym.imp.GDI32.dll_EndPage]
nop dword [rax + rax]
test eax, eax
jle 0x140021166
mov ecx, dword [0x140035658]
xor r12d, r12d
mov edx, dword [rbp - 0x80]
inc ecx
mov dword [0x140035658], ecx
test edx, edx
je 0x14002134c
sub esi, edx
lea r15, [r15 + rdx*2]
cmp dword [0x140036020], r12d
je 0x14002123e
mov esi, r12d
jmp 0x140021174
test rbx, rbx
je 0x140021360
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 [0x1400345b8]
mov r9d, 0x30
mov rdx, qword [0x140034510]
mov rcx, qword [0x140036138]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14002139f
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
xor r12d, r12d
test r14, r14
je 0x1400213d6
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 0x1400213ed
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalUnlock]
nop dword [rax + rax]
test r12d, r12d
je 0x140021417
mov rcx, rdi
call qword [sym.imp.GDI32.dll_EndPage]
nop dword [rax + rax]
test eax, eax
jg 0x140021417
test esi, esi
jne 0x140021417
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
cmp dword [rsp + 0x38], r14d
je 0x14002145a
cmp dword [0x140036020], r14d
mov rcx, rdi
je 0x140021438
call qword [sym.imp.GDI32.dll_AbortDoc]
nop dword [rax + rax]
jmp 0x14002145a
call qword [sym.imp.GDI32.dll_EndDoc]
nop dword [rax + rax]
test eax, eax
jg 0x14002145a
test esi, esi
jne 0x14002145a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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 [0x140036138]
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
nop dword [rax + rax]
mov rcx, qword [0x140036028]
call qword [sym.imp.USER32.dll_DestroyWindow]
nop dword [rax + rax]
mov rcx, qword [0x140035648]
mov qword [0x140036028], r14
call qword [sym.imp.USER32.dll_SetCursor]
nop dword [rax + rax]
cmp dword [0x140036020], r14d
mov eax, 0xfffffffd
cmove eax, esi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400019d0
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