Function at 0x14005ad34
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov bpl, r9b
mov rdi, r8
movsxd r12, edx
lea r9, [rsp + 0x30]
lea r8, [rax - 0xd0]
lea rcx, [0x1400a9420]
mov edx, r12d
call fcn.140058a70
xor r14d, r14d
cmp al, r14b
jne 0x14005ad87
mov dword [rdi], r14d
jmp 0x14005b503
mov rax, qword [0x1400a94e8]
movsxd rcx, dword [rsp + 0x30]
or r15, 0xffffffffffffffff
mov rcx, qword [rax + rcx*8]
mov dword [rdi], r15d
mov rbx, qword [rcx]
movzx eax, byte [rbx + 0xf4]
mov rsi, qword [rbx]
cmp eax, 0x11
jg 0x14005b19f
je 0x14005b0b2
cmp eax, r14d
je 0x14005b05f
cmp eax, 1
je 0x14005aff4
cmp eax, 8
je 0x14005afea
cmp eax, 0xa
je 0x14005af97
cmp eax, 0xc
je 0x14005ad7f
cmp eax, 0xd
jle 0x14005b2b9
cmp eax, 0xf
jle 0x14005aeb0
cmp eax, 0x10
jne 0x14005b2b9
lea r8d, [r15 + 0xa]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rsi
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, r14
je 0x14005b503
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
cmp bpl, r14b
je 0x14005ae85
mov ecx, 0x2000
call fcn.140075b98
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
mov dword [rsp + 0x70], 1
mov rbx, rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
jne 0x14005b057
mov rcx, rbx
call fcn.140075884
jmp 0x14005b503
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005b503
mov eax, dword [rsp + 0xa0]
jmp 0x14005b501
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
cmp eax, r14d
je 0x14005b503
mov ecx, 0x208
call fcn.140075b98
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov dword [rsp + 0xc0], 0x50
lea r9, [rsp + 0xc0]
mov edx, r12d
mov rsi, rax
cmp bpl, r14b
je 0x14005af2e
mov dword [rsp + 0xc4], reloc.WSOCK32.dll_recv
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0x100], 0x104
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, r14d
jne 0x14005af26
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x14005ae7b
mov rax, rsi
jmp 0x14005b505
mov dword [rsp + 0xc4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
cmp eax, r14d
je 0x14005ae7b
call fcn.140075884
mov r11d, dword [rsp + 0xcc]
mov al, r11b
mov dword [rdi], r11d
and al, 3
neg al
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x40
test r11d, 0x8080
je 0x14005af77
bts ecx, 8
test r11b, 8
je 0x14005af82
or ecx, 1
jmp 0x14005af85
or ecx, 4
bt r11d, 0xc
jae 0x14005af90
bts ecx, 9
mov dword [rdi], ecx
jmp 0x14005b503
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp bpl, r14b
je 0x14005b503
lea r9, [rsp + 0x110]
movsxd r8, eax
mov edx, 0x133c
mov rcx, rsi
mov dword [rsp + 0x110], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rsp + 0x130]
mov dword [rdi], r11d
jmp 0x14005b503
mov edx, 0x408
jmp 0x14005b4f2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005b2b9
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x18a
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, r15
mov rcx, rax
call fcn.140075b98
mov edx, 0x189
mov r8, rdi
mov r9, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
jmp 0x14005b505
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005b2b9
movsxd rdi, eax
xor r9d, r9d
mov edx, 0x149
mov r8, rdi
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11, [rax + 1]
mov eax, 2
mul r11
cmovo rax, r15
mov rcx, rax
call fcn.140075b98
mov edx, 0x148
jmp 0x14005b045
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
mov edx, 0xfffffff0
mov qword [rsp + 0x78], rax
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x84], 0xf000
mov esi, eax
cmp bpl, r14b
je 0x14005b13b
mov ecx, 0x2000
call fcn.140075b98
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rdi, rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x90], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005b133
mov rax, rdi
jmp 0x14005b505
mov rcx, rdi
jmp 0x14005ae7b
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005b503
bt esi, 8
mov ecx, dword [rsp + 0x80]
jae 0x14005b17b
mov eax, ecx
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
mov dword [rdi], eax
test cl, 2
je 0x14005b184
bts dword [rdi], 8
test cl, 0x20
je 0x14005b18d
bts dword [rdi], 0xa
test cl, 0x10
je 0x14005b503
bts dword [rdi], 9
jmp 0x14005b503
cmp eax, 0x12
je 0x14005b4ed
cmp eax, 0x13
je 0x14005b492
cmp eax, 0x14
je 0x14005b321
cmp eax, 0x15
je 0x14005b2fd
cmp eax, 0x18
jle 0x14005b2b9
cmp eax, 0x1a
jle 0x14005b23c
cmp eax, 0x1c
jne 0x14005b2b9
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005ad7f
mov ecx, SafeArrayGetElement
call fcn.140075b98
movzx ecx, word [rsp + 0xae]
movzx r9d, word [rsp + 0xaa]
movzx r8d, word [rsp + 0xa8]
mov dword [rsp + 0x20], ecx
lea rdx, str._d__02d__02d
mov rcx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x14005b057
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp bpl, r14b
je 0x14005b298
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [rax + 1]
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140075b98
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r14d
jne 0x14005b290
mov dword [rdi], r14d
mov rcx, rbp
jmp 0x14005ae7b
mov rax, rbp
jmp 0x14005b505
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp eax, r14d
jne 0x14005b503
mov dword [rdi], 4
jmp 0x14005b503
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [rax + 1]
mov eax, 2
movsxd rcx, edi
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140075b98
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14005b057
cmp dword [rbx + 0xd0], 4
lea rcx, [rbx + 0xc8]
jne 0x14005b317
call fcn.1400174a4
jmp 0x14005b505
call fcn.140017618
jmp 0x14005b501
mov r13, qword [rbx + 0x60]
mov edx, 0xffffffec
mov dword [rdi], r15d
mov rcx, r13
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x38]
mov esi, eax
call fcn.1400761e0
lea r9, [rsp + 0x138]
mov r8, r15
mov edx, 0x1053
mov rcx, r13
mov dword [rsp + 0x138], 1
mov qword [rsp + 0x148], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x3c], eax
cmp eax, r15d
je 0x14005b503
test sil, 4
je 0x14005b3d3
cmp bpl, r14b
je 0x14005b3d3
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov rcx, r13
mov dword [rsp + 0x38], 8
mov dword [rsp + 0x48], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005b503
mov eax, dword [rsp + 0x44]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x14005b501
mov ecx, 0x2000
call fcn.140075b98
cmp r14w, word [rbx + 0xf8]
mov dword [rsp + 0x38], 1
mov rdi, rax
mov rbp, rax
mov dword [rsp + 0x58], 0xfff
mov esi, r14d
jge 0x14005b46d
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rbp
call fcn.140075704
mov ecx, 0xffe
sub ecx, eax
cmp ecx, r14d
mov dword [rsp + 0x58], ecx
jle 0x14005b12b
mov rcx, rdi
call fcn.140075704
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400a9434]
mov word [rcx], ax
mov word [rcx + 2], r14w
call qword [sym.imp.USER32.dll_CharNextW]
mov rbp, rax
movsx eax, word [rbx + 0xf8]
inc esi
cmp esi, eax
jl 0x14005b400
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14005b12b
mov r9d, 2
mov r8, r15
mov edx, 0x100c
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 0x38]
mov dword [rdi], eax
call fcn.1400761e0
mov eax, dword [rdi]
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 4
call qword [sym.imp.USER32.dll_SendMessageW]
neg rax
sbb ecx, ecx
and ecx, dword [rsp + 0x60]
jmp 0x14005af90
mov edx, 0x400
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
xor eax, eax
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret