Function at 0x140071e20
Capabilities:
Enumerate processes

Disassembly:
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x102d0
call fcn.140167340
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 [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x102c0], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x140072383
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rdi, rax
je 0x140072383
call qword [sym.imp.USER32.dll_GetShellWindow]
cmp rdi, rax
je 0x140072383
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_MonitorFromWindow]
mov rsi, rax
test rax, rax
je 0x140072383
xor edx, edx
lea r8d, [rdx + 0x28]
lea rcx, [rsp + 0x50]
call fcn.140148fe0
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 0x140072383
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x3c], eax
jne 0x140072383
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x40], eax
jl 0x140072383
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x44], eax
jl 0x140072383
call fcn.14012a060
mov rdx, rax
xor r15d, r15d
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140071f40
mov ecx, 0x80004005
call fcn.140002cb0
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.140003370
mov dword [rsp + 0x30], r15d
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.140148fe0
mov dword [rsp + 0x80], 0x238
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32FirstW
or r12, 0xffffffffffffffff
lea r14d, [r12 + 2]
test eax, eax
je 0x1400720f8
mov rsi, qword [rsp + 0x20]
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x88], eax
jne 0x1400720c9
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
sub rcx, r14
mov rdi, rcx
test ecx, ecx
jne 0x140072049
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400720c9
cmp dword [rdx + 0x10], eax
jge 0x14007201a
cmp dword [rsi - 0xc], eax
jl 0x1400720e2
mov dword [rsi - 0x10], r15d
mov word [rsi], ax
jmp 0x1400720c9
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072032
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 + 0x20], rsi
jmp 0x1400720c9
mov ebx, dword [rsi - 0x10]
lea rbp, [rsp + 0xac]
sub rbp, rsi
sar rbp, 1
mov ecx, r14d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x14007207a
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002cd0
mov rsi, qword [rsp + 0x20]
cmp rbp, rbx
ja 0x14007209a
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + rbp*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144e50
jmp 0x1400720b7
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0xac]
mov rdx, rbx
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x1400720ed
cmp edi, dword [rsi - 0xc]
jg 0x1400720ed
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
lea rdx, [rsp + 0x80]
mov rcx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x1400720fd
jmp 0x140071fc2
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov rsi, qword [rsp + 0x20]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r11d, r11d
lea rdi, str.explorer.exe
mov ecx, SafeArrayDestroy
repe cmpsw word [rsi], word [rdi]
je 0x140072121
sbb r11d, r11d
sbb r11d, 0xffffffff
mov r13d, r15d
test r11d, r11d
sete r13b
call fcn.14012a060
mov rdx, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14007214b
mov ecx, 0x80004005
call fcn.140002cb0
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 0x1400721f1
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140072279
cmp dword [rdx + 0x10], eax
jge 0x1400721c2
cmp dword [rsi - 0xc], eax
jge 0x1400721b6
mov ecx, 0x80070057
call fcn.140002cb0
int3
mov dword [rsi - 0x10], r15d
mov word [rsi], ax
jmp 0x140072279
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400721da
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 0x140072279
mov ebx, dword [rsi - 0x10]
lea rbp, [rsp + 0x2c0]
sub rbp, rsi
sar rbp, 1
mov ecx, r14d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140072222
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140002cd0
mov rsi, qword [rsp + 0x28]
cmp rbp, rbx
ja 0x140072242
movsxd rax, edi
lea rbx, [rax + rax]
lea r8, [rsi + rbp*2]
mov r9, rbx
mov rdx, rbx
mov rcx, rsi
call fcn.140144e50
jmp 0x14007225f
movsxd rax, edi
lea rbx, [rax + rax]
mov r9, rbx
lea r8, [rsp + 0x2c0]
mov rdx, rbx
mov rcx, rsi
call fcn.140144ee0
test edi, edi
js 0x140072378
cmp edi, dword [rsi - 0xc]
jg 0x140072378
mov dword [rsi - 0x10], edi
mov word [rbx + rsi], 0
mov edi, dword [rsi - 0x10]
mov dx, 0x5c
mov rcx, rsi
call fcn.1401471b0
test rax, rax
jne 0x140072292
mov eax, r12d
jmp 0x140072298
sub rax, rsi
sar rax, 1
sub edi, eax
lea r8d, [rdi - 1]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x28]
call fcn.140063420
nop
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400059c0
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 0x1400722dd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, r15d
mov rax, qword [rsp + 0x28]
test rax, rax
setne cl
test ecx, ecx
jne 0x1400722fa
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rcx, qword [rsp + 0x20]
mov rdi, rax
sub rdi, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + rdi]
jne 0x14007231c
add rcx, 2
test dx, dx
jne 0x140072305
mov edx, r15d
jmp 0x140072321
sbb edx, edx
sbb edx, 0xffffffff
mov ecx, r15d
test edx, edx
sete cl
test ecx, ecx
jne 0x140072332
test r13d, r13d
je 0x140072335
mov r14d, r15d
lea rdx, [rax - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140072352
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 0x140072373
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r14d
jmp 0x140072385
mov ecx, 0x80070057
call fcn.140002cb0
nop
xor eax, eax
mov rcx, qword [rsp + 0x102c0]
xor rcx, rsp
call fcn.140144dc0
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