Function at 0x1400012e0
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x298
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
mov edi, edx
lea rcx, str.Kernel32.dll
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.CreateToolhelp32Snapshot
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140001350
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._t___
call fcn.140001010
xor eax, eax
jmp 0x1400015ba
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test edi, edi
jne 0x1400013bb
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400013a5
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001370
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
jmp 0x1400015ba
mov r14d, dword [rsp + 0x48]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
jmp 0x1400015ba
mov qword [rsp + 0x2d8], r12
mov r12d, r14d
mov qword [rsp + 0x290], r13
mov r13d, 1
mov qword [rsp + 0x2c8], rbp
mov qword [rsp + 0x2d0], rsi
xorps xmm0, xmm0
lea r13d, [r13 + 1]
movups xmmword [rsp + 0x20], xmm0
mov r8d, 0xa
lea rax, [rsp + 0x6c]
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140001416
cmp rdi, rcx
ja 0x140001615
cmp rdi, 7
ja 0x14000146d
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x38], 7
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r14w
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140001509
mov rbp, rdi
or rbp, 7
cmp rbp, rcx
jbe 0x140001482
mov rbp, rcx
lea rcx, [rdx + rdx]
jmp 0x1400014a3
cmp rbp, 0xa
cmovb rbp, r8
lea rcx, [rbp + 1]
cmp rcx, rdx
ja 0x14000160f
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400014cf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000160f
mov rcx, rax
call fcn.140002550
test rax, rax
je 0x1400015d8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400014e1
test rcx, rcx
je 0x1400014de
call fcn.140002550
mov rsi, rax
jmp 0x1400014e1
mov rsi, r14
lea rbx, [rdi + rdi]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r14w
cmp rbp, 7
lea r8, [rsp + 0x20]
cmova r8, rsi
cmp rdi, 0xa
jne 0x140001548
lea rbx, str.WeChat.exe
mov rdx, rdi
mov rcx, rbx
sub r8, rbx
nop dword [rax]
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x140001548
add rcx, 2
sub rdx, 1
jne 0x140001530
lea r12d, [rdx + 1]
cmp rbp, 7
jbe 0x14000157f
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140001577
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400015d8
mov rcx, rsi
call fcn.14000258c
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400013e4
test r12d, r12d
jne 0x1400015df
mov rsi, qword [rsp + 0x2d0]
mov rbp, qword [rsp + 0x2c8]
mov r12, qword [rsp + 0x2d8]
mov r13, qword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140002530
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rbx
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea eax, [r13 + 0xa]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
movaps xmm1, xmm0
mulsd xmm1, qword [0x140005530]
mulsd xmm1, xmm0
movsd xmm0, qword [0x140005538]
comisd xmm0, xmm1
setbe r14b
mov eax, r14d
jmp 0x14000159a
call fcn.140001170
int3
call fcn.140001210
int3