Function at 0x14005e4e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
xor r12d, r12d
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005e562
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005e562
lea rdx, [0x140181178]
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005e55e
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005e535
jmp 0x14005e562
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005e6af
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, [0x140181178]
mov ecx, edi
call fcn.140044360
lea r15, [rax + 0x2593320]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xd10
mov dword [rsp + 0x38], 0x834
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140076910
mov r8d, ntohs
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14005e637
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140076910
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.140044400
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [0x14021353c]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14005e6af
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005e6a7
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e6a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005e70d
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005e70d
lea rdx, [0x140180ec8]
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005e709
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005e6e0
jmp 0x14005e70d
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005e864
mov dword [rbp + 0x1e0], 0xc4778000
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, [0x140180ec8]
mov ecx, edi
call fcn.140044360
lea r15, [rax + 0x26684d8]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xd30
mov dword [rsp + 0x38], 0x844
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140076910
mov r8d, ntohs
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14005e7ec
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140076910
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.140044400
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14005e864
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005e85c
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005e85c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005e8c2
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005e8c2
lea rdx, [0x140180f68]
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005e8be
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005e895
jmp 0x14005e8c2
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005ea19
mov dword [rbp + 0x1e0], 0xc4778000
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, [0x140180f68]
mov ecx, edi
call fcn.140044360
lea r15, [rax + 0x257bea0]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xd10
mov dword [rsp + 0x38], 0x824
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140076910
mov r8d, ntohs
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14005e9a1
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140076910
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.140044400
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14005ea19
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005ea11
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ea11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005ea7d
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005ea7d
nop word [rax + rax]
lea rdx, [0x140181070]
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005ea79
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005ea50
jmp 0x14005ea7d
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005ebd4
mov dword [rbp + 0x1e0], 0xc4778000
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, [0x140181070]
mov ecx, edi
call fcn.140044360
lea r15, [rax + 0x2567db0]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xd30
mov dword [rsp + 0x38], 0x844
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140076910
mov r8d, ntohs
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14005eb5c
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140076910
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.140044400
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14005ebd4
mov rax, qword [rsp + 0x68]
sub rax, rdi
sar rax, 2
lea rdx, [rax*4]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005ebcc
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ebcc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
mov edi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14005ec32
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14005ec32
lea rdx, [0x140181120]
lea rcx, [rbp - 0x64]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14005ec2e
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14005ec05
jmp 0x14005ec32
mov edi, dword [rsp + 0x78]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x14005ed81
mov dword [rbp + 0x1e0], 0xc4778000
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
lea rdx, [0x140181120]
mov ecx, edi
call fcn.140044360
lea r15, [rax + 0x254d448]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x34], 0xd10
mov dword [rsp + 0x38], 0x824
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
mov edx, 3
lea rcx, [rsp + 0x58]
call fcn.140076910
mov r8d, ntohs
lea rdx, [rsp + 0x30]
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
lea rbx, [rdi + 0xc]
mov qword [rsp + 0x60], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
sub rbx, rdi
mov rsi, rbx
sar rsi, 2
test rsi, rsi
je 0x14005ed11
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.140076910
mov r8, rbx
mov rdx, rdi
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
lea rax, [rbx + rsi*4]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x40]
mov rdx, r15
mov rcx, r14
call fcn.140044400
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 0x1e0]
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop
test rdi, rdi
je 0x14005ed81
mov rdx, qword [rsp + 0x68]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005ed79
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ed79
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1401439fc
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret