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 r15d, r15d
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 r14, 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 0x1400015a8
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, r14
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, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001370
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
jmp 0x1400015a8
mov r15d, dword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r15d
jmp 0x1400015a8
mov qword [rsp + 0x2d8], r12
movabs r12, 0x7ffffffffffffffe
mov qword [rsp + 0x290], r13
movabs r13, 0x7fffffffffffffff
mov qword [rsp + 0x2c8], rbp
mov qword [rsp + 0x2d0], rsi
xorps xmm0, xmm0
lea rax, [rsp + 0x6c]
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0xa
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r15w
jne 0x140001410
cmp rdi, r12
ja 0x140001625
cmp rdi, 7
ja 0x140001467
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], r15w
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140001507
mov rbp, rdi
or rbp, 7
cmp rbp, r12
jbe 0x140001480
mov rbp, r12
lea rcx, [r13*2]
jmp 0x1400014a1
cmp rbp, 0xa
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, r13
ja 0x14000161f
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400014cd
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000161f
mov rcx, rax
call fcn.140002690
test rax, rax
je 0x140001618
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400014df
test rcx, rcx
je 0x1400014dc
call fcn.140002690
mov rsi, rax
jmp 0x1400014df
mov rsi, r15
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], r15w
cmp rbp, 7
lea r8, [rsp + 0x20]
cmova r8, rsi
cmp rdi, 0xa
jne 0x1400015c6
lea rbx, str.WeChat.exe
mov rdx, rdi
mov rcx, rbx
sub r8, rbx
nop
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x1400015c6
add rcx, 2
sub rdx, 1
jne 0x140001530
cmp rbp, 7
jbe 0x140001583
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000157b
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001618
mov rcx, rsi
call fcn.1400026cc
mov eax, 1
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.140002670
add rsp, 0x298
pop r15
pop r14
pop rdi
pop rbx
ret
cmp rbp, 7
jbe 0x1400015fd
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400015f5
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001618
mov rcx, rsi
call fcn.1400026cc
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400013ef
jmp 0x140001588
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001170
int3
call fcn.140001210
int3