Function at 0x140093600
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.140090a80
mov rdi, qword [rbp + 0x448]
mov ebx, 1
mov rsi, rax
cmp word [rdi], 0
lea r14d, [rbx + 2]
jne 0x140093678
mov edi, ebx
jmp 0x14009372c
lea rdx, [0x1400fcd40]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140093694
lea edi, [rax + 2]
jmp 0x14009372c
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 0x1400936ad
mov edi, r14d
jmp 0x14009372c
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 0x1400936c6
lea edi, [rax + 4]
jmp 0x14009372c
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 0x1400936df
lea edi, [rax + 5]
jmp 0x14009372c
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 0x1400936f8
lea edi, [rax + 6]
jmp 0x14009372c
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 0x140093711
lea edi, [rax + 7]
jmp 0x14009372c
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 0x140093e4b
lea edi, [rax + 8]
test rsi, rsi
je 0x140093e4b
cmp word [r13], 0
jne 0x140093741
mov r13, qword [r15 + 0x28]
mov rcx, qword [0x1401156c0]
lea r12, [0x1400e0704]
xor r9d, r9d
mov byte [rsp + 0x20], bl
mov rdx, r12
lea r8, [r9 - 1]
call fcn.1400c4200
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 0x140093c2e
mov rdx, r13
mov rcx, rsi
call fcn.1400a0ea0
mov r13d, eax
cmp edi, 2
je 0x1400937bc
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c4200
cmp r13d, dword [rsi + 0x20]
jae case.default.0x1400937e5
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 + 0x93ea8]
add rax, rdx
jmp rax
mov r9, qword [rbp + 0x458]
mov r8, r10
mov rdx, r15
mov rcx, rsi
call fcn.14009f390
jmp 0x140093e04
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 0x14009384c
test byte [rcx + 0x78], 4
je 0x14009384c
xor r13d, r13d
jmp 0x140093861
test byte [r15 + 0x22], 2
mov r13d, 0
mov r14d, r13d
setne r14b
inc r14d
mov r9, qword [r15 + 0x28]
lea r8, [0x140100078]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf370
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093b5e
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.14003d180
mov rdi, rax
test rax, rax
jne 0x1400938f0
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.14003d6c0
mov rdi, rax
test rax, rax
je 0x140093b5e
cmp byte [rsi + 0x110], 0
je 0x140093911
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x140093915
mov eax, dword [rsp + 0x38]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001430
mov r9, qword [r15 + 0x28]
lea r8, [0x140100080]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf370
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093b5e
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.14003d180
mov rdi, rax
test rax, rax
jne 0x1400939ae
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.14003d6c0
mov rdi, rax
test rax, rax
je 0x140093b5e
cmp byte [rsi + 0x110], 0
je 0x1400939cf
mov r8d, dword [0x140117b8c]
mov edx, 0x60
mov ecx, dword [rsp + 0x3c]
call qword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x1400939d3
mov eax, dword [rsp + 0x3c]
movsxd rdx, eax
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rdi
call fcn.140001430
mov r9, qword [r15 + 0x28]
lea r8, [0x140100088]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf370
cmp word [rbp - 0x40], 0
movsxd r12, eax
je 0x140093b5e
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.14003d180
mov rdi, rax
test rax, rax
jne 0x140093a6c
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.14003d6c0
mov rdi, rax
test rax, rax
je 0x140093b5e
mov eax, dword [rsp + 0x58]
sub eax, dword [rsp + 0x50]
cmp byte [rsi + 0x110], 0
je 0x140093a91
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.140001430
mov r9, qword [r15 + 0x28]
lea r8, [0x140100090]
mov edx, 0x111
lea rcx, [rbp - 0x40]
call fcn.1400bf370
cmp word [rbp - 0x40], 0
movsxd r15, eax
je 0x140093b5e
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.14003d180
mov rdi, rax
test rax, rax
jne 0x140093b26
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.14003d6c0
mov rdi, rax
test rax, rax
je 0x140093b5e
mov eax, dword [rsp + 0x5c]
sub eax, dword [rsp + 0x54]
cmp byte [rsi + 0x110], 0
je 0x140093b4b
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.140001430
jmp 0x140093e06
mov ebx, r13d
jmp 0x140093e06
mov rcx, qword [r10]
call qword [sym.imp.USER32.dll_IsWindowEnabled]
lea rdx, [0x1400f5d5c]
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.1400c4200
jmp 0x140093e04
xor eax, eax
jmp 0x140093e04
xor r9d, r9d
mov byte [rsp + 0x20], bl
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c4200
call qword [sym.imp.USER32.dll_GetFocus]
mov qword [rsp + 0x70], rax
mov r14, rax
test rax, rax
je case.default.0x1400937e5
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rsi + 0x20]
jb 0x140093c91
mov rcx, r14
call qword [sym.imp.USER32.dll_GetParent]
mov r14, rax
test rax, rax
je 0x140093c88
mov rcx, rax
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
lea ebx, [rax - 3]
cmp ebx, dword [rsi + 0x20]
jae case.default.0x1400937e5
mov eax, ebx
imul rdx, rax, 0x58
add rdx, qword [rsi + 0x28]
mov rcx, qword [rdx]
cmp rcx, r14
jne case.default.0x1400937e5
cmp ebx, 0x2af8
je case.default.0x1400937e5
test rdx, rdx
je case.default.0x1400937e5
cmp edi, 4
jne 0x140093d34
call qword [sym.imp.USER32.dll_GetDlgCtrlID]
sub eax, 3
cmp eax, 0x2af8
jae 0x140093d29
cmp qword [rsi + 8], 0
je 0x140093d29
cmp eax, dword [rsi + 0x20]
jae 0x140093d29
imul rcx, rax, 0x58
lea rdx, [rbp + 0x1f0]
add rcx, qword [rsi + 0x28]
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x140093d18
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 0x140093d00
jmp 0x140093da0
mov rcx, qword [rcx]
mov r8d, 0x40
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140093da0
xor eax, eax
mov word [rbp + 0x1f0], ax
jmp 0x140093da0
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.0x1400937e5
mov rcx, qword [rsi + 8]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140056680]
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.0x1400937e5
mov r9d, dword [rsp + 0x6c]
lea r8, [0x1400e0824]
mov edx, 0x101
lea rcx, [rbp + 0x1f0]
call fcn.1400bf410
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rbp + 0x1f0]
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x140093e04
mov rax, qword [0x140112060]
lea rdx, [0x1400f5d5c]
test byte [rax + 0x140], 1
jne 0x140093dee
mov rcx, qword [0x1401156c0]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x140093e04
mov rcx, qword [rbp + 0x440]
lea r9, [0x1400e0674]
xor r8d, r8d
call fcn.14004d3c0
mov ebx, eax
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x140093e47
mov rcx, qword [0x140116718]
test rcx, rcx
je 0x140093e35
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp qword [0x140116710], 0x400000
jbe 0x140093e35
dec dword [0x1401166e4]
mov rax, qword [rbp - 0x80]
mov qword [0x140116710], rax
mov qword [0x140116718], rdi
mov eax, ebx
jmp 0x140093e8c
mov rax, qword [0x140112060]
lea rdx, [0x1400f5d5c]
test byte [rax + 0x140], bl
jne 0x140093e7a
mov rcx, qword [0x1401156c0]
xor r9d, r9d
mov byte [rsp + 0x20], bl
lea r8, [r9 - 1]
call fcn.1400c4200
jmp 0x140093e8c
lea r9, [0x1400e0674]
xor r8d, r8d
mov rcx, r12
call fcn.14004d3c0
mov rbx, qword [rsp + 0x550]
add rsp, 0x500
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret