Function at 0x140075380
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14013f130]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rcx
mov ebx, 8
mov rax, qword gs:[0x58]
add rbx, qword [rax]
mov eax, dword [rbx]
cmp dword [0x14014e76c], eax
jle 0x140075413
lea rcx, [0x14014e76c]
call fcn.14009adac
cmp dword [0x14014e76c], 0xffffffff
jne 0x140075413
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x14014e780], rax
lea rcx, [0x14014e76c]
call fcn.14009ad4c
cmp qword [0x14014e780], 0
je 0x140075554
mov eax, dword [rbx]
cmp dword [0x14014e774], eax
jle 0x140075467
lea rcx, [0x14014e774]
call fcn.14009adac
cmp dword [0x14014e774], 0xffffffff
jne 0x140075467
lea rdx, str.OpenDesktopA
mov rcx, qword [0x14014e780]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14014e798], rax
lea rcx, [0x14014e774]
call fcn.14009ad4c
mov eax, dword [rbx]
cmp dword [0x14014e770], eax
jle 0x1400754ad
lea rcx, [0x14014e770]
call fcn.14009adac
cmp dword [0x14014e770], 0xffffffff
jne 0x1400754ad
lea rdx, str.CloseDesktop
mov rcx, qword [0x14014e780]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14014e788], rax
lea rcx, [0x14014e770]
call fcn.14009ad4c
mov eax, dword [rbx]
cmp dword [0x14014e778], eax
jle 0x1400754f3
lea rcx, [0x14014e778]
call fcn.14009adac
cmp dword [0x14014e778], 0xffffffff
jne 0x1400754f3
lea rdx, str.SwitchDesktop
mov rcx, qword [0x14014e780]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14014e790], rax
lea rcx, [0x14014e778]
call fcn.14009ad4c
mov rax, qword [0x14014e798]
test rax, rax
je 0x140075554
cmp qword [0x14014e788], 0
je 0x140075554
cmp qword [0x14014e790], 0
je 0x140075554
mov r9d, 0x100
xor r8d, r8d
xor edx, edx
lea rcx, str.Default
call rax
mov rdi, rax
test rax, rax
je 0x140075554
mov rcx, rax
call qword [0x14014e790]
test eax, eax
sete bl
mov rcx, rdi
call qword [0x14014e788]
test bl, bl
je 0x140075554
inc dword [rsi + 0x20]
mov al, 1
jmp 0x14007598c
cmp dword [rsi + 0xc0], 1
jne 0x14007559f
call fcn.140029f70
cmp byte [rax + 0x1b], 0
je 0x14007598a
call fcn.140029f70
cmp byte [rax + 0xd], 0
je 0x14007598a
mov rax, qword [rsi + 0x1d8]
cmp qword [rsi + 0x1d0], rax
jne 0x14007559f
mov rax, qword [rsi + 0x1a8]
cmp qword [rsi + 0x1a0], rax
je 0x14007598a
mov rcx, rsi
call fcn.140075310
mov r15d, 0x3e8
xor r13d, r13d
test al, al
je 0x140075668
call fcn.140040a40
mov r14, rax
movzx ecx, byte [rax + 0x38]
test cl, cl
je 0x140075668
lea rbx, [rax + 0x50]
mov rcx, rbx
call fcn.14009977c
test eax, eax
je 0x1400755e3
mov ecx, eax
call fcn.140099370
call fcn.1400973f0
mov rdi, rax
call fcn.1400973d4
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
sub rdx, qword [r14 + 0x40]
cmp rdx, r15
jae 0x14007564d
mov rcx, rbx
call fcn.1400997a0
test eax, eax
je 0x140075643
mov ecx, eax
call fcn.140099370
nop
inc dword [rsi + 8]
mov al, 1
jmp 0x14007598c
mov eax, r13d
xchg byte [r14 + 0x38], al
mov rcx, rbx
call fcn.1400997a0
test eax, eax
je 0x140075668
mov ecx, eax
call fcn.140099370
nop
mov rcx, rsi
call fcn.140075310
test al, al
je 0x1400757d7
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
cmp qword [rsi + 0x360], rax
setne r14b
movzx r12d, r14b
je 0x1400757ab
test rax, rax
je 0x1400757ab
mov rdx, rax
mov rcx, rsi
call fcn.14004d540
test al, al
je 0x1400757ab
mov qword [rsp + 0x30], r13
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400760a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x4c], eax
je 0x14007579a
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
je 0x14007579a
mov r8, qword [rsi + 0x280]
test r8, r8
je 0x14007571b
mov r9d, 1
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CombineRgn]
mov qword [rsp + 0x38], r13
lea rdx, [rsp + 0x38]
mov rcx, rsi
call fcn.14004fc70
mov rdi, qword [rsp + 0x38]
test rdi, rdi
je 0x14007574c
mov r9d, 1
mov r8, rdi
mov rdx, rbx
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CombineRgn]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x5c], eax
je 0x14007577b
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x50], eax
je 0x14007577b
xor cl, cl
jmp 0x14007577d
mov cl, 1
mov r14d, r13d
movzx eax, r12b
test cl, cl
cmove r14d, eax
test rdi, rdi
je 0x14007579d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x14007579d
xor r14b, r14b
test rbx, rbx
je 0x1400757ab
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
mov r8d, r15d
cmp byte [rsi + 0x33e], 0
cmovne r8d, r13d
lea rcx, [rsi + 0x398]
movzx edx, r14b
call fcn.140073510
test al, al
je 0x1400757d7
inc dword [rsi + 0x10]
mov al, 1
jmp 0x14007598c
xor bl, bl
xor r9d, r9d
lea r8, str.LivePreview
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
test rax, rax
je 0x1400758b4
mov ebx, dword [0x14013fe70]
cmp ebx, 0x80000000
jne 0x140075893
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140075885
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140075849
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x80000000
jmp 0x140075885
mov ebx, 0x80000000
nop
lea rdx, str.dwm.exe
lea rcx, [rbp - 0x74]
call fcn.1400c1a28
test eax, eax
je 0x140075878
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14007587c
jmp 0x140075850
mov ebx, dword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x14013fe70], ebx
cmp ebx, 0x80000000
je 0x1400758b2
mov dword [rsp + 0x28], 0x80000000
lea rdx, [rsp + 0x28]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [rsp + 0x28], ebx
sete bl
jmp 0x1400758b4
mov bl, 1
test bl, bl
je 0x1400758c9
mov byte [rsi + 0x388], 1
inc dword [rsi + 0x18]
mov al, 1
jmp 0x14007598c
cmp byte [rsi + 0x388], 0
je 0x1400758ef
call fcn.140006620
mov qword [rsi + 0x390], rax
mov byte [rsi + 0x388], 0
inc dword [rsi + 0x18]
mov al, 1
jmp 0x14007598c
call fcn.140006620
sub rax, qword [rsi + 0x390]
cmp rax, r15
jae 0x14007590a
inc dword [rsi + 0x18]
mov al, 1
jmp 0x14007598c
mov rcx, rsi
call fcn.140075310
test al, al
je 0x14007592f
call fcn.140040a40
add rax, 0x300
movzx eax, byte [rax]
test al, al
je 0x14007592f
inc dword [rsi + 0xc]
mov al, 1
jmp 0x14007598c
mov rax, qword [rsi + 0x3b8]
cmp byte [rax], 0
jne 0x140075952
call fcn.140040a40
add rax, 0x28
movzx eax, byte [rax]
test al, al
je 0x140075952
inc dword [rsi + 0x1c]
mov al, 1
jmp 0x14007598c
mov rcx, rsi
call fcn.140075310
test al, al
je 0x14007598a
cmp byte [rsi + 0x33e], 0
cmovne r15d, r13d
lea rcx, [rsi + 0x3a8]
mov r8d, r15d
movzx edx, byte [rsi + 0x338]
call fcn.140073510
test al, al
je 0x14007598a
inc dword [rsi + 0x14]
mov al, 1
jmp 0x14007598c
xor al, al
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14009ab00
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret