Function at 0x100025b28
Capabilities:
Get graphical window text

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xd0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1000c2110]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov r12, r8
mov ebx, edx
mov rdi, rcx
mov rcx, qword [rcx + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
xor esi, esi
cmp eax, esi
jne 0x100025b79
lea rcx, [rdi + 0x5610]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rdi + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025ba3
lea rcx, [rdi + 0x56c8]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
mov r8, r12
mov edx, ebx
call fcn.100046784
sub ebx, 0x8001
je 0x100025e01
mov ebp, 1
sub ebx, ebp
je 0x100025dd5
sub ebx, 5
je 0x100025db1
cmp ebx, 6
jne 0x100025e33
mov rcx, qword [rdi + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025bf0
lea rcx, [rdi + 0x5610]
mov r8d, ebp
xor edx, edx
call fcn.10005f008
mov rcx, qword [rdi + 0xfb0]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025d38
mov edx, 0x68
mov rcx, qword [rdi + 0x1020]
call qword [sym.imp.USER32.dll_GetDlgItem]
cmp rax, rsi
je 0x100025c27
mov edx, ebp
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
lea rcx, [0x1000c2120]
mov rax, qword [0x1000c2120]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x1000c2120]
mov rax, qword [0x1000c2120]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x50], si
xor edx, edx
lea r8d, [rdx + 0x62]
lea rcx, [rsp + 0x52]
call sub.msvcrt.dll_memset
mov r8d, 0x32
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x59e0]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.10002bba4
cmp eax, esi
jl 0x100025cc7
mov r8d, 0x32
lea rdx, [rsp + 0x50]
mov rcx, qword [rdi + 0x5a80]
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.10002bba4
mov rbx, qword [rsp + 0x38]
lea rcx, [rdi + 0x1540]
mov qword [rsp + 0x20], rbx
mov r9, qword [rsp + 0x30]
mov r8, r12
mov edx, 0x800d
call fcn.100046784
mov dword [rdi + 0x194], ebp
lea rdx, [0x100005e08]
mov rcx, rdi
call fcn.100023340
nop
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x100025d19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
cmp eax, esi
jg 0x100025d38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
cmp dword [rdi + 0x5c44], esi
je 0x100025e33
mov dword [rdi + 0x5c44], esi
cmp r12d, esi
jl 0x100025e33
cmp r12d, ebp
je 0x100025e33
mov eax, dword [rdi + 0x5c48]
mov dword [rdi + 0x48], eax
lea rax, [0x1000c3470]
mov rcx, qword [0x1000c3470]
cmp rcx, rax
je 0x100025d93
test byte [rcx + 0x1c], 4
je 0x100025d93
mov edx, reloc.SHELL32.dll_PathIsExe
lea r8, [0x100005308]
mov rcx, qword [rcx + 0x10]
call fcn.10001ea00
xor edx, edx
mov rcx, rdi
call fcn.100022f40
lea rdx, [0x100005ce8]
mov rcx, rdi
call fcn.100023340
jmp 0x100025e33
mov rcx, qword [rdi + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025e33
lea rcx, [rdi + 0x5610]
mov r8d, ebp
xor edx, edx
call fcn.10005f008
jmp 0x100025e33
mov rcx, qword [rdi + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025e33
cmp r12d, 3
setne sil
lea rcx, [rdi + 0x5610]
mov r8d, esi
mov edx, ebp
call fcn.10005f008
jmp 0x100025e33
mov rcx, qword [rdi + 0x5618]
call qword [sym.imp.USER32.dll_IsWindow]
cmp eax, esi
je 0x100025e33
lea rcx, [rdi + 0x5610]
xor edx, edx
lea r8d, [rdx + 1]
call fcn.10005f008
lea rdx, [0x100005c68]
mov rcx, rdi
call fcn.100023340
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.10009d3a0
add rsp, 0xd0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret