Function at 0x140073880
Capabilities:
Enumerate processes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x102d0
call fcn.140181870
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 [0x140210348]
xor rax, rsp
mov qword [rsp + 0x102c0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x140073e31
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x140073e31
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rdi, rax
je 0x140073e31
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rsi, rax
test rax, rax
je 0x140073e31
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140160e90
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 0x140073e31
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jne 0x140073e31
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jl 0x140073e31
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x44], eax
jl 0x140073e31
call fcn.14013d07c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x14007399c
mov ecx, 0x80004005
call fcn.140001c00
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.1400024f0
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.140160e90
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 0x140073b56
mov rbx, qword [rsp + 0x20]
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x88], eax
jne 0x140073b27
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 0x140073aa7
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140073b27
cmp dword [rdx + 0x10], eax
jge 0x140073a78
cmp dword [rbx - 0xc], eax
jl 0x140073b40
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x140073b27
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073a90
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 0x140073b27
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 0x140073ad8
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140001df0
mov rbx, qword [rsp + 0x20]
cmp rbp, rsi
ja 0x140073af8
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + rbp*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14015cf60
jmp 0x140073b15
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0xac]
mov rdx, rsi
mov rcx, rbx
call fcn.14015cd30
test edi, edi
js 0x140073b4b
cmp edi, dword [rbx - 0xc]
jg 0x140073b4b
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 0x140073b5b
jmp 0x140073a21
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
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 0x140073b82
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 0x140073ba7
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140073bcf
xor eax, eax
lea rdi, str.LockApp.exe
mov rsi, rbx
mov ecx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
repe cmpsw word [rsi], word [rdi]
je 0x140073bc6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x140073bcf
xor r13d, r13d
jmp 0x140073bd2
mov r13d, r15d
call fcn.14013d07c
mov rdx, rax
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
jne 0x140073bf1
mov ecx, 0x80004005
call fcn.140001c00
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 0x140073c96
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140073d1e
cmp dword [rdx + 0x10], eax
jge 0x140073c67
cmp dword [rsi - 0xc], eax
jge 0x140073c5c
mov ecx, 0x80070057
call fcn.140001c00
int3
mov dword [rsi - 0x10], eax
mov word [rsi], ax
jmp 0x140073d1e
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073c7f
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 0x140073d1e
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 0x140073cc7
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140001df0
mov rsi, qword [rsp + 0x28]
cmp rbp, rbx
ja 0x140073ce7
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + rbp*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.14015cf60
jmp 0x140073d04
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x2c0]
mov rdx, rbx
mov rcx, rsi
call fcn.14015cd30
test edi, edi
js 0x140073e26
cmp edi, dword [rsi - 0xc]
jg 0x140073e26
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
mov edi, dword [rsi - 0x10]
mov dx, 0x5c
mov rcx, rsi
call fcn.14015c430
test rax, rax
jne 0x140073d37
mov eax, r12d
jmp 0x140073d3d
sub rax, rsi
sar rax, 1
sub edi, eax
lea r8d, [rdi - 1]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140001a70
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.140002300
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 0x140073d82
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 0x140073d9e
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rcx, qword [rsp + 0x20]
mov rdi, rax
sub rdi, rcx
nop
nop
movzx edx, word [rcx]
cmp dx, word [rcx + rdi]
jne 0x140073dc6
add rcx, 2
test dx, dx
jne 0x140073db0
xor edx, edx
jmp 0x140073dcb
sbb edx, edx
sbb edx, 0xffffffff
xor ecx, ecx
test edx, edx
sete cl
test ecx, ecx
jne 0x140073de0
test r14d, r14d
jne 0x140073de0
test r13d, r13d
je 0x140073de3
xor r15d, r15d
lea rdx, [rax - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140073e00
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 0x140073e21
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r15d
jmp 0x140073e33
mov ecx, 0x80070057
call fcn.140001c00
nop
xor eax, eax
mov rcx, qword [rsp + 0x102c0]
xor rcx, rsp
call fcn.14015d000
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