Function at 0x140003840
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp + 0xf0], rdx
xor r13d, r13d
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
cmp qword [rax], 0x48eb94cc
jne 0x140003f59
add rdx, 0x118
lea rcx, [rbp + 0x3e0]
call fcn.140004b40
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe0], xmm1
mov rax, qword [rbp + 0x3f0]
cmp rax, 7
jb 0x140004168
add rax, 0xfffffffffffffff9
mov rsi, 0xffffffffffffffff
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
lea rdx, [rbp + 0x3e0]
cmp qword [rbp + 0x3f8], 0x10
cmovae rdx, qword [rbp + 0x3e0]
add rdx, 7
lea rcx, [rbp + 0xd0]
call fcn.140002c10
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 0x10
jb 0x14000394e
inc rdx
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003949
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003949
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
movups xmm1, xmmword [rbp + 0xd0]
movups xmmword [rbp + 0x3e0], xmm1
movups xmm0, xmmword [rbp + 0xe0]
movups xmmword [rbp + 0x3f0], xmm0
movq r8, xmm0
test r8, r8
je 0x140003f0e
lea r14, [rbp + 0x3e0]
movq rdx, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 0x10
cmovae r14, rdx
add r14, r8
lea rdi, [rbp + 0x3e0]
cmp rax, 0x10
cmovae rdi, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov r8d, 0xa
mov ebx, 7
mov qword [rbp - 0x70], rbx
cmp rdi, r14
jne 0x1400039d3
mov qword [rbp - 0x78], r13
mov word [rsp + 0x78], r13w
jmp 0x140003ad4
mov rax, r14
sub rax, rdi
mov rdx, r13
mov qword [rbp - 0x78], rdx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x14000416e
cmp rax, 8
jb 0x140003a90
mov rbx, rax
or rbx, 7
cmp rbx, rcx
jbe 0x140003a0e
mov rbx, rcx
jmp 0x140003a15
cmp rbx, r8
cmovb rbx, r8
mov rax, rbx
add rax, 1
cmovb rax, rsi
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140004162
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x140003a73
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140004162
mov rcx, rax
call fcn.140005c90
mov rcx, rax
test rax, rax
je 0x140003bba
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x78]
jmp 0x140003a86
test rcx, rcx
je 0x140003a83
call fcn.140005c90
mov rdx, qword [rbp - 0x78]
jmp 0x140003a86
mov rax, r13
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x70], rbx
nop
lea rcx, [rsp + 0x78]
cmp rbx, 8
cmovae rcx, qword [rsp + 0x78]
movsx eax, byte [rdi]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x78]
inc rdx
mov qword [rbp - 0x78], rdx
inc rdi
cmp rdi, r14
je 0x140003abf
mov rbx, qword [rbp - 0x70]
jmp 0x140003a90
lea rax, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rax, qword [rsp + 0x78]
mov word [rax + rdx*2], r13w
mov dword [rbp + 0x1a0], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, rsi
je 0x140003b80
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140003b77
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0x1cc]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140003b44
mov r8d, dword [rbp + 0x1a8]
xor edx, edx
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003b56
lea rdx, [rbp + 0x1a0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x140003b05
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x140003b82
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x140003bc6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003bc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
xorps xmm0, xmm0
xorps xmm1, xmm1
xor r8d, r8d
lea rdx, [0x140007718]
test bl, bl
je 0x140003d79
movups xmmword [rbp + 0x28], xmm0
movdqu xmmword [rbp + 0x38], xmm1
lea rcx, [rbp + 0x28]
call fcn.140002c10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov r8d, 0xa
lea rdx, str.Successful
lea rcx, [rbp - 0x68]
call fcn.140002c10
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x88], xmm0
mov qword [rbp + 0x98], r13
movdqu xmmword [rbp - 8], xmm0
mov rax, qword [r15]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x130], rax
mov dword [rbp + 0x128], r13d
mov rcx, qword [r12]
add rcx, 0x20
mov dword [rsp + 0x60], r13d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x68]
lea r8, [rbp + 0x128]
lea rdx, [rbp + 0xf8]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov rbx, qword [rbp + 0x100]
test rbx, rbx
je 0x140003cd8
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003cd8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003cd8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0x88]
call fcn.140004a70
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x140003d23
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003d1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003d1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
movdqa xmm0, xmmword [0x1400078f0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0x40]
cmp rdx, 0x10
jb 0x140003f0e
inc rdx
mov rcx, qword [rbp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movups xmmword [rbp + 0x48], xmm0
movdqu xmmword [rbp + 0x58], xmm1
lea rcx, [rbp + 0x48]
call fcn.140002c10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x38], xmm1
mov r8d, 5
lea rdx, str.Error
lea rcx, [rbp - 0x48]
call fcn.140002c10
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r13
movdqu xmmword [rbp + 8], xmm0
mov rax, qword [r15]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x158], rax
mov dword [rbp + 0x150], r13d
mov rcx, qword [r12]
add rcx, 0x20
mov dword [rsp + 0x60], r13d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x48]
lea r8, [rbp + 0x150]
lea rdx, [rbp + 0x108]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov rbx, qword [rbp + 0x110]
test rbx, rbx
je 0x140003e73
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140003e73
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140003e73
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0xa0]
call fcn.140004a70
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x140003ebe
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003eb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003eb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
movdqa xmm0, xmmword [0x1400078f0]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
mov rdx, qword [rbp + 0x60]
cmp rdx, 0x10
jb 0x140003f0e
inc rdx
mov rcx, qword [rbp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f08
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f08
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
nop
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 0x10
jb 0x140004108
inc rdx
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004102
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
xor r8d, r8d
lea rdx, [0x140007718]
lea rcx, [rbp + 0x68]
call fcn.140002c10
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov r8d, 5
lea rdx, str.Error
lea rcx, [rbp - 0x28]
call fcn.140002c10
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xb8], xmm0
mov qword [rbp + 0xc8], r13
movdqu xmmword [rbp + 0x18], xmm0
mov rax, qword [r15]
mov rcx, qword [rax + 0x30]
mov rax, qword [rcx]
mov qword [rbp + 0x180], rax
mov dword [rbp + 0x178], r13d
mov rcx, qword [r12]
add rcx, 0x20
mov dword [rsp + 0x60], r13d
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x50], 0
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x40], 0
lea rax, [rbp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r13d
mov byte [rsp + 0x20], 0
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x178]
lea rdx, [rbp + 0x118]
call qword [sym.imp.TgBot.dll__sendMessage_Api_TgBot__QEBA_AV__shared_ptr_VMessage_TgBot___std__V__variant__JV__basic_string_DU__char_traits_D]
mov rsi, 0xffffffffffffffff
mov rbx, qword [rbp + 0x120]
test rbx, rbx
je 0x14000406a
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14000406a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000406a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
nop
lea rcx, [rbp + 0xb8]
call fcn.140004a70
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400040b5
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400040b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400040b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
movdqa xmm0, xmmword [0x1400078f0]
movdqu xmmword [rbp - 0x18], xmm0
mov byte [rbp - 0x28], 0
mov rdx, qword [rbp + 0x80]
cmp rdx, 0x10
jb 0x140004108
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004102
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004102
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005ccc
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140004138
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140004138
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x140004138
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140005c70
mov rbx, qword [rsp + 0x560]
add rsp, 0x510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140001230
nop
call fcn.140002ae0
int3
call fcn.1400012d0
int3