Function at 0x14006eb70
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rbp, rcx
mov eax, dword [rcx + 0x14]
inc eax
test eax, 0xfffffffe
jne 0x14006ebaa
xor eax, eax
jmp 0x14006ef39
xor r13d, r13d
call fcn.140004f70
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x14006ebcd
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x2b8], rdi
call fcn.140004f70
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x14006ebff
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x2b0], rbx
call fcn.140004f70
mov rcx, rax
mov eax, r13d
test rcx, rcx
setne al
test eax, eax
jne 0x14006ec31
mov ecx, 0x80004005
call fcn.140004f20
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x2c0], rax
mov rax, qword [rbp + 0x58]
cmp rax, qword [rbp + 0x60]
je 0x14006eda2
mov rsi, qword [rax]
test rsi, rsi
je 0x14006ec61
mov ecx, dword [rbp + 0x14]
cmp dword [rsi + 8], ecx
je 0x14006ec67
add rax, 8
jmp 0x14006ec47
mov rdx, qword [rsi + 0xb8]
lea rcx, [rdx - 0x18]
lea r14, [rdi - 0x18]
cmp rcx, r14
je 0x14006ecd5
cmp dword [r14 + 0x10], 0
jl 0x14006ecbc
mov rax, qword [r14]
cmp qword [rcx], rax
jne 0x14006ecbc
call fcn.14000b840
mov rdi, rax
lock add dword [r14 + 0x10], 0xffffffff
jg 0x14006eca6
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rdi, 0x18
mov qword [rsp + 0x2b8], rdi
mov rbx, qword [rsp + 0x2b0]
jmp 0x14006ecd5
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x2b8]
call fcn.14000be20
mov rdi, qword [rsp + 0x2b8]
mov rdx, qword [rsi + 0x28]
lea rcx, [rdx - 0x18]
lea rsi, [rbx - 0x18]
cmp rcx, rsi
je 0x14006ed3e
cmp dword [rsi + 0x10], 0
jl 0x14006ed25
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14006ed25
call fcn.14000b840
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x14006ed0f
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 0x18
mov qword [rsp + 0x2b0], rbx
mov rdi, qword [rsp + 0x2b8]
jmp 0x14006ed3e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x2b0]
call fcn.14000be20
mov rbx, qword [rsp + 0x2b0]
lea rcx, [rbx - 0x18]
mov rsi, qword [rbp + 0x18]
sub rsi, 0x18
cmp rcx, rsi
je 0x14006eda2
cmp dword [rsi + 0x10], 0
jl 0x14006ed92
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14006ed92
call fcn.14000b840
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x14006ed78
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rbp + 0x18], rax
mov rdi, qword [rsp + 0x2b8]
mov rbx, qword [rsp + 0x2b0]
jmp 0x14006eda2
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14000be20
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r14, rax
mov dword [rsp + 0x30], 0x238
cmp rax, 0xffffffffffffffff
je 0x14006ee66
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14006ee58
lea rdx, [rsp + 0x5c]
mov rcx, rdi
call fcn.1400eb81c
test eax, eax
je 0x14006edf6
lea rdx, [rsp + 0x30]
mov rcx, r14
call sub.KERNEL32.dll_Process32NextW
jmp 0x14006edce
mov r13d, 1
lea rcx, [rdi - 0x18]
mov rsi, qword [rbp + 0x18]
sub rsi, 0x18
cmp rcx, rsi
je 0x14006ee58
cmp dword [rsi + 0x10], 0
jl 0x14006ee48
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x14006ee48
call fcn.14000b840
mov rbx, rax
lock add dword [rsi + 0x10], 0xffffffff
jg 0x14006ee36
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rbp + 0x18], rax
mov rbx, qword [rsp + 0x2b0]
jmp 0x14006ee58
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.14000be20
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
jne 0x14006eedf
cmp dword [rbx - 0x10], 0
je 0x14006eed8
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14006eed8
lea rcx, [rbx - 0x18]
mov rdi, qword [rbp + 0x18]
sub rdi, 0x18
cmp rcx, rdi
je 0x14006eed0
cmp dword [rdi + 0x10], 0
jl 0x14006eec0
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14006eec0
call fcn.14000b840
mov rbx, rax
lock add dword [rdi + 0x10], 0xffffffff
jg 0x14006eeb6
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbx + 0x18]
mov qword [rbp + 0x18], rax
jmp 0x14006eed0
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp + 0x18]
call fcn.14000be20
mov r13d, 1
jmp 0x14006eedf
mov dword [rbp + 0x14], 0xffffffff
mov rdx, qword [rsp + 0x2c0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006eefc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x2b0]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006ef19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x2b8]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14006ef36
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r13d
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret