Function at 0x18000ddc0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x300], rbx
mov rax, qword [0x180033250]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, rdx
mov r14, rcx
mov qword [rsp + 0x48], 7
xor eax, eax
mov qword [rsp + 0x40], rax
mov word [rsp + 0x30], ax
xor edx, edx
lea ecx, [rax + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x18000de88
mov ecx, 0x200
call fcn.180013c38
mov rdi, rax
xor edx, edx
mov r8d, 0x200
mov rcx, rax
call fcn.180017680
mov byte [rdi], 1
lea rcx, [rdi + 2]
lea r8, [0x18002c170]
mov edx, 0xff
call fcn.180013e04
cmp dword [r14 + 0x10], 0
jne 0x18000de7b
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov r8d, 0x200
mov rdx, rdi
call qword [rax + 0x10]
mov rcx, rdi
call fcn.1800135c0
jmp 0x18000e07d
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.180017680
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18000e07d
movabs rdx, 0x7ffffffffffffffe
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp - 0x74]
repne scasw ax, word [rdi]
not rcx
lea rsi, [rcx - 1]
lea rax, [rsp + 0x30]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
cmp rbx, 8
cmovae rax, r12
lea rcx, [rbp - 0x74]
mov r8, qword [rsp + 0x40]
cmp rcx, rax
jb 0x18000df65
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, r12
lea rax, [rax + r8*2]
lea rcx, [rbp - 0x74]
cmp rax, rcx
jbe 0x18000df65
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, r12
lea rdi, [rbp - 0x74]
sub rdi, rax
sar rdi, 1
cmp r8, rdi
jb 0x18000e02d
sub r8, rdi
cmp rsi, r8
cmovb r8, rsi
lea rdx, [r8 + rdi]
or r8, 0xffffffffffffffff
lea rcx, [rsp + 0x30]
call fcn.180010b70
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.180010b70
jmp 0x18000dfeb
cmp rsi, rdx
ja 0x18000e070
cmp rbx, rsi
jae 0x18000df82
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.18000a3c0
jmp 0x18000df9e
test rsi, rsi
jne 0x18000dfab
xor ecx, ecx
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
cmp rbx, 8
cmovae rax, r12
mov word [rax], cx
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
test rsi, rsi
setne al
test al, al
je 0x18000dff5
lea rcx, [rsp + 0x30]
cmp rbx, 8
cmovae rcx, r12
lea rdi, [rsi + rsi]
mov r8, rdi
lea rdx, [rbp - 0x74]
call fcn.180013610
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rax, qword [rsp + 0x30]
xor ecx, ecx
mov word [rdi + rax], cx
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r15
lea rcx, [rsp + 0x30]
call fcn.180010660
cmp eax, 0xffffffff
jg 0x18000e03a
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x18000deb0
lea rcx, str.invalid_string_position
call fcn.18001352c
int3
mov byte [rsp + 0x20], 2
cmp dword [r14 + 0x10], 0
jne 0x18000e065
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rsp + 0x20]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x48]
mov r12, qword [rsp + 0x30]
cmp rbx, 8
jb 0x18000e08f
mov rcx, r12
jmp 0x18000e08a
lea rcx, str.string_too_long
call fcn.1800134d0
nop
cmp qword [rsp + 0x48], 8
jb 0x18000e08f
mov rcx, qword [rsp + 0x30]
call fcn.1800135c0
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1800135e0
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret