Function at 0x14002ec70
Capabilities:
Enumerate process modules
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 - 0x660]
sub rsp, 0x760
mov rax, qword [0x14032f0c0]
xor rax, rsp
mov qword [rbp + 0x650], rax
mov r15, rdx
mov rdi, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14002ed72
lea rax, str.Invalid_handle_value_for_process_snapshot
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], 0x29
lea rax, str.srcguigui.cpp
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x3ef
lea rax, str.is_process_running
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x70], xmm1
movsd xmm0, qword [rsp + 0x50]
movsd qword [rbp - 0x60], xmm0
lea r9, [rsp + 0x20]
lea rdx, [rbp - 0x70]
mov rcx, qword [0x1403364f8]
call fcn.140008c60
mov byte [rdi], r12b
lea rbx, [rdi + 8]
mov qword [rbx], r12
xorps xmm0, xmm0
movups xmmword [rbx + 8], xmm0
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], r12
lea ecx, [rsi + 0x11]
call fcn.1401f4f50
mov qword [rax + 8], r12
mov qword [rbx], rax
mov qword [rax], rbx
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x20], 7
mov word [rbx + 8], r12w
jmp 0x14002ef0a
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x2c]
call fcn.140277340
mov dword [rbp - 0x30], 0x238
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x14002ee06
lea rax, str.Failed_Process32First
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], reloc.WS2_32.dll_setsockopt
lea rax, str.srcguigui.cpp
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x3f7
lea rax, str.is_process_running
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x20]
movaps xmmword [rbp - 0x50], xmm1
movsd xmm0, qword [rsp + 0x30]
movsd qword [rbp - 0x40], xmm0
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, qword [0x1403364f8]
call fcn.140008c60
jmp 0x14002eef5
mov rcx, r15
call fcn.140009680
lea rcx, [rbp - 4]
sub rax, rcx
nop word [rax + rax]
movzx r8d, word [rcx]
movzx edx, word [rcx + rax]
sub r8d, edx
jne 0x14002ee35
add rcx, 2
test edx, edx
jne 0x14002ee20
test r8d, r8d
je 0x14002ee50
lea rdx, [rbp - 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14002ee06
jmp 0x14002eef5
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp + 0x214]
call fcn.140277340
mov edx, dword [rbp - 0x28]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14002eef5
mov dword [rbp + 0x210], 0x438
lea rdx, [rbp + 0x210]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14002eeec
nop dword [rax]
lea r8, [r15 + 8]
cmp qword [r15 + 0x20], 7
jbe 0x14002eeaf
mov r8, qword [r15 + 8]
lea rax, [rbp - 4]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14002eed4
add rax, 2
test ecx, ecx
jne 0x14002eec0
mov rcx, r14
test edx, edx
je 0x14002ef38
lea rdx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14002eea0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rdi], r12b
lea rcx, [rdi + 8]
call fcn.140024ec0
mov rax, rdi
mov rcx, qword [rbp + 0x650]
xor rcx, rsp
call fcn.1401f4d70
lea r11, [rsp + 0x760]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rdi], 1
lea rcx, [rdi + 8]
mov qword [rcx], r12
xorps xmm0, xmm0
movups xmmword [rcx + 8], xmm0
mov qword [rcx + 0x18], r12
mov qword [rcx + 0x20], r12
lea rax, [rbp + 0x440]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r12w
jne 0x14002ef70
lea rdx, [rbp + 0x440]
call fcn.140048850
jmp 0x14002ef0a