Function at 0x1401c2c50
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 [0x1404b3028]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov esi, edx
mov rdi, rcx
cmp dword [rcx + 0x5b0], 0
jne 0x1401c2c94
call fcn.14005e470
cmp eax, 0x501
jge 0x1401c2f67
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x208]
xor eax, esi
test eax, 0x300
je 0x1401c2f67
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.1401bfa40
lea r14, vtable.wxObject.0
test byte [rdi + 0x190], 0x40
je 0x1401c2d9c
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0xf8]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1401c2d5f
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 0x1401c2d82
call fcn.14004c970
mov rax, qword [rdi]
lea rdx, [rbp - 0x31]
mov rcx, rdi
call qword [rax + 0x380]
nop
lea rcx, [rbp - 0x31]
call fcn.1400fc930
lea r15, vtable.wxColour.0
lea rsi, vtable.wxColour.0
test byte [rdi + 0x190], 0x20
je 0x1401c2e7e
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0x128]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1401c2dce
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 0x1401c2e24
mov rdx, rsi
mov rcx, rbx
call fcn.14004c970
mov eax, dword [0x1404b3dd8]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x1404b3ddc]
mov byte [rbx + 0x14], al
movzx eax, byte [0x1404b3ddd]
mov byte [rbx + 0x15], al
movzx eax, byte [0x1404b3dde]
mov byte [rbx + 0x16], al
movzx eax, byte [0x1404b3ddf]
mov byte [rbx + 0x17], al
movzx eax, byte [0x1404b3de0]
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.14004cf00
nop
test byte [rdi + 0x190], 0x10
je 0x1401c2f52
mov qword [rbp - 0x31], r14
mov rax, qword [rdi + 0x108]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x1401c2ea2
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 0x1401c2ef8
mov rdx, rsi
mov rcx, rbx
call fcn.14004c970
mov eax, dword [0x1404b3dd8]
mov dword [rbx + 0x10], eax
movzx eax, byte [0x1404b3ddc]
mov byte [rbx + 0x14], al
movzx eax, byte [0x1404b3ddd]
mov byte [rbx + 0x15], al
movzx eax, byte [0x1404b3dde]
mov byte [rbx + 0x16], al
movzx eax, byte [0x1404b3ddf]
mov byte [rbx + 0x17], al
movzx eax, byte [0x1404b3de0]
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.14004cf00
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.1400119a0
jmp 0x1401c2fc3
cmp dword [rdi + 0x5b0], 0
je 0x1401c2fb9
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x208]
xor eax, esi
bt eax, 0xd
jae 0x1401c2fb9
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.14011c2b0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003b100
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret