Function at 0x140004640
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x19a0]
mov eax, 0x1aa0
call fcn.140032a60
sub rsp, rax
mov rax, qword [0x140061148]
xor rax, rsp
mov qword [rbp + 0x1990], rax
mov r15, rcx
mov qword [rsp + 0x40], rcx
mov rbx, qword [rcx]
mov r8, qword [rbx + 8]
mov rdx, rcx
call fcn.140009050
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r12d, r12d
mov qword [r15 + 8], r12
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1400046c7
xor eax, eax
jmp 0x140004b2f
mov dword [rbp - 0x20], 0x238
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x1c]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r12
mov ebx, 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x78], r12w
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
mov r13, qword [rbp - 0x78]
test eax, eax
je 0x140004ae2
mov edi, 4
mov rax, qword gs:[0x58]
add rdi, qword [rax]
mov qword [rsp + 0x50], rdi
nop dword [rax + rax]
mov rax, qword [r15]
mov rcx, qword [rax + 8]
mov rdx, rax
mov r8d, dword [rbp]
cmp byte [rcx + 0x19], 0
jne 0x14000475c
cmp dword [rcx + 0x20], r8d
jae 0x140004750
mov rcx, qword [rcx + 0x10]
jmp 0x140004756
mov rdx, rcx
mov rcx, qword [rcx]
cmp byte [rcx + 0x19], 0
je 0x140004744
cmp byte [rdx + 0x19], 0
jne 0x140004768
cmp r8d, dword [rdx + 0x20]
jae 0x14000476b
mov rdx, rax
mov ecx, dword [rbp - 0x18]
mov dword [rbp - 0x80], ecx
mov ecx, r12d
cmp rdx, rax
cmovne ecx, r8d
mov dword [rbp - 0x7c], ecx
mov qword [rbp - 0x68], r12
lea rax, [rbp - 0x78]
cmp rbx, 8
cmovae rax, r13
mov word [rax], r12w
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [rdi]
cmp dword [0x14006c084], eax
jg 0x140004b65
mov edi, dword [rbp - 0x80]
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400047eb
mov r8d, edi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400048ac
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x220]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [0x14006c078]
test rax, rax
je 0x14000484d
mov dword [rsp + 0x30], 0xbb7
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x220]
xor edx, edx
mov rcx, rbx
call qword [case.0x140025138.0]
test eax, eax
je 0x14000484d
lea rax, [rbp + 0x220]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004840
jmp 0x14000488b
mov r9d, 0xbb7
lea r8, [rbp + 0x220]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x14000489e
lea rax, [rbp + 0x220]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140004880
lea rdx, [rbp + 0x220]
lea rcx, [rbp - 0x78]
call fcn.140008a30
mov edi, dword [rbp - 0x80]
test rbx, rbx
je 0x1400048ac
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp - 0x58], edi
mov dword [rbp - 0x50], edi
mov r12d, dword [rbp - 0x7c]
mov dword [rbp - 0x4c], r12d
xor edx, edx
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rdx
lea r15, [rbp - 0x78]
mov r13, qword [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae r15, r13
mov r14, qword [rbp - 0x68]
cmp r14, 8
jae 0x1400048f7
movups xmm0, xmmword [r15]
movups xmmword [rbp - 0x48], xmm0
lea esi, [rdx + 7]
mov rbx, qword [rbp - 0x48]
jmp 0x14000498d
mov rsi, r14
or rsi, 7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
cmova rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140004b5f
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000495e
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004b5f
mov rcx, rax
call fcn.140032498
test rax, rax
je 0x140004adb
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004970
test rcx, rcx
je 0x14000496d
call fcn.140032498
mov rbx, rax
jmp 0x140004970
mov rbx, rdx
mov qword [rbp - 0x48], rbx
lea r8, [r14*2 + 2]
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [rbp - 0x48]
xor edx, edx
movups xmmword [rsp + 0x30], xmm0
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], r14
mov r15, qword [rsp + 0x40]
mov r14, qword [r15]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x60], edx
mov rcx, r14
cmp byte [rax + 0x19], 0
jne 0x1400049e8
nop dword [rax + rax]
mov qword [rsp + 0x58], rax
cmp dword [rax + 0x20], edi
jae 0x1400049d4
mov dword [rsp + 0x60], edx
mov rax, qword [rax + 0x10]
jmp 0x1400049e2
mov dword [rsp + 0x60], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400049c0
cmp byte [rcx + 0x19], 0
jne 0x1400049f7
cmp edi, dword [rcx + 0x20]
jae 0x140004a7d
movabs rax, 0x333333333333333
cmp qword [r15 + 8], rax
je 0x140004bb3
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], rdx
mov ecx, 0x50
call fcn.140032498
nop
mov dword [rax + 0x20], edi
mov dword [rax + 0x28], edi
mov dword [rax + 0x2c], r12d
xor r12d, r12d
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x30], xmm0
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [rax + 0x40], xmm0
lea esi, [r12 + 7]
mov word [rbp - 0x48], r12w
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], r12w
mov qword [rsp + 0x78], r12
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x30], xmm0
mov r8, rax
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.140009b90
mov rbx, qword [rbp - 0x48]
jmp 0x140004a80
xor r12d, r12d
cmp rsi, 8
jb 0x140004ab7
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004aaf
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004adb
mov rcx, rbx
call fcn.1400324d4
lea rdx, [rbp - 0x20]
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
mov rbx, qword [rbp - 0x60]
test eax, eax
je 0x140004ae2
mov rdi, qword [rsp + 0x50]
jmp 0x140004730
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp rbx, 8
jb 0x140004b2a
lea rdx, [rbx*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x140004b22
add rdx, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r13
call fcn.1400324d4
mov eax, 1
mov rcx, qword [rbp + 0x1990]
xor rcx, rsp
call fcn.1400325f0
lea r11, [rsp + 0x1aa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400044b0
nop
lea rcx, [0x14006c084]
call fcn.140032c48
cmp dword [0x14006c084], 0xffffffff
jne 0x1400047b4
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.QueryFullProcessImageNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14006c078], rax
lea rcx, [0x14006c084]
call fcn.140032be8
jmp 0x1400047b4
call fcn.140004570
int3