Function at 0x14004cc80
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r15
lea rbp, [rsp - 0xd8]
sub rsp, 0x1d8
lea rax, [0x140186e18]
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, str.ida64.exe
mov qword [rsp + 0x48], rax
lea rax, str.ida.exe
mov qword [rsp + 0x50], rax
lea rax, str.processhacker.exe
mov qword [rsp + 0x58], rax
lea ecx, [rdx + 2]
lea rax, str.dump.exe
mov qword [rsp + 0x60], rax
lea rax, str.artmoney.exe
mov qword [rsp + 0x68], rax
lea rax, str.ollydbg.exe
mov qword [rsp + 0x70], rax
lea rax, str.x64dbg.exe
mov qword [rsp + 0x78], rax
lea rax, str.ilspy.exe
mov qword [rbp - 0x80], rax
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14004cd1f
xor al, al
add rsp, 0x1d8
pop r15
pop rbp
ret
mov qword [rsp + 0x1f0], rbx
lea rdx, [rbp - 0x70]
mov qword [rsp + 0x1f8], rsi
mov rcx, r15
mov qword [rsp + 0x200], rdi
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1c8], r13
mov qword [rsp + 0x1c0], r14
mov dword [rbp - 0x70], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14004cf14
movabs r12, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
xorps xmm0, xmm0
lea rax, [rbp - 0x44]
movups xmmword [rsp + 0x20], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_22
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004cd97
cmp rbx, r12
ja 0x14004cfa7
cmp rbx, 0xf
ja 0x14004cde7
mov r8, rbx
mov qword [rsp + 0x30], rbx
lea rdx, [rbp - 0x44]
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x20], 0
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x20]
jmp 0x14004ce72
mov rdi, rbx
or rdi, 0xf
cmp rdi, r12
jbe 0x14004cdfc
mov rdi, r12
lea rax, [r13 + 0x27]
jmp 0x14004ce1e
cmp rdi, 0x16
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x14004ce3d
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004cfa1
mov rcx, rax
call fcn.1401175bc
test rax, rax
je 0x14004cf9a
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14004ce4f
test rcx, rcx
je 0x14004ce4c
call fcn.1401175bc
mov r14, rax
jmp 0x14004ce4f
xor r14d, r14d
mov r8, rbx
mov qword [rsp + 0x20], r14
lea rdx, [rbp - 0x44]
mov qword [rsp + 0x30], rbx
mov rcx, r14
mov qword [rsp + 0x38], rdi
call sub.VCRUNTIME140.dll_memcpy
mov byte [r14 + rbx], 0
lea rsi, [rsp + 0x40]
nop word [rax + rax]
mov rdx, qword [rsi]
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp byte [rdx + rax], 0
jne 0x14004ce90
cmp rdi, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, r14
cmp rbx, rax
jne 0x14004cebb
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14004cf5a
add rsi, 8
lea rax, [rbp - 0x78]
cmp rsi, rax
jne 0x14004ce80
cmp rdi, 0xf
jbe 0x14004ceff
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004cef7
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cf9a
mov rcx, r14
call fcn.140117908
lea rdx, [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14004cd7f
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov r13, qword [rsp + 0x1c8]
mov r12, qword [rsp + 0x1d0]
mov rdi, qword [rsp + 0x200]
mov rsi, qword [rsp + 0x1f8]
mov rbx, qword [rsp + 0x1f0]
mov r14, qword [rsp + 0x1c0]
add rsp, 0x1d8
pop r15
pop rbp
ret
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 0xf
jbe 0x14004cf96
lea rdx, [rdi + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x14004cf8e
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004cf9a
mov rcx, r14
call fcn.140117908
mov al, 1
jmp 0x14004cf1f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400030d0
int3
call fcn.140045570
int3