Function at 0x140290270
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x14055f260]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov esi, edx
mov rdi, rcx
cmp dword [rcx + 0x5b0], 0
jne 0x1402902b4
call fcn.140123210
cmp eax, 0x501
jge 0x140290587
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x208]
xor eax, esi
test eax, 0x300
je 0x140290587
lea rcx, [rdi + 0x300]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
call qword [rax + 0x88]
nop
mov rax, qword [rdi]
lea r8, [rbp - 0x35]
lea rdx, [rbp - 0x39]
mov rcx, rdi
call qword [rax + 0x558]
mov eax, dword [rbp - 0x39]
mov dword [rbp - 9], eax
mov eax, dword [rbp - 0x35]
mov dword [rbp - 5], eax
mov rax, qword [rdi]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x35]
mov rcx, rdi
call qword [rax + 0x568]
mov eax, dword [rbp - 0x35]
mov dword [rbp - 0x11], eax
mov eax, dword [rbp - 0x39]
mov dword [rbp - 0xd], eax
mov rbx, qword [rdi + 0x218]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x4c0]
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov dword [rdi + 0x194], esi
lea r9, [rbp - 0x11]
lea r8, [rbp - 9]
lea rdx, [rbp - 1]
mov rcx, rdi
call fcn.14028d040
lea r14, vtable.wxObject.0
test byte [rdi + 0x190], 0x40
je 0x1402903bc
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0xf8]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14029037f
inc dword [rax + 8]
lea rax, vtable.wxFont.0
mov qword [rbp - 0x31], rax
lea rcx, [rdi + 0xf0]
lea rdx, vtable.wxFont.0
cmp rcx, rdx
je 0x1402903a2
call fcn.140120f30
mov rax, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [rax + 0x380]
nop
lea rcx, [rbp - 0x31]
call fcn.140218b70
lea r15, vtable.wxColour.0
lea rsi, vtable.wxColour.0
test byte [rdi + 0x190], 0x20
je 0x14029049e
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0x128]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1402903ee
inc dword [rax + 8]
mov qword [rbp - 0x31], r15
mov eax, dword [rdi + 0x130]
mov dword [rbp - 0x21], eax
movzx eax, byte [rdi + 0x134]
mov byte [rbp - 0x1d], al
movzx eax, byte [rdi + 0x135]
mov byte [rbp - 0x1c], al
movzx eax, byte [rdi + 0x136]
mov byte [rbp - 0x1b], al
movzx eax, byte [rdi + 0x137]
mov byte [rbp - 0x1a], al
movzx eax, byte [rdi + 0x138]
mov byte [rbp - 0x19], al
lea rbx, [rdi + 0x120]
cmp rbx, rsi
je 0x140290444
mov rdx, rsi
mov rcx, rbx
call fcn.140120f30
mov eax, dword [0x14055ba98]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x14055ba9c]
mov byte [rbx + 0x14], al
movzx eax, byte [0x14055ba9d]
mov byte [rbx + 0x15], al
movzx eax, byte [0x14055ba9e]
mov byte [rbx + 0x16], al
movzx eax, byte [0x14055ba9f]
mov byte [rbx + 0x17], al
movzx eax, byte [0x14055baa0]
mov byte [rbx + 0x18], al
mov rax, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [rax + 0x360]
nop
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x31]
call fcn.140121450
nop
test byte [rdi + 0x190], 0x10
je 0x140290572
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0x108]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1402904c2
inc dword [rax + 8]
mov qword [rbp - 0x31], r15
mov eax, dword [rdi + 0x110]
mov dword [rbp - 0x21], eax
movzx eax, byte [rdi + 0x114]
mov byte [rbp - 0x1d], al
movzx eax, byte [rdi + 0x115]
mov byte [rbp - 0x1c], al
movzx eax, byte [rdi + 0x116]
mov byte [rbp - 0x1b], al
movzx eax, byte [rdi + 0x117]
mov byte [rbp - 0x1a], al
movzx eax, byte [rdi + 0x118]
mov byte [rbp - 0x19], al
lea rbx, [rdi + 0x100]
cmp rbx, rsi
je 0x140290518
mov rdx, rsi
mov rcx, rbx
call fcn.140120f30
mov eax, dword [0x14055ba98]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x14055ba9c]
mov byte [rbx + 0x14], al
movzx eax, byte [0x14055ba9d]
mov byte [rbx + 0x15], al
movzx eax, byte [0x14055ba9e]
mov byte [rbx + 0x16], al
movzx eax, byte [0x14055ba9f]
mov byte [rbx + 0x17], al
movzx eax, byte [0x14055baa0]
mov byte [rbx + 0x18], al
mov rax, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [rax + 0x358]
nop
mov qword [rbp - 0x31], r14
lea rcx, [rbp - 0x31]
call fcn.140121450
nop
mov rcx, qword [rbp + 0x1f]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, [rbp - 1]
call fcn.14000e160
jmp 0x1402905e3
cmp dword [rdi + 0x5b0], 0
je 0x1402905d9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x208]
xor eax, esi
bt eax, 0xd
jae 0x1402905d9
mov eax, esi
shr eax, 0xd
and al, 1
movzx r8d, al
mov eax, 0x100
mov r9, 0xfffffffffffffeff
cmovne r9, rax
xor r8, 1
add r8, 2
mov edx, 0x44d
mov rcx, qword [rdi + 0x218]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, esi
mov rcx, rdi
call fcn.1401f9cc0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14036c0d0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret