Function at 0x140056100
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, [0x1400bbcd0]
lea r8, [rax + 0x20]
call fcn.14004ec30
xor edx, edx
cmp al, dl
jne 0x140056144
xor eax, eax
jmp 0x140056409
movsxd r14, dword [rsp + 0x188]
mov rax, qword [0x1400bbd70]
movsxd rdi, dword [rsp + 0x48]
mov rcx, qword [rax + r14*8]
mov r9, qword [0x1400bbd98]
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 0x1400561b8
lea rcx, [0x1400bbcd0]
mov r8d, edi
mov edx, r14d
call fcn.14004e6a0
mov r9, qword [0x1400bbd98]
mov ebp, 1
xor edx, edx
bt ebx, 0xb
jae 0x1400561eb
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 [0x1400bbd98]
mov ebp, 1
movzx ecx, byte [rsp + 0x188]
cmp ecx, 0x14
jg 0x1400566ad
je 0x1400565c5
cmp ecx, 9
je 0x140056560
cmp ecx, 0xb
je 0x140056508
cmp ecx, 0xc
je 0x14005613d
cmp ecx, 0xd
jle 0x14005630d
cmp ecx, 0xf
jle 0x14005642a
cmp ecx, 0x11
jne 0x14005681f
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 0x14005628f
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 0x1400562c8
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 0x140056308
mov rdx, qword [rsi + 0x60]
lea rcx, [0x1400bbcd0]
call fcn.14004ecd0
lea rcx, [0x1400bbcd0]
mov edx, r14d
mov r8d, eax
call fcn.14004e6a0
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 0x140056407
mov ebp, 1
mov edi, r14d
mov r12d, 0xc0
test bl, bl
jns 0x140056341
xor edx, edx
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
test bl, 0x40
je 0x140056354
mov edx, ebp
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
mov r8d, ebx
and r8d, 0x20
je 0x140056360
add edi, 0x30
mov r12d, ebx
and r12d, 0x10
je 0x14005636c
add edi, 0x30
mov eax, 0x1008
test bl, 8
je 0x140056378
add edi, eax
bt ebx, 0xc
jae 0x140056380
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 0x1400563b1
mov ecx, dword [r13 + 0x294]
movzx eax, al
cmp eax, ecx
je 0x1400563b1
cmp ecx, 0xffffffff
jne 0x140056407
cmp r8d, r14d
je 0x1400563c1
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp r12d, r14d
je 0x1400563f2
mov edx, 4
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsp + 0x188], 0x1a
jne 0x1400563f2
test byte [rsi + 0xd6], 0x40
je 0x1400563f2
mov edx, ebp
mov rcx, r15
call qword [sym.imp.USER32.dll_EnableWindow]
lea rcx, [0x1400bbcd0]
mov r9d, ebp
mov r8, rsi
mov rdx, r13
call fcn.14003f060
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 0x14005613d
test bl, 0x20
jne 0x14005613d
test bl, 0x80
lea ecx, [r14 + 3]
mov eax, r14d
cmovne eax, ecx
test bl, 1
je 0x140056481
or eax, 8
cmp r13d, r14d
je 0x14005648a
bts eax, 7
test byte [rsp + 0xcc], 8
je 0x14005649c
test bl, 4
jne 0x14005649c
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 0x1400564f1
lea r9, [rsp + 0xc0]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, r14d
je 0x1400564f7
bt dword [rsp + 0xcc], 0xc
jae 0x1400564f7
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 0x140056556
mov r13, qword [rsp + 0x40]
xor r14d, r14d
test bl, 0x10
je 0x140056315
movzx r8d, byte [rsi + 0xd7]
cmp byte [r13 + 0x29c], r14b
je 0x140056538
mov eax, dword [r13 + 0x298]
mov dword [r13 + 0x294], eax
lea rcx, [0x1400bbcd0]
mov rdx, r13
call fcn.14004d7f0
movzx r11d, byte [rsi + 0xd7]
mov dword [r13 + 0x298], r11d
mov ebp, 1
jmp 0x140056315
mov ecx, ebx
xor r14d, r14d
and ecx, 7
cmp ecx, r14d
je 0x1400565a1
cmp ecx, 1
mov rcx, r15
je 0x14005658f
xor r9d, r9d
xor r8d, r8d
mov edx, 0x467
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebp, [r14 + 1]
jmp 0x140056310
mov r9, 0xffffffffffff0000
or r8, 0xffffffffffffffff
mov edx, 0x465
jmp 0x1400565af
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 0x140056315
jmp 0x140056556
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 0x14005613d
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 0x140056664
test bl, 5
je 0x140056664
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 0x1400566a6
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 0x140056409
sub ecx, 0x16
je 0x14005675b
sub ecx, 2
je 0x14005671c
sub ecx, 1
je 0x1400566fa
cmp ecx, 1
jne 0x14005630d
mov r13, qword [rsp + 0x40]
mov r9d, ebx
and r9d, 7
je 0x1400566f2
lea rcx, [0x1400bbcd0]
and r9d, 3
mov r8d, edi
mov rdx, r13
call fcn.14004dc80
mov ebp, 1
xor r14d, r14d
jmp 0x140056315
mov eax, ebx
and eax, 7
je 0x14005630d
mov r8d, eax
mov edx, 0xf1
mov rcx, r15
and r8, 3
xor r9d, r9d
jmp 0x140056302
bt ebx, 9
mov r13, qword [rsp + 0x40]
jae 0x1400566f2
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 0x1400566ed
lea rcx, [0x1400bbcd0]
mov r8d, edi
mov edx, r14d
call fcn.14004e6a0
jmp 0x1400566ed
mov r11d, dword [0x1400bbdb4]
mov ecx, 3
cmp r11d, ecx
mov r10d, ecx
jl 0x14005630d
lea r8, [r9 + 0x18]
xor r14d, r14d
mov rdx, qword [r8]
mov r13, qword [rsp + 0x40]
cmp qword [rdx], r14
je 0x1400567a4
mov rdx, qword [rdx]
mov eax, dword [r13 + 8]
cmp dword [rdx + 8], eax
jne 0x1400567a4
cmp byte [rdx + 0xd4], cl
jne 0x1400567a4
mov rax, qword [rsi + 0x60]
cmp qword [rdx], rax
je 0x1400567b5
inc r10d
add r8, 8
cmp r10d, r11d
jle 0x14005677a
jmp 0x140056315
mov al, byte [rsi + 0xd6]
test bl, al
jne 0x140056315
test al, 0x10
je 0x140056315
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 0x140056315
mov r13, qword [rsp + 0x40]
jmp 0x1400566f2