Function at 0x140066b70
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, [0x1400c1e50]
mov edx, r12d
call fcn.140050800
xor r14d, r14d
cmp al, r14b
jne 0x140066bc3
mov dword [rdi], r14d
jmp 0x140067340
mov rax, qword [0x1400c1f18]
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 0x140066fdb
je 0x140066eee
cmp eax, r14d
je 0x140066e9b
cmp eax, 1
je 0x140066e30
cmp eax, 8
je 0x140066e26
cmp eax, 0xa
je 0x140066dd3
cmp eax, 0xc
je 0x140066bbb
cmp eax, 0xd
jle 0x1400670f5
cmp eax, 0xf
jle 0x140066cec
cmp eax, 0x10
jne 0x1400670f5
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 0x140067340
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x70], 4
cmp bpl, r14b
je 0x140066cc1
mov ecx, 0x2000
call fcn.140018cc8
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 0x140066e93
mov rcx, rbx
call fcn.140018ec8
jmp 0x140067340
lea r9, [rsp + 0x70]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x140067340
mov eax, dword [rsp + 0xa0]
jmp 0x14006733e
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
cmp eax, r14d
je 0x140067340
mov ecx, 0x208
call fcn.140018cc8
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 0x140066d6a
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 0x140066d62
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x140066cb7
mov rax, rsi
jmp 0x140067342
mov dword [rsp + 0xc4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
cmp eax, r14d
je 0x140066cb7
call fcn.140018ec8
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 0x140066db3
bts ecx, 8
test r11b, 8
je 0x140066dbe
or ecx, 1
jmp 0x140066dc1
or ecx, 4
bt r11d, 0xc
jae 0x140066dcc
bts ecx, 9
mov dword [rdi], ecx
jmp 0x140067340
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 0x140067340
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 0x140067340
mov edx, 0x408
jmp 0x14006732f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x1400670f5
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.140018cc8
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 0x140067342
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x1400670f5
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.140018cc8
mov edx, 0x148
jmp 0x140066e81
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 0x140066f77
mov ecx, 0x2000
call fcn.140018cc8
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 0x140066f6f
mov rax, rdi
jmp 0x140067342
mov rcx, rdi
jmp 0x140066cb7
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 0x140067340
bt esi, 8
mov ecx, dword [rsp + 0x80]
jae 0x140066fb7
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 0x140066fc0
bts dword [rdi], 8
test cl, 0x20
je 0x140066fc9
bts dword [rdi], 0xa
test cl, 0x10
je 0x140067340
bts dword [rdi], 9
jmp 0x140067340
cmp eax, 0x12
je 0x14006732a
cmp eax, 0x13
je 0x1400672cf
cmp eax, 0x14
je 0x14006715e
cmp eax, 0x15
je 0x140067139
cmp eax, 0x18
jle 0x1400670f5
cmp eax, 0x1a
jle 0x140067078
cmp eax, 0x1c
jne 0x1400670f5
lea r9, [rsp + 0xa8]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r14d
je 0x140066bbb
mov ecx, SafeArrayUnaccessData
call fcn.140018cc8
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 0x140066e93
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
cmp bpl, r14b
je 0x1400670d4
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.140018cc8
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov rbp, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r14d
jne 0x1400670cc
mov dword [rdi], r14d
mov rcx, rbp
jmp 0x140066cb7
mov rax, rbp
jmp 0x140067342
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
cmp eax, r14d
jne 0x140067340
mov dword [rdi], 4
jmp 0x140067340
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.140018cc8
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x140066e93
lea rcx, [rbx + 0xc8]
call fcn.1400418c0
cmp al, r14b
je 0x140067154
call fcn.140063fa0
jmp 0x140067342
call fcn.140008d20
jmp 0x14006733e
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.140019a70
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 0x140067340
test sil, 4
je 0x140067210
cmp bpl, r14b
je 0x140067210
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 0x140067340
mov eax, dword [rsp + 0x44]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x14006733e
mov ecx, 0x2000
call fcn.140018cc8
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 0x1400672aa
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.140019b5c
mov ecx, 0xffe
sub ecx, eax
cmp ecx, r14d
mov dword [rsp + 0x58], ecx
jle 0x140066f67
mov rcx, rdi
call fcn.140019b5c
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400c1e64]
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 0x14006723d
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 0x140066f67
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.140019a70
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 0x140066dcc
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