Function at 0x1400562d0
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, 0x140
mov ebx, r8d
lea r9, [rsp + 0x48]
lea rcx, [0x1400bdcd0]
lea r8, [rax + 0x20]
call fcn.14004ec80
xor edx, edx
cmp al, dl
jne 0x140056314
xor eax, eax
jmp 0x1400565d9
movsxd r14, dword [rsp + 0x188]
mov rax, qword [0x1400bdd70]
movsxd rdi, dword [rsp + 0x48]
mov rcx, qword [rax + r14*8]
mov r9, qword [0x1400bdd98]
cmp ebx, edx
mov rax, qword [rcx]
cmovl ebx, edx
mov r12, rdi
mov qword [rsp + 0x40], rax
mov rax, qword [r9 + rdi*8]
mov r13d, ebx
and r13d, 0x100
mov rsi, qword [rax]
mov ebp, edx
mov al, byte [rsi + 0xd4]
mov r15, qword [rsi]
mov byte [rsp + 0x188], al
je 0x140056388
lea rcx, [0x1400bdcd0]
mov r8d, edi
mov edx, r14d
call fcn.14004e6f0
mov r9, qword [0x1400bdd98]
mov ebp, 1
xor edx, edx
bt ebx, 0xb
jae 0x1400563bb
mov dword [rsp + 0x30], reloc.WSOCK32.dll_send
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
xor edx, edx
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
mov r9, qword [0x1400bdd98]
mov ebp, 1
movzx ecx, byte [rsp + 0x188]
cmp ecx, 0x14
jg 0x14005687d
je 0x140056795
cmp ecx, 9
je 0x140056730
cmp ecx, 0xb
je 0x1400566d8
cmp ecx, 0xc
je 0x14005630d
cmp ecx, 0xd
jle 0x1400564dd
cmp ecx, 0xf
jle 0x1400565fa
cmp ecx, 0x11
jne 0x1400569ef
lea edx, [rcx - 0x21]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rax, qword [rsi + 0x18]
mov dword [rsp + 0x88], 8
mov qword [rsp + 0x90], rax
mov al, bl
mov dword [rsp + 0x9c], 0xf010
and al, 1
neg al
mov eax, 0x1000
sbb ecx, ecx
and ecx, eax
add ecx, eax
bt ebx, 9
mov dword [rsp + 0x98], ecx
jae 0x14005645f
or ecx, 0x10
mov dword [rsp + 0x98], ecx
mov rcx, qword [rsi + 0x60]
lea r9, [rsp + 0x88]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
bt ebx, 0xa
jae 0x140056498
mov r9, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x60]
mov edx, 0x1102
mov r8d, 2
call qword [sym.imp.USER32.dll_SendMessageW]
test r13d, r13d
je 0x1400564d8
mov rdx, qword [rsi + 0x60]
lea rcx, [0x1400bdcd0]
call fcn.14004ed20
lea rcx, [0x1400bdcd0]
mov edx, r14d
mov r8d, eax
call fcn.14004e6f0
mov r9, qword [rsi + 0x18]
mov rcx, qword [rsi + 0x60]
mov edx, 0x110b
mov r8d, 9
call qword [sym.imp.USER32.dll_SendMessageW]
mov ebp, 1
xor r14d, r14d
mov r13, qword [rsp + 0x40]
and ebx, 0x10f8
jle 0x1400565d7
mov ebp, 1
mov edi, r14d
mov r12d, 0xc0
test bl, bl
jns 0x140056511
xor edx, edx
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
test bl, 0x40
je 0x140056524
mov edx, ebp
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
mov r8d, ebx
and r8d, 0x20
je 0x140056530
add edi, 0x30
mov r12d, ebx
and r12d, 0x10
je 0x14005653c
add edi, 0x30
mov eax, 0x1008
test bl, 8
je 0x140056548
add edi, eax
bt ebx, 0xc
jae 0x140056550
add edi, eax
mov al, byte [rsi + 0xd7]
not dil
and dil, byte [rsi + 0xd6]
or dil, bl
mov byte [rsi + 0xd6], dil
cmp al, 0xff
je 0x140056581
mov ecx, dword [r13 + 0x294]
movzx eax, al
cmp eax, ecx
je 0x140056581
cmp ecx, 0xffffffff
jne 0x1400565d7
cmp r8d, r14d
je 0x140056591
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp r12d, r14d
je 0x1400565c2
mov edx, 4
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsp + 0x188], 0x1a
jne 0x1400565c2
test byte [rsi + 0xd6], 0x40
je 0x1400565c2
mov edx, ebp
mov rcx, r15
call qword [sym.imp.USER32.dll_EnableWindow]
lea rcx, [0x1400bdcd0]
mov r9d, ebp
mov r8, rsi
mov rdx, r13
call fcn.14003eef0
mov eax, ebp
lea r11, [rsp + 0x140]
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
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov edx, edi
mov dword [rsp + 0xc0], 0x50
mov dword [rsp + 0xc4], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
xor r14d, r14d
cmp eax, r14d
je 0x14005630d
test bl, 0x20
jne 0x14005630d
test bl, 0x80
lea ecx, [r14 + 3]
mov eax, r14d
cmovne eax, ecx
test bl, 1
je 0x140056651
or eax, 8
cmp r13d, r14d
je 0x14005665a
bts eax, 7
test byte [rsp + 0xcc], 8
je 0x14005666c
test bl, 4
jne 0x14005666c
or eax, 8
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0xc0]
xor r8d, r8d
mov edx, edi
mov dword [rsp + 0xcc], eax
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
bt ebx, 9
mov edx, edi
jb 0x1400566c1
lea r9, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, r14d
je 0x1400566c7
bt dword [rsp + 0xcc], 0xc
jae 0x1400566c7
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
or edx, 0xffffffff
call qword [sym.imp.USER32.dll_SetMenuDefaultItem]
mov r13, qword [rsp + 0x40]
mov rcx, qword [r13]
call qword [sym.imp.USER32.dll_DrawMenuBar]
jmp 0x140056726
mov r13, qword [rsp + 0x40]
xor r14d, r14d
test bl, 0x10
je 0x1400564e5
movzx r8d, byte [rsi + 0xd7]
cmp byte [r13 + 0x29c], r14b
je 0x140056708
mov eax, dword [r13 + 0x298]
mov dword [r13 + 0x294], eax
lea rcx, [0x1400bdcd0]
mov rdx, r13
call fcn.14004d7f0
movzx r11d, byte [rsi + 0xd7]
mov dword [r13 + 0x298], r11d
mov ebp, 1
jmp 0x1400564e5
mov ecx, ebx
xor r14d, r14d
and ecx, 7
cmp ecx, r14d
je 0x140056771
cmp ecx, 1
mov rcx, r15
je 0x14005675f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x467
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebp, [r14 + 1]
jmp 0x1400564e0
mov r9, 0xffffffffffff0000
or r8, 0xffffffffffffffff
mov edx, 0x465
jmp 0x14005677f
xor r9d, r9d
mov edx, 0x466
mov rcx, r15
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
mov r13, qword [rsp + 0x40]
cmp rax, r14
je 0x1400564e5
jmp 0x140056726
mov rdi, qword [rsi + 0x60]
lea r9, [rsp + 0x110]
xor r14d, r14d
or r8, 0xffffffffffffffff
mov edx, 0x1053
mov rcx, rdi
mov esi, r14d
mov dword [rsp + 0x110], 1
mov qword [rsp + 0x120], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, 0xffffffff
je 0x14005630d
lea edx, [r14 - 0x14]
mov rcx, rdi
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], 8
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x140056834
test bl, 5
je 0x140056834
mov eax, 0x1000
mov ecx, 0x2000
cmp ebx, 1
cmove eax, ecx
lea r9, [rsp + 0x50]
mov edx, 0x104c
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x60], 0xf000
call qword [sym.imp.USER32.dll_SendMessageW]
mov rsi, rax
test ebx, 0x2100
je 0x140056876
mov eax, dword [rsp + 0x5c]
or ecx, 0xffffffff
cmp r13d, r14d
cmovne eax, ecx
bt ebx, 0xd
mov ecx, 3
cmovb eax, r14d
mov dword [rsp + 0x60], ecx
lea r9, [rsp + 0x50]
mov rcx, rdi
movsxd r8, ebp
mov edx, 0x102b
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
mov eax, esi
jmp 0x1400565d9
sub ecx, 0x16
je 0x14005692b
sub ecx, 2
je 0x1400568ec
sub ecx, 1
je 0x1400568ca
cmp ecx, 1
jne 0x1400564dd
mov r13, qword [rsp + 0x40]
mov r9d, ebx
and r9d, 7
je 0x1400568c2
lea rcx, [0x1400bdcd0]
and r9d, 3
mov r8d, edi
mov rdx, r13
call fcn.14004dc80
mov ebp, 1
xor r14d, r14d
jmp 0x1400564e5
mov eax, ebx
and eax, 7
je 0x1400564dd
mov r8d, eax
mov edx, 0xf1
mov rcx, r15
and r8, 3
xor r9d, r9d
jmp 0x1400564d2
bt ebx, 9
mov r13, qword [rsp + 0x40]
jae 0x1400568c2
mov rcx, qword [r13]
xor r9d, r9d
mov r8, rdi
mov edx, 0x401
call qword [sym.imp.USER32.dll_SendMessageW]
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rsi]
jne 0x1400568bd
lea rcx, [0x1400bdcd0]
mov r8d, edi
mov edx, r14d
call fcn.14004e6f0
jmp 0x1400568bd
mov r11d, dword [0x1400bddb4]
mov ecx, 3
cmp r11d, ecx
mov r10d, ecx
jl 0x1400564dd
lea r8, [r9 + 0x18]
xor r14d, r14d
mov rdx, qword [r8]
mov r13, qword [rsp + 0x40]
cmp qword [rdx], r14
je 0x140056974
mov rdx, qword [rdx]
mov eax, dword [r13 + 8]
cmp dword [rdx + 8], eax
jne 0x140056974
cmp byte [rdx + 0xd4], cl
jne 0x140056974
mov rax, qword [rsi + 0x60]
cmp qword [rdx], rax
je 0x140056985
inc r10d
add r8, 8
cmp r10d, r11d
jle 0x14005694a
jmp 0x1400564e5
mov al, byte [rsi + 0xd6]
test bl, al
jne 0x1400564e5
test al, 0x10
je 0x1400564e5
movsxd rax, r10d
mov dword [rsp + 0x28], r14d
mov rcx, qword [r9 + rax*8]
mov rcx, qword [rcx]
movsx eax, word [rcx + 0xd2]
movsx r9d, word [rcx + 0xd0]
movsx r8d, word [rcx + 0xce]
movsx edx, word [rcx + 0xcc]
mov rcx, qword [rcx]
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r8, qword [rsi + 0x60]
xor r9d, r9d
mov edx, 0x469
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1400564e5
mov r13, qword [rsp + 0x40]
jmp 0x1400568c2