Function at 0x1400621a0
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, [0x1400c2e50]
mov rdi, rdx
mov edx, r13d
call fcn.14004acf0
xor r14d, r14d
test al, al
jne 0x1400621f2
mov dword [rdi], r14d
jmp 0x14006290b
mov rax, qword [0x1400c2f18]
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 0x1400625c3
je 0x1400624e5
test eax, eax
je 0x140062492
cmp eax, 1
je 0x140062427
cmp eax, 8
je 0x14006241d
cmp eax, 0xa
je 0x1400623d6
cmp eax, 0xc
je 0x1400621ea
cmp eax, 0xd
jle 0x1400626ca
cmp eax, 0xf
jle 0x14006230b
cmp eax, 0x10
jne 0x1400626ca
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 0x14006290b
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 4
test r12b, r12b
je 0x1400622e5
mov ecx, 0x2000
call fcn.140014cb8
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 0x14006248a
mov rcx, rbx
call fcn.140014860
jmp 0x14006290b
lea r9, [rsp + 0x68]
xor r8d, r8d
mov edx, 0x113e
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x14006290b
mov eax, dword [rbp - 0x68]
jmp 0x140062909
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x14006290b
mov ecx, 0x208
call fcn.140014cb8
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 0x140062373
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 0x14006236b
mov dword [rdi], r14d
mov rcx, rsi
jmp 0x1400622db
mov rax, rsi
jmp 0x14006290d
mov dword [rbp - 0x1c], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
mov rcx, rsi
test eax, eax
je 0x1400622db
call fcn.140014860
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 0x1400623b6
mov edx, pe_nt_image_headers64
or ecx, edx
test r11b, 8
je 0x1400623c1
or ecx, 1
jmp 0x1400623c4
or ecx, 4
bt r11d, 0xc
jae 0x1400623cf
bts ecx, 9
mov dword [rdi], ecx
jmp 0x14006290b
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 0x14006290b
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 0x14006290b
mov edx, 0x408
jmp 0x1400628fa
xor r9d, r9d
xor r8d, r8d
mov edx, 0x188
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x1400626ca
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.140014cb8
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 0x14006290d
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, r15d
je 0x1400626ca
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.140014cb8
mov edx, 0x148
jmp 0x140062478
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 0x140062562
mov ecx, 0x2000
call fcn.140014cb8
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 0x14006255a
mov rax, rdi
jmp 0x14006290d
mov rcx, rdi
jmp 0x1400622db
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 0x14006290b
mov ecx, dword [rsp + 0x78]
mov edx, pe_nt_image_headers64
test edx, esi
je 0x1400625a1
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 0x1400625a8
or dword [rdi], edx
test cl, 0x20
je 0x1400625b1
bts dword [rdi], 0xa
test cl, 0x10
je 0x14006290b
bts dword [rdi], 9
jmp 0x14006290b
cmp eax, 0x12
je 0x1400628f5
cmp eax, 0x13
je 0x14006289a
cmp eax, 0x14
je 0x140062738
cmp eax, 0x15
je 0x14006270e
cmp eax, 0x18
jle 0x1400626ca
cmp eax, 0x1a
jle 0x14006264f
cmp eax, 0x1c
jne 0x1400626ca
lea r9, [rbp - 0x60]
xor r8d, r8d
mov edx, 0x1001
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x1400621ea
mov ecx, SafeArrayUnaccessData
call fcn.140014cb8
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 0x14006248a
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
test r12b, r12b
je 0x1400626aa
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.140014cb8
mov r8d, ebx
mov rcx, rsi
mov rdx, rax
mov r12, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jne 0x1400626a2
mov dword [rdi], r14d
mov rcx, r12
jmp 0x1400622db
mov rax, r12
jmp 0x14006290d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi], eax
test eax, eax
jne 0x14006290b
mov dword [rdi], 4
jmp 0x14006290b
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.140014cb8
mov r8d, edi
mov rcx, rsi
mov rdx, rax
mov rbx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x14006248a
add rbx, 0xc8
mov rcx, rbx
call fcn.14004cf10
mov rcx, rbx
test al, al
je 0x14006272e
call fcn.14005f330
jmp 0x14006290d
call fcn.14000ede0
jmp 0x140062909
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.1400152d0
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 0x14006290b
test sil, 4
je 0x1400627dc
test r12b, r12b
je 0x1400627dc
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 0x14006290b
mov eax, dword [rsp + 0x3c]
shr eax, 0xc
dec eax
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 4
jmp 0x140062909
mov ecx, 0x2000
call fcn.140014cb8
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 0x140062875
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.140014844
mov ecx, 0xffe
sub ecx, eax
mov dword [rsp + 0x50], ecx
test ecx, ecx
jle 0x140062552
mov rcx, rdi
call fcn.140014844
lea rcx, [rdi + rax*2]
movzx eax, word [0x1400c2e64]
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 0x140062809
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 0x140062552
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.1400152d0
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 0x1400623cf
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