Function at 0x140073a40
Capabilities:
Enumerate processes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x102d0
call fcn.140180a70
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x10300], rbx
mov qword [rsp + 0x10308], rbp
mov qword [rsp + 0x10310], rsi
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x102c0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x140073ff1
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x140073ff1
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rdi, rax
je 0x140073ff1
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rsi, rax
test rax, rax
je 0x140073ff1
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1401601f0
mov dword [rsp + 0x50], 0x28
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.USER32.dll_GetMonitorInfoW]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x54]
cmp dword [rsp + 0x38], edx
jne 0x140073ff1
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jne 0x140073ff1
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jl 0x140073ff1
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x44], eax
jl 0x140073ff1
call fcn.14013e120
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140073b5c
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x20]
call fcn.140003a50
mov dword [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r13, rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x84]
call fcn.1401601f0
mov dword [rsp + 0x80], 0x238
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
or r12, 0xffffffffffffffff
lea r15d, [r12 + 2]
test eax, eax
je 0x140073d16
mov rbx, qword [rsp + 0x20]
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x88], eax
jne 0x140073ce7
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov rdi, rcx
test ecx, ecx
jne 0x140073c67
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140073ce7
cmp dword [rdx + 0x10], eax
jge 0x140073c38
cmp dword [rbx - 0xc], eax
jl 0x140073d00
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x140073ce7
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073c50
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
jmp 0x140073ce7
mov esi, dword [rbx - 0x10]
lea rbp, [rsp + 0xac]
sub rbp, rbx
sar rbp, 1
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140073c98
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140001c90
mov rbx, qword [rsp + 0x20]
cmp rbp, rsi
ja 0x140073cb8
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14015c620
jmp 0x140073cd5
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0xac]
mov rdx, rsi
mov rcx, rbx
call fcn.14015c410
test edi, edi
js 0x140073d0b
cmp edi, dword [rbx - 0xc]
jg 0x140073d0b
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x140073d1b
jmp 0x140073be1
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov rbx, qword [rsp + 0x20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r11d, r11d
lea rdi, str.explorer.exe
mov rsi, rbx
mov ecx, SafeArrayDestroy
repe cmpsw word [rsi], word [rdi]
je 0x140073d42
sbb r11d, r11d
sbb r11d, 0xffffffff
xor r14d, r14d
test r11d, r11d
sete r14b
xor eax, eax
lea rdi, str.LockAppHost.exe
mov rsi, rbx
mov ecx, 0x10
repe cmpsw word [rsi], word [rdi]
je 0x140073d67
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140073d8f
xor eax, eax
lea rdi, str.LockApp.exe
mov rsi, rbx
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
repe cmpsw word [rsi], word [rdi]
je 0x140073d86
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140073d8f
xor r13d, r13d
jmp 0x140073d92
mov r13d, r15d
call fcn.14013e120
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140073db1
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x28], rsi
mov r8d, 0x7fff
lea rdx, [rsp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x2c0]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x140073e56
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140073ede
cmp dword [rdx + 0x10], eax
jge 0x140073e27
cmp dword [rsi - 0xc], eax
jge 0x140073e1c
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x140073ede
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073e3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x28], rsi
jmp 0x140073ede
mov ebx, dword [rsi - 0x10]
lea rbp, [rsp + 0x2c0]
sub rbp, rsi
sar rbp, 1
mov ecx, r15d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140073e87
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140001c90
mov rsi, qword [rsp + 0x28]
cmp rbp, rbx
ja 0x140073ea7
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + rbp*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14015c620
jmp 0x140073ec4
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x2c0]
mov rdx, rbx
mov rcx, rsi
call fcn.14015c410
test edi, edi
js 0x140073fe6
cmp edi, dword [rsi - 0xc]
jg 0x140073fe6
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
mov edi, dword [rsi - 0x10]
mov dx, 0x5c
mov rcx, rsi
call fcn.14015e430
test rax, rax
jne 0x140073ef7
mov eax, r12d
jmp 0x140073efd
sub rax, rsi
sar rax, 1
sub edi, eax
lea r8d, [rdi - 1]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140064770
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400063f0
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073f42
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
mov rax, qword [rsp + 0x28]
test rax, rax
setne cl
test ecx, ecx
jne 0x140073f5e
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rcx, qword [rsp + 0x20]
mov rdi, rax
sub rdi, rcx
nop
nop
movzx edx, word [rcx]
cmp dx, word [rcx + rdi]
jne 0x140073f86
add rcx, 2
test dx, dx
jne 0x140073f70
xor edx, edx
jmp 0x140073f8b
sbb edx, edx
sbb edx, 0xffffffff
xor ecx, ecx
test edx, edx
sete cl
test ecx, ecx
jne 0x140073fa0
test r14d, r14d
jne 0x140073fa0
test r13d, r13d
je 0x140073fa3
xor r15d, r15d
lea rdx, [rax - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073fc0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x140073fe1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r15d
jmp 0x140073ff3
mov ecx, 0x80070057
call fcn.140001c70
nop
xor eax, eax
mov rcx, qword [rsp + 0x102c0]
xor rcx, rsp
call fcn.14015b6f0
lea r11, [rsp + 0x102d0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret