Function at 0x140093720
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x400]
sub rsp, 0x500
mov r15, qword [0x1401179f0]
mov rax, rdx
mov r13, r8
mov qword [rsp + 0x20], r8
mov r12, rcx
lea rdx, [rbp + 0x448]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.140090b90
mov rdi, qword [rbp + 0x448]
mov ebx, 1
mov rsi, rax
cmp word [rdi], 0
lea r14d, [rbx + 2]
jne 0x140093798
mov edi, ebx
jmp 0x14009384c
lea rdx, [0x1400fcd50]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400937b4
lea edi, [rax + 2]
jmp 0x14009384c
lea rdx, str.Focus
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400937cd
mov edi, r14d
jmp 0x14009384c
lea rdx, str.FocusV
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400937e6
lea edi, [rax + 4]
jmp 0x14009384c
lea rdx, str.Enabled
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400937ff
lea edi, [rax + 5]
jmp 0x14009384c
lea rdx, str.Visible
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140093818
lea edi, [rax + 6]
jmp 0x14009384c
lea rdx, str.Hwnd
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140093831
lea edi, [rax + 7]
jmp 0x14009384c
lea rdx, str.Name
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140093f6b
lea edi, [rax + 8]
test rsi, rsi
je 0x140093f6b
cmp word [r13], 0
jne 0x140093861
mov r13, qword [r15 + 0x28]
mov rcx, qword [0x1401156c0]
lea r12, [0x1400e0714]
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400c3f40
mov rax, qword [0x140116718]
mov qword [rsp + 0x78], rax
mov rax, qword [0x140116710]
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [0x140116718], rax
mov qword [0x140116710], rax
lea eax, [rdi - 3]
cmp eax, ebx
jbe 0x140093d4e
mov rdx, r13
mov rcx, rsi
call fcn.1400a0fb0
mov r13d, eax
cmp edi, 2
je 0x1400938dc
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c3f40
cmp r13d, dword [rsi + 0x20]
jae case.default.0x140093905
imul r10, r13, 0x58
lea eax, [rdi - 1]
add r10, qword [rsi + 0x28]
lea rdx, [0x140000000]
movsxd rcx, eax
mov eax, dword [rdx + rcx*4 + 0x93fc8]
add rax, rdx
jmp rax
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, r15
mov rcx, rsi
call fcn.14009f4a0
jmp 0x140093f24
mov rcx, qword [r10]
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rax, qword [0x140112060]
mov rcx, qword [rax + 0xd8]
test rcx, rcx
je 0x14009396c
test byte [rcx + 0x78], 4
je 0x14009396c
xor r13d, r13d
jmp 0x140093981
test byte [r15 + 0x22], 2
mov r13d, 0
mov r14d, r13d
setne r14b
inc r14d
mov r9, qword [r15 + 0x28]
lea r8, [0x140100088]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf0b0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093c7e
lea rax, [rbp + 0x448]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140118bf0]
call fcn.14003d2b0
mov rdi, rax
test rax, rax
jne 0x140093a10
cmp byte [rbp + 0x448], dil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x40]
lea rcx, [0x140118bf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003d7f0
mov rdi, rax
test rax, rax
je 0x140093c7e
cmp byte [rsi + 0x110], 0
je 0x140093a31
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140093a35
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001470
mov r9, qword [r15 + 0x28]
lea r8, [0x140100090]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf0b0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093c7e
lea rax, [rsp + 0x30]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140118bf0]
call fcn.14003d2b0
mov rdi, rax
test rax, rax
jne 0x140093ace
cmp byte [rsp + 0x30], dil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x44]
lea rcx, [0x140118bf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003d7f0
mov rdi, rax
test rax, rax
je 0x140093c7e
cmp byte [rsi + 0x110], 0
je 0x140093aef
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140093af3
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001470
mov r9, qword [r15 + 0x28]
lea r8, [0x140100098]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf0b0
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093c7e
lea rax, [rsp + 0x31]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140118bf0]
call fcn.14003d2b0
mov rdi, rax
test rax, rax
jne 0x140093b8c
cmp byte [rsp + 0x31], dil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x48]
lea rcx, [0x140118bf0]
mov eax, r13d
mov r8, r12
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003d7f0
mov rdi, rax
test rax, rax
je 0x140093c7e
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rsi + 0x110], 0
je 0x140093bb1
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001470
mov r9, qword [r15 + 0x28]
lea r8, [0x1401000a0]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf0b0
cmp word [rbp - 0x40], 0
movsxd r15, eax
je 0x140093c7e
lea rax, [rsp + 0x32]
mov r8, r15
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x4c]
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], r14d
lea rcx, [0x140118bf0]
call fcn.14003d2b0
mov rdi, rax
test rax, rax
jne 0x140093c46
cmp byte [rsp + 0x32], dil
lea rdx, [rbp - 0x40]
mov r9d, dword [rsp + 0x4c]
lea rcx, [0x140118bf0]
mov eax, r13d
mov r8, r15
setne al
inc eax
mov dword [rsp + 0x20], eax
call fcn.14003d7f0
mov rdi, rax
test rax, rax
je 0x140093c7e
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rsi + 0x110], 0
je 0x140093c6b
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001470
jmp 0x140093f26
mov ebx, r13d
jmp 0x140093f26
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rdx, [0x1400f5d6c]
mov byte [rsp + 0x20], bl
test eax, eax
mov rcx, r15
cmovne r12, rdx
xor r9d, r9d
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x140093f24
xor eax, eax
jmp 0x140093f24
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c3f40
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
mov r14, rax
test rax, rax
je case.default.0x140093905
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rsi + 0x20]
jb 0x140093db1
mov rcx, r14
call qword [sym.imp.USER32.dll_GetParent]
mov r14, rax
test rax, rax
je 0x140093da8
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rsi + 0x20]
jae case.default.0x140093905
mov eax, ebx
imul rdx, rax, 0x58
add rdx, qword [rsi + 0x28]
mov rcx, qword [rdx]
cmp rcx, r14
jne case.default.0x140093905
cmp ebx, 0x2af8
je case.default.0x140093905
test rdx, rdx
je case.default.0x140093905
cmp edi, 4
jne 0x140093e54
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x140093e49
cmp qword [rsi + 8], 0
je 0x140093e49
cmp eax, dword [rsi + 0x20]
jae 0x140093e49
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1f0]
add rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140093e38
mov rcx, qword [rax + 0x28]
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx + 2]
mov word [rdx], ax
lea rdx, [rdx + 2]
test ax, ax
jne 0x140093e20
jmp 0x140093ec0
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140093ec0
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x140093ec0
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x1f0]
mov r8d, 0xfc
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je case.default.0x140093905
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140056760]
mov dword [rsp + 0x6c], eax
mov byte [rsp + 0x68], al
call qword [sym.imp.USER32.dll_EnumChildWindows]
cmp byte [rsp + 0x68], 0
je case.default.0x140093905
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400e0834]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400bf150
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp + 0x1f0]
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x140093f24
mov rax, qword [0x140112060]
lea rdx, [0x1400f5d6c]
test byte [rax + 0x140], 1
jne 0x140093f0e
mov rcx, qword [0x1401156c0]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x140093f24
mov rcx, qword [rbp + 0x440]
lea r9, [0x1400e0684]
xor r8d, r8d
call fcn.14004d4a0
mov ebx, eax
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140093f67
mov rcx, qword [0x140116718]
test rcx, rcx
je 0x140093f55
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140116710], 0x400000
jbe 0x140093f55
dec dword [0x1401166e4]
mov rax, qword [rbp - 0x80]
mov qword [0x140116710], rax
mov qword [0x140116718], rdi
mov eax, ebx
jmp 0x140093fac
mov rax, qword [0x140112060]
lea rdx, [0x1400f5d6c]
test byte [rax + 0x140], bl
jne 0x140093f9a
mov rcx, qword [0x1401156c0]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400c3f40
jmp 0x140093fac
lea r9, [0x1400e0684]
xor r8d, r8d
mov rcx, r12
call fcn.14004d4a0
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret