Function at 0x140009e50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rbp + 0x198], rax
mov rsi, rcx
mov qword [rsp + 0x20], rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rbp + 0x190], rax
test rax, rax
jne 0x140009f05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140009810
nop
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x140009efa
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rsi]
jb 0x140009ef5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a232
mov rcx, r8
call fcn.14000f6f0
xor edi, edi
mov qword [rsi + 0x10], rdi
jmp 0x14000a1f1
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x140009f32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140009810
nop
mov rcx, rbx
jmp 0x140009eb4
lea r12, [rsi + 0x10]
mov rax, qword [r12]
cmp qword [rsi + 0x18], 8
jb 0x140009f4d
mov r14, qword [rsi]
mov rdi, r14
lea r15, [r14 + rax*2]
jmp 0x140009f57
mov rdi, rsi
lea r15, [rsi + rax*2]
mov r14, rsi
cmp rdi, r15
je 0x140009f80
sub r14, rdi
nop
movzx ecx, word [rdi]
call fcn.14001869c
mov word [r14 + rdi], ax
add rdi, 2
cmp rdi, r15
jne 0x140009f60
nop word [rax + rax]
lea rdx, [rsp + 0x5c]
lea rcx, [rbp + 0x170]
call fcn.140006fd0
nop
lea r14, [rbp + 0x170]
mov r10, qword [rbp + 0x188]
cmp r10, 8
setae al
mov r8, qword [rbp + 0x170]
cmovae r14, r8
lea rcx, [rbp + 0x170]
mov rdx, qword [rbp + 0x180]
test al, al
je 0x140009fcd
mov rdi, r8
lea r15, [r8 + rdx*2]
jmp 0x140009fd8
lea r15, [rcx + rdx*2]
lea rdi, [rbp + 0x170]
cmp rdi, r15
je 0x14000a00b
sub r14, rdi
movzx ecx, word [rdi]
call fcn.14001869c
mov word [r14 + rdi], ax
add rdi, 2
cmp rdi, r15
jne 0x140009fe0
mov r10, qword [rbp + 0x188]
mov rdx, qword [rbp + 0x180]
mov r8, qword [rbp + 0x170]
mov rcx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14000a018
mov rcx, qword [rsi]
lea r9, [rbp + 0x170]
cmp r10, 8
setae r11b
cmovae r9, r8
cmp rdx, qword [r12]
jne 0x14000a156
test rdx, rdx
je 0x14000a058
sub r9, rcx
nop dword [rax]
movzx eax, word [rcx]
cmp word [r9 + rcx], ax
jne 0x14000a156
add rcx, 2
sub rdx, 1
jne 0x14000a040
lea rdx, str.___Found_process
lea rcx, [0x14004d770]
call fcn.1400076f0
mov rcx, rax
lea rdx, [rsp + 0x5c]
call fcn.1400076f0
mov rcx, rax
lea rdx, str._with_PID
call fcn.140009ad0
mov rcx, rax
mov edx, dword [rsp + 0x38]
call fcn.1400098d0
mov rcx, rax
call fcn.1400079c0
mov r14d, dword [rsp + 0x38]
mov rdx, qword [rbp + 0x188]
cmp rdx, 8
jb 0x14000a0e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x170]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a22c
call fcn.14000f6f0
xor edi, edi
mov qword [rbp + 0x180], rdi
mov qword [rbp + 0x188], 7
mov word [rbp + 0x170], di
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000a14a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000a145
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a238
mov rcx, r8
call fcn.14000f6f0
mov qword [r12], rdi
mov eax, r14d
jmp 0x14000a1f6
test r11b, r11b
je 0x14000a190
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x14000a188
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a22c
mov rcx, r8
call fcn.14000f6f0
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140009f80
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, 8
jb 0x14000a1eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x14000a1e6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000a232
mov rcx, r8
call fcn.14000f6f0
xor edi, edi
mov qword [r12], rdi
mov eax, 2
mov word [rsi], di
mov qword [rsi + 0x18], 7
mov rcx, qword [rbp + 0x198]
xor rcx, rsp
call fcn.14000f6d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140018494
nop
call fcn.140018494
int3
call fcn.140018494
int3