Function at 0x4e2b44
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov r13, r8
mov rsi, rcx
movsx r9d, dx
shr rdx, 0x10
movsx eax, dx
lea rcx, [rsp + 0x40]
mov qword [r11 - 0xf8], rcx
lea rcx, [rsp + 0x40]
mov qword [r11 - 0xf0], rcx
xor r14d, r14d
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x38], r9d
mov dword [rsp + 0x3c], eax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov edx, 0xd7
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
movsxd rbx, eax
mov r9, rbx
xor r8d, r8d
mov edx, 0x436
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd rbp, eax
xor r9d, r9d
mov r8, rbp
mov edx, 0xbb
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.USER32.dll_SendMessageW]
sub r12d, eax
xor r9d, r9d
mov r8, rbx
mov edx, 0xc1
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea edi, [rax + 1]
cmp edi, 3
jge 0x4e2c5c
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
cmp rcx, rax
je 0x4e2c55
cmp rcx, r14
je 0x4e2c55
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov ebp, 0x100
cmp rdx, rbp
jbe 0x4e2c50
call fcn.006a4944
jmp 0x4e2c55
call fcn.006a3610
xor eax, eax
jmp 0x4e3137
movsxd rcx, edi
mov eax, 2
mul rcx
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.006a43c4
mov rbx, rax
mov word [rax], di
mov r9, rax
mov r8, rbp
mov edx, 0xc4
mov rcx, qword [rsi + 0x3d8]
call qword [sym.imp.USER32.dll_SendMessageW]
lea r11d, [rdi - 1]
movsxd r8, r11d
lea r9, [rsp + 0x188]
mov rdx, rbx
lea rcx, [rsp + 0xf0]
call fcn.0042100c
nop
lea rcx, [rsp + 0x40]
cmp rax, rcx
je 0x4e2cd5
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x40]
call fcn.00406d38
nop
lea rax, [rsp + 0xf0]
mov ebp, 0x100
mov rcx, qword [rsp + 0x138]
cmp rcx, rax
je 0x4e2d17
cmp rcx, r14
je 0x4e2d17
mov rax, qword [rsp + 0xf0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x4e2d12
call fcn.006a4944
jmp 0x4e2d17
call fcn.006a3610
mov rcx, rbx
call fcn.006a5088
movsxd r8, r12d
lea rdx, [0x00799678]
lea rcx, [rsp + 0x40]
call fcn.0049c8ec
mov rbx, rax
cmp rax, r15
jne 0x4e2d40
mov rbx, r14
jmp 0x4e2d43
inc rbx
lea rdi, [rbx + 1]
mov r8, rdi
lea rdx, [0x0079b5d8]
lea rcx, [rsp + 0x40]
call fcn.0049c860
cmp rax, r15
jne 0x4e2d75
mov rax, qword [rsp + 0x80]
sub rax, qword [rsp + 0x88]
sar rax, 1
jmp 0x4e2db7
cmp rax, rdi
jne 0x4e2db7
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
cmp rcx, rax
je 0x4e2db0
cmp rcx, r14
je 0x4e2db0
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rbp
jbe 0x4e2dab
call fcn.006a4944
jmp 0x4e2db0
call fcn.006a3610
xor eax, eax
jmp 0x4e3137
sub rax, rbx
mov r9, rax
mov r8, rbx
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.00421328
nop
mov rbx, qword [rsp + 0xe8]
lea rcx, [0x008550e0]
mov rax, qword [0x008550e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdi, 0xffffffffffff0000
cmp rbx, r14
je 0x4e2e15
test rdi, rbx
jne 0x4e2e15
movzx edx, bx
lea rcx, [rsp + 0x20]
call fcn.004ad7bc
jmp 0x4e2e23
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.004ad8e8
nop
lea rcx, [0x008550e0]
mov rax, qword [0x008550e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [0x007986b0]
test rdi, rdx
jne 0x4e2e58
movzx edx, dx
lea rcx, [rsp + 0x28]
call fcn.004ad7bc
jmp 0x4e2e63
lea rcx, [rsp + 0x28]
call fcn.004ea9e4
nop
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x198]
mov edx, 0xb0
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [rax + 1]
mov rbx, qword [rsp + 0x28]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x4e2eb9
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.004a87a4
mov rbx, qword [rsp + 0x28]
mov r8d, edi
mov rdx, rbx
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, r15d
jne 0x4e2edd
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.006a6bb0
cmp eax, r14d
jl 0x4e312c
cmp eax, dword [rbx - 0xc]
jg 0x4e312c
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
cmp dword [rsp + 0x198], r14d
jne 0x4e3033
cmp dword [rsp + 0x30], r14d
jne 0x4e3033
mov rcx, qword [rsi + 0xeb0]
cmp rcx, r14
je 0x4e2f49
call fcn.005db44c
cmp byte [rax + 0x3139], r14b
jne 0x4e2f41
mov rcx, qword [rax + 0x30]
cmp rcx, r14
je 0x4e2f41
mov edx, 0x341
call fcn.0041024c
jmp 0x4e2f77
mov al, byte [rax + 0x2d5a]
jmp 0x4e2f77
mov rax, qword [0x00862cb8]
cmp byte [rax + 0x31c1], r14b
jne 0x4e2f71
mov rcx, qword [rax + 0xb8]
cmp rcx, r14
je 0x4e2f71
mov edx, 0x341
call fcn.0041024c
jmp 0x4e2f77
mov al, byte [rax + 0x2de2]
lea rcx, [0x0079a8f0]
lea rdx, [0x00795b68]
cmp al, r14b
cmovne rdx, rcx
lea rcx, [rsp + 0x20]
call fcn.004e8a9c
cmp dword [rbx - 0x10], r14d
jne 0x4e300a
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SetFocus]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
movsxd rdi, eax
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov r9, rdi
movsxd r8, eax
mov edx, 0xb1
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xb7
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e306b
mov r9, qword [rsp + 0x20]
xor r8d, r8d
mov edx, 0xc2
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SetFocus]
jmp 0x4e306b
lea rdx, [0x0079927c]
lea rcx, [rsp + 0x20]
call fcn.004e8a9c
mov r9, qword [rsp + 0x20]
xor r8d, r8d
mov edx, 0xc2
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi + 0x270]
call qword [sym.imp.USER32.dll_SetFocus]
mov dword [r13], 1
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
cmp eax, r14d
jg 0x4e3091
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
cmp eax, r14d
jg 0x4e30b4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xe8]
cmp rcx, rax
je 0x4e30f2
cmp rcx, r14
je 0x4e30f2
mov rax, qword [rsp + 0xa0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rbp
jbe 0x4e30ec
call fcn.006a4944
jmp 0x4e30f2
call fcn.006a3610
nop
lea rax, [rsp + 0x40]
mov rcx, qword [rsp + 0x88]
cmp rcx, rax
je 0x4e3128
cmp rcx, r14
je 0x4e3128
mov rdx, qword [rsp + 0x40]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rbp
jbe 0x4e3123
call fcn.006a4944
jmp 0x4e3128
call fcn.006a3610
xor eax, eax
jmp 0x4e3137
mov ecx, 0x80070057
call fcn.00401c88
nop
mov rbx, qword [rsp + 0x180]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret