Function at 0x140006d90
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rbx
push r12
push r13
push r15
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
movaps xmmword [rsp + 0x3d0], xmm6
mov rax, qword [0x14008d558]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
movzx r12d, r8b
mov r15, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0x1b0]
mov r13, r9
call fcn.1400158a0
mov qword [rsp + 0x68], 0
xorps xmm6, xmm6
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
test rbx, rbx
je 0x1400070d0
xor edx, edx
mov qword [rsp + 0x430], rsi
mov qword [rsp + 0x3e8], rdi
mov qword [rsp + 0x3e0], r14
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
test rax, rax
je 0x14000707c
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140007073
nop dword [rax]
lea r9, [rbp - 0x64]
mov qword [rsp + 0x20], 0x104
mov r8d, 0x104
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x68]
call fcn.1400246e0
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14002559c
mov rsi, rax
cmp rax, 4
ja 0x140006f32
cmp dword [0x14008d0b0], 2
jl 0x140006ecb
test dword [0x14008d0fc], 0x10000
je 0x140006ecb
mov edi, 1
mov ecx, 0x10000
lea edx, [rdi + 1]
call fcn.14000b080
jmp 0x140006ee4
mov edx, 2
mov ecx, 0x10000
call fcn.14000b080
xor edi, edi
test eax, eax
je 0x14000705e
lfence
mov qword [rsp + 0x40], rsi
lea rcx, str.ERROR:_Name_of_sub_instance_is_length___zu._n
mov qword [rsp + 0x38], rcx
mov r9d, 2
lea rcx, str.C:jenkinsworkspacedptfSrcESIFProductsESIF_UFSourceswinesif_assist.c
mov dword [rsp + 0x30], 0x8c6
mov qword [rsp + 0x28], rcx
mov r8d, 0x10000
lea rcx, str.find_all_foreground_app_instances
mov edx, eax
mov qword [rsp + 0x20], rcx
mov ecx, edi
call fcn.14000b530
jmp 0x14000705e
mov edi, dword [rbx + 0x12ac]
cmp edi, 0x32
jb 0x140006f49
mov dword [rbx + 0x12ac], 0
xor edi, edi
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x1b0]
call fcn.140026090
test eax, eax
jne 0x140006f94
mov edx, dword [rsp + 0x78]
xor ecx, ecx
test edi, edi
je 0x140006f85
nop word [rax + rax]
cmp edx, dword [rbx + rcx*4 + 0x11e4]
je 0x140006f94
mov edi, dword [rbx + 0x12ac]
inc ecx
cmp ecx, edi
jb 0x140006f70
mov eax, edi
mov dword [rbx + rax*4 + 0x11e4], edx
inc dword [rbx + 0x12ac]
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.14002559c
add rax, 0xfffffffffffffffc
cmp rax, 0x104
jae 0x1400070f7
lea rdx, [rbp + 0x1b0]
mov byte [rbp + rax + 0x1b0], 0
mov rcx, r15
call fcn.140015b70
test rax, rax
jne 0x140007030
mov r8d, dword [rbx + 0x11dc]
cmp dword [rbp - 0x70], r8d
jne 0x140007002
mov edx, dword [rbx + 0x12ac]
xor ecx, ecx
test edx, edx
je 0x140007030
nop word [rax + rax]
cmp r8d, dword [rbx + rcx*4 + 0x11e4]
je 0x140007002
inc ecx
cmp ecx, edx
jb 0x140006ff0
jmp 0x140007030
mov r8d, dword [rsp + 0x78]
cmp r8d, dword [rbx + 0x11e0]
jne 0x14000705e
mov edx, dword [rbx + 0x12ac]
xor ecx, ecx
test edx, edx
je 0x140007030
nop dword [rax]
cmp r8d, dword [rbx + rcx*4 + 0x11e4]
je 0x14000705e
inc ecx
cmp ecx, edx
jb 0x140007020
lea rax, [rsp + 0x60]
movzx edx, r12b
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x50]
lea rax, [rsp + 0x58]
mov rcx, rbx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.140008df0
addsd xmm6, xmm0
lea rdx, [rsp + 0x70]
mov rcx, r14
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140006e60
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbx + 0x58]
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x3e8]
mov rsi, qword [rsp + 0x430]
mov r14, qword [rsp + 0x3e0]
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
cvttsd2si rax, xmm0
mov dword [r13], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x11b4], rax
mov rax, qword [rsp + 0x58]
mov qword [rbx + 0x11bc], rax
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x11c4], rax
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.140014190
movaps xmm6, xmmword [rsp + 0x3d0]
add rsp, 0x3f0
pop r15
pop r13
pop r12
pop rbx
pop rbp
ret
call fcn.1400142c4
int3