Function at 0x140104420
Capabilities:
Enumerate processes
Get graphical window text

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
xor r13d, r13d
mov r12, r8
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x30], r13
test rcx, rcx
je 0x140104458
mov dword [rcx], r13d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov dword [rsp + 0x40], 0x48
mov rcx, rax
mov r14, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea rdx, [rsp + 0x40]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetGUIThreadInfo]
mov rcx, r13
test eax, eax
cmovne rcx, qword [rsp + 0x50]
test rcx, rcx
cmovne r14, rcx
xor ecx, ecx
call fcn.1401023d0
cmp eax, 0xb
jl 0x1401044ce
cmp qword [0x1402b0c60], r13
jne 0x1401044ce
xor edx, edx
lea rax, [0x1402b0c60]
lea r9, [0x140169ea0]
lea r8d, [rdx + 1]
lea rcx, [0x140169e90]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
lea rdx, [rbp + 0x830]
mov rcx, r14
mov dword [rbp + 0x830], r13d
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, dword [rbp + 0x830]
xor edx, edx
lea ecx, [rdx + 2]
mov word [rbp - 0x70], r13w
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [rbp + 0x190], 0x238
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14010455e
lea rdx, [rbp + 0x190]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140104555
cmp dword [rbp + 0x198], esi
je 0x14010453d
lea rdx, [rbp + 0x190]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140104520
jmp 0x140104555
lea r8, [rbp + 0x1bc]
lea rcx, [rbp + 0x5e0]
mov edx, 0x104
call fcn.14010cfc0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x3d0]
mov r8d, 0x104
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowTextW]
lea rdx, [rbp - 0x70]
mov r8d, 0x100
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rdx, [rbp - 0x70]
lea rcx, [0x140176900]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1401045f9
lea rdx, [rbp - 0x70]
lea rcx, str.MultitaskingViewFrame
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1401045f9
lea rdx, [rbp - 0x70]
lea rcx, str.Windows.UI.Core.CoreWindow
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1401045f2
lea rdx, [rbp + 0x5e0]
lea rcx, str.explorer.exe
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x1401045f2
lea rdx, [rbp + 0x3d0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1401045f9
xor al, al
jmp 0x14010473c
test rdi, rdi
je 0x14010473a
mov rcx, qword [0x1402b0c60]
test rcx, rcx
je 0x14010473a
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov rdx, r14
call qword [rax + 0x30]
test eax, eax
js 0x14010473a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14010473a
mov dword [rbp + 0x848], r13d
mov rax, qword [rcx]
lea rdx, [rbp + 0x848]
call qword [rax + 0x130]
mov rcx, qword [rsp + 0x30]
cmp dword [rbp + 0x848], r13d
jne 0x140104734
test rcx, rcx
je 0x14010473a
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0xf0]
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x848]
call fcn.1400c80c0
mov rcx, qword [rbp + 0x848]
test rcx, rcx
je 0x140104698
call fcn.1400440d0
mov rcx, r15
test r15, r15
jne 0x1401046a7
lea rcx, str.New_desktop
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1402b0c60]
lea r9, [rbp + 0x848]
mov rdx, rax
mov qword [rbp + 0x848], r13
call fcn.140101bc0
mov rcx, qword [rbp + 0x848]
test eax, eax
js 0x1401046e5
test rcx, rcx
je 0x1401046ea
mov dword [rdi], 1
test rcx, rcx
jne 0x140104729
mov rcx, r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov r8, qword [rsp + 0x30]
mov rcx, qword [0x1402b0c60]
lea r9, [rbp + 0x848]
mov rdx, rax
call fcn.140101bc0
mov rcx, qword [rbp + 0x848]
test eax, eax
js 0x140104724
test rcx, rcx
je 0x14010472f
mov dword [rdi], 1
test rcx, rcx
je 0x14010472f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov al, 1
mov rbx, qword [rsp + 0x938]
add rsp, 0x8f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret