Function at 0x1400aad0c
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
movsxd rbx, edx
lea rcx, [0x1400efcc0]
mov r12b, r9b
mov rdi, r8
mov edx, ebx
lea r9, [rbp + 0x80]
lea r8, [rbp - 0x40]
call fcn.140003778
xor r13d, r13d
test al, al
jne 0x1400aad64
mov dword [rdi], r13d
jmp 0x1400ab4ae
mov rax, qword [0x1400efd88]
movsxd rcx, dword [rbp + 0x80]
mov rcx, qword [rax + rcx*8]
mov r14, qword [rcx]
or rcx, 0xffffffffffffffff
mov dword [rdi], ecx
mov al, byte [r14 + 0xfc]
lea r15d, [rcx + 2]
mov rsi, qword [r14]
cmp al, 0x11
ja 0x1400ab112
je 0x1400ab035
test al, al
je 0x1400aafdd
cmp al, r15b
je 0x1400aaf6f
cmp al, 8
je 0x1400aaf65
cmp al, 0xa
je 0x1400aaf22
cmp al, 0xc
je 0x1400aad5c
cmp al, 0xd
jbe 0x1400ab21a
cmp al, 0xf
jbe 0x1400aae51
cmp al, 0x10
jne 0x1400ab21a
lea r8d, [rcx + 0xa]
mov dword [rdi], r13d
mov rcx, rsi
xor r9d, r9d
mov edx, 0x110a
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x1400ab4ae
mov qword [rsp + 0x38], rax
lea ebx, [r15 + 3]
mov dword [rsp + 0x30], ebx
test r12b, r12b
je 0x1400aae2a
mov ecx, 0x2000
call fcn.140024f08
mov rcx, rsi
jmp 0x1400ab075
mov rcx, rbx
call fcn.140024ec4
jmp 0x1400ab4ae
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400ab4ae
mov eax, dword [rsp + 0x60]
jmp 0x1400ab4ac
mov rcx, qword [r14 + 0x18]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400ab4ae
mov ecx, 0x208
call fcn.140024f08
mov rcx, qword [r14 + 0x18]
lea r9, [rbp]
xor r8d, r8d
mov dword [rbp], 0x50
mov rsi, rax
mov edx, ebx
test r12b, r12b
je 0x1400aaeb8
mov dword [rbp + 4], reloc.WSOCK32.dll_recv
mov qword [rbp + 0x38], rax
mov dword [rbp + 0x40], 0x104
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x1400aaeb0
mov dword [rdi], r13d
mov rcx, rsi
jmp 0x1400aae20
mov rax, rsi
jmp 0x1400ab4b0
mov dword [rbp + 4], r15d
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
mov ebx, eax
call fcn.140024ec4
test ebx, ebx
je 0x1400ab4ae
mov edx, dword [rbp + 0xc]
mov r9d, 0x100
mov eax, edx
mov dword [rdi], edx
and al, 3
neg al
mov eax, edx
sbb ecx, ecx
and ecx, 0x40
add ecx, 0x40
mov r8d, ecx
or r8d, r9d
and eax, 0x8080
mov eax, edx
cmove r8d, ecx
and al, 8
neg al
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 4
or r8d, ecx
bt edx, 0xc
jae 0x1400aaf1a
bts r8d, 9
mov dword [rdi], r8d
jmp 0x1400ab4ae
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test r12b, r12b
je 0x1400ab4ae
movsxd r8, eax
lea r9, [rbp - 0x28]
mov edx, 0x133c
mov dword [rbp - 0x28], 8
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [rbp - 8]
jmp 0x1400ab4ac
mov edx, 0x408
jmp 0x1400ab49d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
or r14, 0xffffffffffffffff
cmp eax, r14d
je 0x1400ab21e
movsxd rdi, eax
xor r9d, r9d
mov r8, rdi
mov edx, 0x18a
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
lea rcx, [r15 + rax]
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140024f08
mov edx, 0x189
mov r8, rdi
mov r9, rax
mov rbx, rax
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rax, rbx
jmp 0x1400ab4b0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
or r14, 0xffffffffffffffff
cmp eax, r14d
je 0x1400ab21e
movsxd rdi, eax
xor r9d, r9d
mov r8, rdi
mov edx, 0x149
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r15
add rcx, rax
lea eax, [r14 + 3]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140024f08
mov edx, 0x148
jmp 0x1400aafc3
mov rax, qword [r14 + 0x20]
mov edx, 0xfffffff0
mov rcx, qword [r14 + 0x68]
mov qword [rsp + 0x38], rax
mov dword [rdi], r13d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x30], 8
mov ebx, eax
mov dword [rsp + 0x44], 0xf000
test r12b, r12b
je 0x1400ab0aa
mov ecx, 0x2000
call fcn.140024f08
mov rcx, qword [r14 + 0x68]
lea r9, [rsp + 0x30]
mov dword [rsp + 0x30], r15d
xor r8d, r8d
mov qword [rsp + 0x48], rax
mov edx, 0x113e
mov dword [rsp + 0x50], 0xfff
mov rbx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400aae1d
jmp 0x1400aafd5
mov rcx, qword [r14 + 0x68]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400ab4ae
mov ecx, dword [rsp + 0x40]
mov r9d, 0x100
test r9d, ebx
je 0x1400ab0ef
mov eax, ecx
mov ebx, 4
and eax, 0xfffff000
cmp eax, 0x1000
cmovne ebx, r15d
mov dword [rdi], ebx
test cl, 2
je 0x1400ab0f7
or dword [rdi], r9d
test cl, 0x20
je 0x1400ab100
bts dword [rdi], 0xa
test cl, 0x10
je 0x1400ab4ae
bts dword [rdi], 9
jmp 0x1400ab4ae
cmp al, 0x12
je 0x1400ab498
cmp al, 0x13
je 0x1400ab43e
cmp al, 0x14
je 0x1400ab2e6
cmp al, 0x15
je 0x1400ab263
cmp al, 0x18
jbe 0x1400ab21a
cmp al, 0x1a
jbe 0x1400ab197
cmp al, 0x1c
jne 0x1400ab21a
lea r9, [rbp - 0x38]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400aad5c
mov ecx, socket
call fcn.140024f08
movzx ecx, word [rbp - 0x32]
lea rdx, str._d__02d__02d
movzx r9d, word [rbp - 0x36]
mov rbx, rax
movzx r8d, word [rbp - 0x38]
mov dword [rsp + 0x20], ecx
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400aafd5
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
test r12b, r12b
je 0x1400ab1fb
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, r15
mov r14, 0xffffffffffffffff
add ebx, eax
mov eax, 2
movsxd rcx, ebx
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140024f08
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400ab1f3
mov dword [rdi], r13d
mov rcx, r14
jmp 0x1400aae20
mov rax, r14
jmp 0x1400ab4b0
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test eax, eax
jne 0x1400ab4ae
lea ebx, [rax + 4]
mov dword [rdi], ebx
jmp 0x1400ab4ae
or r14, 0xffffffffffffffff
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
lea edx, [r9 + 0xe]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [r15 + rax]
mov eax, 2
movsxd rcx, edi
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140024f08
mov r8d, edi
mov rdx, rax
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400aafd5
mov ebx, 4
lea rsi, [r14 + 0xd0]
mov rcx, rsi
cmp dword [r14 + 0xe0], ebx
jne 0x1400ab2dc
call fcn.14000bfa8
mov rax, qword [rsi + 8]
mov r14, 0xffffffffffffffff
mov rax, qword [rax + 8]
inc eax
movsxd rcx, eax
lea eax, [rbx - 2]
mul rcx
cmovo rax, r14
mov rcx, rax
call fcn.140024f08
mov rcx, rsi
mov rdi, rax
call fcn.14000bfa8
mov rcx, qword [rsi + 8]
mov rbx, qword [rcx + 8]
mov rcx, rsi
call fcn.14000bfa8
mov rdx, qword [rsi + 8]
lea r8d, [rbx + 1]
mov rcx, rdi
mov rdx, qword [rdx]
call fcn.1400047b8
mov rax, rdi
jmp 0x1400ab4b0
call fcn.14000c4c8
jmp 0x1400ab4ac
mov dword [rdi], ecx
mov edx, 0xffffffec
mov rcx, qword [r14 + 0x68]
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
lea rcx, [rsp + 0x70]
mov esi, eax
lea r8d, [rdx + 0x48]
call fcn.140026550
mov rcx, qword [r14 + 0x68]
lea r9, [rbp - 0x28]
mov qword [rbp - 0x18], rbx
mov edx, 0x1053
or rbx, 0xffffffffffffffff
mov dword [rbp - 0x28], r15d
mov r8, rbx
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x74], eax
cmp eax, ebx
je 0x1400ab4ae
mov ebx, 4
test bl, sil
je 0x1400ab38b
test r12b, r12b
je 0x1400ab38b
mov rcx, qword [r14 + 0x68]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x70], 8
mov edx, 0x104b
mov dword [rbp - 0x80], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400ab4ae
mov eax, dword [rsp + 0x7c]
and eax, 0xfffff000
cmp eax, 0x1000
cmovne ebx, r15d
jmp 0x1400ab213
mov ecx, 0x2000
call fcn.140024f08
mov rbx, rax
mov rsi, rax
mov edi, r13d
mov dword [rsp + 0x70], r15d
mov dword [rbp - 0x70], 0xfff
cmp r13w, word [r14 + 0x100]
jge 0x1400ab420
mov rcx, qword [r14 + 0x68]
lea r9, [rsp + 0x70]
xor r8d, r8d
mov dword [rsp + 0x78], edi
mov edx, 0x104b
mov qword [rbp - 0x78], rsi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rsi
call fcn.1400272dc
mov ecx, 0xffe
sub ecx, eax
mov dword [rbp - 0x70], ecx
test ecx, ecx
jle 0x1400aafd5
mov rcx, rbx
call fcn.1400272dc
lea rcx, [rbx + rax*2]
movzx eax, word [0x1400efcd4]
mov word [rcx], ax
mov word [rcx + 2], r13w
call qword [sym.imp.USER32.dll_CharNextW]
mov rsi, rax
add edi, r15d
movsx eax, word [r14 + 0x100]
cmp edi, eax
jl 0x1400ab3b4
mov rcx, qword [r14 + 0x68]
lea r9, [rsp + 0x70]
mov dword [rsp + 0x78], edi
xor r8d, r8d
mov qword [rbp - 0x78], rsi
mov edx, 0x104b
jmp 0x1400aafcf
mov r8, rcx
mov r9d, 2
mov rcx, rsi
mov edx, 0x100c
call qword [sym.imp.USER32.dll_SendMessageW]
xor edx, edx
lea rcx, [rsp + 0x70]
mov dword [rdi], eax
lea r8d, [rdx + 0x48]
call fcn.140026550
mov eax, dword [rdi]
lea r9, [rsp + 0x70]
mov ebx, 4
mov dword [rsp + 0x74], eax
xor r8d, r8d
mov dword [rsp + 0x70], ebx
mov edx, 0x104b
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
neg rax
sbb ecx, ecx
and ecx, dword [rbp - 0x68]
mov dword [rdi], ecx
jmp 0x1400ab4ae
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 + 0x150]
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