Function at 0x140056070
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, 0x100
mov ebx, r8d
lea r9, [rsp + 0x48]
lea rcx, [0x1400c6a00]
lea r8, [rax + 0x20]
call fcn.14004e0b0
xor edx, edx
cmp al, dl
jne 0x1400560b4
xor eax, eax
jmp 0x140056379
movsxd r14, dword [rsp + 0x148]
mov rax, qword [0x1400c6aa0]
movsxd rdi, dword [rsp + 0x48]
mov rcx, qword [rax + r14*8]
mov r9, qword [0x1400c6ac8]
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 + 0xf4]
mov r15, qword [rsi]
mov byte [rsp + 0x148], al
je 0x140056128
lea rcx, [0x1400c6a00]
mov r8d, edi
mov edx, r14d
call fcn.14004db20
mov r9, qword [0x1400c6ac8]
mov ebp, 1
xor edx, edx
bt ebx, 0xb
jae 0x14005615b
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 [0x1400c6ac8]
mov ebp, 1
movzx ecx, byte [rsp + 0x148]
cmp ecx, 0x14
jg 0x140056605
je 0x14005651d
cmp ecx, 9
je 0x1400564b8
cmp ecx, 0xb
je 0x140056460
cmp ecx, 0xc
je 0x1400560ad
cmp ecx, 0xd
jle 0x14005627d
cmp ecx, 0xf
jle 0x14005639a
cmp ecx, 0x11
jne 0x140056775
lea edx, [rcx - 0x21]
mov rcx, qword [rsi + 0x60]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov rax, qword [rsi + 0x18]
mov dword [rsp + 0xa0], 8
mov qword [rsp + 0xa8], rax
mov al, bl
mov dword [rsp + 0xb4], 0xf010
and al, 1
neg al
mov eax, 0x1000
sbb ecx, ecx
and ecx, eax
add ecx, eax
bt ebx, 9
mov dword [rsp + 0xb0], ecx
jae 0x1400561ff
or ecx, 0x10
mov dword [rsp + 0xb0], ecx
mov rcx, qword [rsi + 0x60]
lea r9, [rsp + 0xa0]
xor r8d, r8d
mov edx, 0x113f
call qword [sym.imp.USER32.dll_SendMessageW]
bt ebx, 0xa
jae 0x140056238
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 0x140056278
mov rdx, qword [rsi + 0x60]
lea rcx, [0x1400c6a00]
call fcn.14004e150
lea rcx, [0x1400c6a00]
mov edx, r14d
mov r8d, eax
call fcn.14004db20
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 0x140056377
mov ebp, 1
mov edi, r14d
mov r12d, 0xc0
test bl, bl
jns 0x1400562b1
xor edx, edx
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
test bl, 0x40
je 0x1400562c4
mov edx, ebp
mov rcx, r15
mov edi, r12d
call qword [sym.imp.USER32.dll_EnableWindow]
mov r8d, ebx
and r8d, 0x20
je 0x1400562d0
add edi, 0x30
mov r12d, ebx
and r12d, 0x10
je 0x1400562dc
add edi, 0x30
mov eax, 0x1008
test bl, 8
je 0x1400562e8
add edi, eax
bt ebx, 0xc
jae 0x1400562f0
add edi, eax
mov al, byte [rsi + 0xf7]
not dil
and dil, byte [rsi + 0xf6]
or dil, bl
mov byte [rsi + 0xf6], dil
cmp al, 0xff
je 0x140056321
mov ecx, dword [r13 + 0x29c]
movzx eax, al
cmp eax, ecx
je 0x140056321
cmp ecx, 0xffffffff
jne 0x140056377
cmp r8d, r14d
je 0x140056331
xor edx, edx
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp r12d, r14d
je 0x140056362
mov edx, 4
mov rcx, r15
call qword [sym.imp.USER32.dll_ShowWindow]
cmp byte [rsp + 0x148], 0x1a
jne 0x140056362
test byte [rsi + 0xf6], 0x40
je 0x140056362
mov edx, ebp
mov rcx, r15
call qword [sym.imp.USER32.dll_EnableWindow]
lea rcx, [0x1400c6a00]
mov r9d, ebp
mov r8, rsi
mov rdx, r13
call fcn.14003dce0
mov eax, ebp
lea r11, [rsp + 0x100]
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 + 0x50]
xor r8d, r8d
mov edx, edi
mov dword [rsp + 0x50], 0x50
mov dword [rsp + 0x54], 1
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
xor r14d, r14d
cmp eax, r14d
je 0x1400560ad
test bl, 0x20
jne 0x1400560ad
test bl, 0x80
lea ecx, [r14 + 3]
mov eax, r14d
cmovne eax, ecx
test bl, 1
je 0x1400563e8
or eax, 8
cmp r13d, r14d
je 0x1400563f1
bts eax, 7
test byte [rsp + 0x5c], 8
je 0x140056400
test bl, 4
jne 0x140056400
or eax, 8
mov rcx, qword [rsi + 0x10]
lea r9, [rsp + 0x50]
xor r8d, r8d
mov edx, edi
mov dword [rsp + 0x5c], eax
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
mov rcx, qword [rsi + 0x10]
xor r8d, r8d
bt ebx, 9
mov edx, edi
jb 0x140056449
lea r9, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetMenuItemInfoW]
cmp eax, r14d
je 0x14005644f
bt dword [rsp + 0x5c], 0xc
jae 0x14005644f
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 0x1400564ae
mov r13, qword [rsp + 0x40]
xor r14d, r14d
test bl, 0x10
je 0x140056285
movzx r8d, byte [rsi + 0xf7]
cmp byte [r13 + 0x2a4], r14b
je 0x140056490
mov eax, dword [r13 + 0x2a0]
mov dword [r13 + 0x29c], eax
lea rcx, [0x1400c6a00]
mov rdx, r13
call fcn.14004cc30
movzx r11d, byte [rsi + 0xf7]
mov dword [r13 + 0x2a0], r11d
mov ebp, 1
jmp 0x140056285
mov ecx, ebx
xor r14d, r14d
and ecx, 7
cmp ecx, r14d
je 0x1400564f9
cmp ecx, 1
mov rcx, r15
je 0x1400564e7
xor r9d, r9d
xor r8d, r8d
mov edx, 0x467
call qword [sym.imp.USER32.dll_SendMessageW]
lea ebp, [r14 + 1]
jmp 0x140056280
mov r9, 0xffffffffffff0000
or r8, 0xffffffffffffffff
mov edx, 0x465
jmp 0x140056507
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 0x140056285
jmp 0x1400564ae
mov rdi, qword [rsi + 0x60]
lea r9, [rsp + 0xd8]
xor r14d, r14d
or r8, 0xffffffffffffffff
mov edx, 0x1053
mov rcx, rdi
mov esi, r14d
mov dword [rsp + 0xd8], 1
mov qword [rsp + 0xe8], r12
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
cmp eax, 0xffffffff
je 0x1400560ad
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 0x1400565bc
test bl, 5
je 0x1400565bc
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 0x1400565fe
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 0x140056379
sub ecx, 0x16
je 0x1400566b1
sub ecx, 2
je 0x140056667
sub ecx, 1
je 0x140056645
cmp ecx, 1
jne 0x14005627d
mov r8d, ebx
and r8d, 7
je 0x14005627d
lea rcx, [0x1400c6a00]
and r8d, 3
mov edx, edi
call fcn.14004d0c0
jmp 0x140056278
mov eax, ebx
and eax, 7
je 0x14005627d
mov r8d, eax
mov edx, 0xf1
mov rcx, r15
and r8, 3
xor r9d, r9d
jmp 0x140056272
bt ebx, 9
mov r13, qword [rsp + 0x40]
jae 0x1400566a9
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 0x1400566a4
lea rcx, [0x1400c6a00]
mov r8d, edi
mov edx, r14d
call fcn.14004db20
mov ebp, 1
xor r14d, r14d
jmp 0x140056285
mov r11d, dword [0x1400c6ae4]
mov ecx, 3
cmp r11d, ecx
mov r10d, ecx
jl 0x14005627d
lea r8, [r9 + 0x18]
xor r14d, r14d
mov rdx, qword [r8]
mov r13, qword [rsp + 0x40]
cmp qword [rdx], r14
je 0x1400566fa
mov rdx, qword [rdx]
mov eax, dword [r13 + 8]
cmp dword [rdx + 8], eax
jne 0x1400566fa
cmp byte [rdx + 0xf4], cl
jne 0x1400566fa
mov rax, qword [rsi + 0x60]
cmp qword [rdx], rax
je 0x14005670b
inc r10d
add r8, 8
cmp r10d, r11d
jle 0x1400566d0
jmp 0x140056285
mov al, byte [rsi + 0xf6]
test bl, al
jne 0x140056285
test al, 0x10
je 0x140056285
movsxd rax, r10d
mov dword [rsp + 0x28], r14d
mov rcx, qword [r9 + rax*8]
mov rcx, qword [rcx]
movsx eax, word [rcx + 0xf2]
movsx r9d, word [rcx + 0xf0]
movsx r8d, word [rcx + 0xee]
movsx edx, word [rcx + 0xec]
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 0x140056285
mov r13, qword [rsp + 0x40]
jmp 0x1400566a9