Function at 0x14005e1a0
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, [0x1400bdcd0]
mov edx, r12d
call fcn.14004ec80
xor r14d, r14d
cmp al, r14b
jne 0x14005e1f3
mov dword [rdi], r14d
jmp 0x14005e970
mov rax, qword [0x1400bdd98]
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 + 0xd4]
mov rsi, qword [rbx]
cmp eax, 0x11
jg 0x14005e60b
je 0x14005e51e
cmp eax, r14d
je 0x14005e4cb
cmp eax, 1
je 0x14005e460
cmp eax, 8
je 0x14005e456
cmp eax, 0xa
je 0x14005e403
cmp eax, 0xc
je 0x14005e1eb
cmp eax, 0xd
jle 0x14005e725
cmp eax, 0xf
jle 0x14005e31c
cmp eax, 0x10
jne 0x14005e725
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 0x14005e970
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
cmp bpl, r14b
je 0x14005e2f1
mov ecx, 0x2000
call fcn.140017e04
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 0x14005e4c3
mov rcx, rbx
call fcn.1400185f4
jmp 0x14005e970
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e970
mov eax, dword [rsp + 0xa0]
jmp 0x14005e96e
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
cmp eax, r14d
je 0x14005e970
mov ecx, 0x208
call fcn.140017e04
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 0x14005e39a
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 0x14005e392
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x14005e2e7
mov rax, rsi
jmp 0x14005e972
mov dword [rsp + 0xc4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
cmp eax, r14d
je 0x14005e2e7
call fcn.1400185f4
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 0x14005e3e3
bts ecx, 8
test r11b, 8
je 0x14005e3ee
or ecx, 1
jmp 0x14005e3f1
or ecx, 4
bt r11d, 0xc
jae 0x14005e3fc
bts ecx, 9
mov dword [rdi], ecx
jmp 0x14005e970
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 0x14005e970
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 0x14005e970
mov edx, 0x408
jmp 0x14005e95f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005e725
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.140017e04
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 0x14005e972
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x14005e725
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.140017e04
mov edx, 0x148
jmp 0x14005e4b1
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 0x14005e5a7
mov ecx, 0x2000
call fcn.140017e04
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 0x14005e59f
mov rax, rdi
jmp 0x14005e972
mov rcx, rdi
jmp 0x14005e2e7
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 0x14005e970
bt esi, 8
mov ecx, dword [rsp + 0x80]
jae 0x14005e5e7
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 0x14005e5f0
bts dword [rdi], 8
test cl, 0x20
je 0x14005e5f9
bts dword [rdi], 0xa
test cl, 0x10
je 0x14005e970
bts dword [rdi], 9
jmp 0x14005e970
cmp eax, 0x12
je 0x14005e95a
cmp eax, 0x13
je 0x14005e8ff
cmp eax, 0x14
je 0x14005e78e
cmp eax, 0x15
je 0x14005e769
cmp eax, 0x18
jle 0x14005e725
cmp eax, 0x1a
jle 0x14005e6a8
cmp eax, 0x1c
jne 0x14005e725
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x14005e1eb
mov ecx, SafeArrayUnaccessData
call fcn.140017e04
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 0x14005e4c3
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp bpl, r14b
je 0x14005e704
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.140017e04
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r14d
jne 0x14005e6fc
mov dword [rdi], r14d
mov rcx, rbp
jmp 0x14005e2e7
mov rax, rbp
jmp 0x14005e972
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp eax, r14d
jne 0x14005e970
mov dword [rdi], 4
jmp 0x14005e970
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.140017e04
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14005e4c3
lea rcx, [rbx + 0xa8]
call fcn.140040090
cmp al, r14b
je 0x14005e784
call fcn.140058e00
jmp 0x14005e972
call fcn.140001d20
jmp 0x14005e96e
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.140018a40
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 0x14005e970
test sil, 4
je 0x14005e840
cmp bpl, r14b
je 0x14005e840
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 0x14005e970
mov eax, dword [rsp + 0x44]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x14005e96e
mov ecx, 0x2000
call fcn.140017e04
cmp r14w, word [rbx + 0xd8]
mov dword [rsp + 0x38], 1
mov rdi, rax
mov rbp, rax
mov dword [rsp + 0x58], 0xfff
mov esi, r14d
jge 0x14005e8da
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.140018b2c
mov ecx, 0xffe
sub ecx, eax
cmp ecx, r14d
mov dword [rsp + 0x58], ecx
jle 0x14005e597
mov rcx, rdi
call fcn.140018b2c
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400bdce4]
mov word [rcx], ax
mov word [rcx + 2], r14w
call qword [sym.imp.USER32.dll_CharNextW]
mov rbp, rax
movsx eax, word [rbx + 0xd8]
inc esi
cmp esi, eax
jl 0x14005e86d
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 0x14005e597
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.140018a40
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 0x14005e3fc
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