Function at 0x1400497c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rbx, rcx
mov dword [rbp - 0x80], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140049804
xor eax, eax
jmp 0x140049ad5
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x40]
call fcn.140056da0
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
lea r9, [rbp + 0x1d8]
lea rcx, [rsp + 0x20]
call fcn.14005a040
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140049864
mov rax, qword [rax]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140049875
mov rcx, qword [rbx]
cmp r8, rdx
jne 0x14004988b
mov rdx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14004988b
mov dil, 1
jmp 0x14004988e
xor dil, dil
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400498ce
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400498c9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400498c9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d317c
mov rcx, rsi
test dil, dil
je 0x1400498e4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x78]
jmp 0x140049a2c
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140049a21
nop word [rax + rax]
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x20]
call fcn.140056da0
nop
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
seta r9b
cmova rdx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
lea r8, [rdx + rax*2]
lea rdx, [rsp + 0x20]
test r9b, r9b
cmovne rdx, qword [rsp + 0x20]
lea r9, [rbp + 0x1d8]
lea rcx, [rsp + 0x60]
call fcn.14005a040
mov rdx, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14004995a
mov rax, qword [rax]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14004996b
mov rcx, qword [rbx]
cmp r8, rdx
jne 0x140049981
mov rdx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140049981
mov dil, 1
jmp 0x140049984
xor dil, dil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400499c1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400499bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049a70
call fcn.1400d317c
test dil, dil
jne 0x140049a77
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140049a0c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049a07
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049abc
call fcn.1400d317c
lea rdx, [rbp - 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140049900
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140049ad2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049acd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049acd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp - 0x78]
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140049a2c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049ac3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140049ac3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d317c
jmp 0x140049a2c
call fcn.1400d317c
mov rax, rbx
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret