Function at 0x1400614e0
Capabilities:
Get graphical window text

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
movsxd r13, ecx
mov r12b, r8b
lea r9, [rbp + 0x78]
lea r8, [rbp - 0x50]
lea rcx, [0x1400c0e50]
mov rdi, rdx
mov edx, r13d
call fcn.14004a330
xor r14d, r14d
test al, al
jne 0x140061532
mov dword [rdi], r14d
jmp 0x140061c4b
mov rax, qword [0x1400c0f18]
movsxd rcx, dword [rbp + 0x78]
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 0x140061903
je 0x140061825
test eax, eax
je 0x1400617d2
cmp eax, 1
je 0x140061767
cmp eax, 8
je 0x14006175d
cmp eax, 0xa
je 0x140061716
cmp eax, 0xc
je 0x14006152a
cmp eax, 0xd
jle 0x140061a0a
cmp eax, 0xf
jle 0x14006164b
cmp eax, 0x10
jne 0x140061a0a
lea r8d, [r15 + 0xa]
xor r9d, r9d
mov edx, 0x110a
mov rcx, rsi
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_SendMessageW]
test rax, rax
je 0x140061c4b
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 4
test r12b, r12b
je 0x140061625
mov ecx, 0x2000
call fcn.140014ee8
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
mov dword [rsp + 0x68], 1
mov rbx, rax
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x78], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x1400617ca
mov rcx, rbx
call fcn.140014a90
jmp 0x140061c4b
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140061c4b
mov eax, dword [rbp - 0x68]
jmp 0x140061c49
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x140061c4b
mov ecx, 0x208
call fcn.140014ee8
mov rcx, qword [rbx + 0x10]
xor r8d, r8d
mov dword [rbp - 0x20], 0x50
lea r9, [rbp - 0x20]
mov edx, r13d
mov rsi, rax
test r12b, r12b
je 0x1400616b3
mov dword [rbp - 0x1c], reloc.WSOCK32.dll_recv
mov qword [rbp + 0x18], rax
mov dword [rbp + 0x20], 0x104
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
test eax, eax
jne 0x1400616ab
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x14006161b
mov rax, rsi
jmp 0x140061c4d
mov dword [rbp - 0x1c], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
test eax, eax
je 0x14006161b
call fcn.140014a90
mov r11d, dword [rbp - 0x14]
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 0x1400616f6
mov edx, pe_nt_image_headers64
or ecx, edx
test r11b, 8
je 0x140061701
or ecx, 1
jmp 0x140061704
or ecx, 4
bt r11d, 0xc
jae 0x14006170f
bts ecx, 9
mov dword [rdi], ecx
jmp 0x140061c4b
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 0x140061c4b
lea r9, [rbp - 0x48]
movsxd r8, eax
mov edx, 0x133c
mov rcx, rsi
mov dword [rbp - 0x48], 8
call qword [sym.imp.USER32.dll_SendMessageW]
mov r11d, dword [rbp - 0x28]
mov dword [rdi], r11d
jmp 0x140061c4b
mov edx, 0x408
jmp 0x140061c3a
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x140061a0a
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.140014ee8
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 0x140061c4d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x140061a0a
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.140014ee8
mov edx, 0x148
jmp 0x1400617b8
mov rax, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x60]
mov edx, 0xfffffff0
mov qword [rsp + 0x70], rax
mov dword [rdi], r14d
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [rsp + 0x68], 8
mov dword [rsp + 0x7c], 0xf000
mov esi, eax
test r12b, r12b
je 0x1400618a2
mov ecx, 0x2000
call fcn.140014ee8
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x113e
mov rdi, rax
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x68], 1
mov dword [rbp - 0x78], 0xfff
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14006189a
mov rax, rdi
jmp 0x140061c4d
mov rcx, rdi
jmp 0x14006161b
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x113e
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140061c4b
mov ecx, dword [rsp + 0x78]
mov edx, pe_nt_image_headers64
test edx, esi
je 0x1400618e1
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 0x1400618e8
or dword [rdi], edx
test cl, 0x20
je 0x1400618f1
bts dword [rdi], 0xa
test cl, 0x10
je 0x140061c4b
bts dword [rdi], 9
jmp 0x140061c4b
cmp eax, 0x12
je 0x140061c35
cmp eax, 0x13
je 0x140061bda
cmp eax, 0x14
je 0x140061a78
cmp eax, 0x15
je 0x140061a4e
cmp eax, 0x18
jle 0x140061a0a
cmp eax, 0x1a
jle 0x14006198f
cmp eax, 0x1c
jne 0x140061a0a
lea r9, [rbp - 0x60]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14006152a
mov ecx, SafeArrayGetElement
call fcn.140014ee8
movzx ecx, word [rbp - 0x5a]
movzx r9d, word [rbp - 0x5e]
movzx r8d, word [rbp - 0x60]
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 0x1400617ca
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
test r12b, r12b
je 0x1400619ea
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.140014ee8
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400619e2
mov dword [rdi], r14d
mov rcx, r12
jmp 0x14006161b
mov rax, r12
jmp 0x140061c4d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test eax, eax
jne 0x140061c4b
mov dword [rdi], 4
jmp 0x140061c4b
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.140014ee8
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1400617ca
add rbx, 0xc8
mov rcx, rbx
call fcn.14004c540
mov rcx, rbx
test al, al
je 0x140061a6e
call fcn.14005e670
jmp 0x140061c4d
call fcn.14000eb40
jmp 0x140061c49
mov rcx, qword [rbx + 0x60]
mov edx, 0xffffffec
mov dword [rdi], r15d
call qword [sym.imp.USER32.dll_GetWindowLongW]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x38]
mov esi, eax
call fcn.140015500
mov rcx, qword [rbx + 0x60]
lea r9, [rbp - 0x48]
mov r8, r15
mov edx, 0x1053
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x38], r13
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rsp + 0x34], eax
cmp eax, r15d
je 0x140061c4b
test sil, 4
je 0x140061b1c
test r12b, r12b
je 0x140061b1c
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x40], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x140061c4b
mov eax, dword [rsp + 0x3c]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x140061c49
mov ecx, 0x2000
call fcn.140014ee8
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x50], 0xfff
mov esi, r14d
mov rdi, rax
mov r12, rax
cmp r14w, word [rbx + 0xf8]
jge 0x140061bb5
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x48], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, r12
call fcn.140014a74
mov ecx, 0xffe
sub ecx, eax
mov dword [rsp + 0x50], ecx
test ecx, ecx
jle 0x140061892
mov rcx, rdi
call fcn.140014a74
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400c0e64]
mov word [rcx], ax
mov word [rcx + 2], r14w
call qword [sym.imp.USER32.dll_CharNextW]
mov r12, rax
movsx eax, word [rbx + 0xf8]
inc esi
cmp esi, eax
jl 0x140061b49
mov rcx, qword [rbx + 0x60]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104b
mov dword [rsp + 0x38], esi
mov qword [rsp + 0x48], r12
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x140061892
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 + 0x30]
lea r8d, [rdx + 0x38]
mov dword [rdi], eax
call fcn.140015500
mov eax, dword [rdi]
lea r9, [rsp + 0x30]
xor r8d, r8d
mov edx, 0x104b
mov rcx, rsi
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 4
call qword [sym.imp.USER32.dll_SendMessageW]
neg rax
sbb ecx, ecx
and ecx, dword [rsp + 0x58]
jmp 0x14006170f
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 + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret