Function at 0x140003e90
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x480]
sub rsp, 0x580
mov rax, qword [0x140016040]
xor rax, rsp
mov qword [rbp + 0x470], rax
xor r15d, r15d
lea rdi, [0x1400160d8]
mov r8, rdi
cmp qword [0x1400160f0], 0xf
cmova r8, qword [0x1400160d8]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, dword [0x1400160e8]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xorps xmm0, xmm0
movups xmmword [rbp + 0x240], xmm0
mov qword [rbp + 0x250], r15
mov qword [rbp + 0x258], r15
mov r8, rbx
lea rcx, [rbp + 0x240]
call fcn.14000ae30
lea rdx, [rbp + 0x240]
cmp qword [rbp + 0x258], 7
cmova rdx, qword [rbp + 0x240]
cmp qword [0x1400160f0], 0xf
cmova rdi, qword [0x1400160d8]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdx
mov r9d, dword [0x1400160e8]
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
nop
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14000464a
mov dword [rbp - 0x40], 0x238
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140004640
movabs r13, 0x7ffffffffffffffe
movabs r12, 0x7fffffffffffffff
mov edi, 0xa
xorps xmm0, xmm0
movups xmmword [rbp + 0x220], xmm0
mov qword [rbp + 0x230], r15
mov qword [rbp + 0x238], 7
mov word [rbp + 0x220], r15w
mov r8d, dword [rbp - 0x38]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
je 0x1400045e5
mov r9d, 0x104
lea r8, [rbp + 0x260]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x1400045db
lea rax, [rbp + 0x260]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x140004031
mov rax, qword [rbp + 0x238]
cmp rdx, rax
ja 0x140004083
lea rdi, [rbp + 0x220]
cmp rax, 7
cmova rdi, qword [rbp + 0x220]
mov qword [rbp + 0x230], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x260]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi], r15w
mov edi, 0xa
jmp 0x140004096
lea r9, [rbp + 0x260]
lea rcx, [rbp + 0x220]
call fcn.14000acc0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 0x240]
cmp qword [rbp + 0x258], 7
cmova rdx, qword [rbp + 0x240]
lea rcx, [rbp + 0x220]
cmp qword [rbp + 0x238], 7
cmova rcx, qword [rbp + 0x220]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400045e5
mov r8d, dword [rbp - 0x38]
xor edx, edx
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400045e5
mov edx, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x200], xmm0
mov qword [rbp + 0x210], r15
mov qword [rbp + 0x218], r15
lea rax, [rbp - 0x14]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140004130
cmp rbx, r13
ja 0x1400046ed
mov qword [rbp + 0x218], 7
cmp rbx, 7
ja 0x14000417f
mov qword [rbp + 0x210], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x14]
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memcpy
mov word [rbp + rbx + 0x200], r15w
jmp 0x14000421f
mov rsi, rbx
or rsi, 7
cmp rsi, r13
jbe 0x140004194
mov rsi, r13
lea rcx, [r12 + r12]
jmp 0x1400041b5
cmp rsi, 0xa
cmovb rsi, rdi
lea rcx, [rsi + 1]
cmp rcx, r12
ja 0x1400046ff
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400041e1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400046ff
mov rcx, rax
call fcn.14000ccc0
test rax, rax
je 0x1400046aa
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400041f3
test rcx, rcx
je 0x1400041f0
call fcn.14000ccc0
mov rdi, rax
jmp 0x1400041f3
mov rdi, r15
mov qword [rbp + 0x200], rdi
mov qword [rbp + 0x210], rbx
mov qword [rbp + 0x218], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x14]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r15w
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
mov r8d, 7
lea rdx, str.app.log
lea rcx, [rsp + 0x78]
call fcn.1400034f0
nop
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400173a0], eax
jle 0x1400042af
lea rcx, [0x1400173a0]
call fcn.14000cc48
cmp dword [0x1400173a0], 0xffffffff
jne 0x1400042af
xor edx, edx
mov r8d, 0x158
lea rcx, [0x1400173b0]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x78]
call fcn.140002b40
lea rcx, [0x14000e730]
call fcn.14000cff4
nop
lea rcx, [0x1400173a0]
call fcn.14000cbdc
lea rdx, [rbp + 0x200]
cmp qword [rbp + 0x218], 7
seta r8b
cmova rdx, qword [rbp + 0x200]
mov rax, qword [rbp + 0x210]
lea rsi, [rdx + rax*2]
lea rdi, [rbp + 0x200]
test r8b, r8b
cmovne rdi, qword [rbp + 0x200]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
cmp rdi, rsi
jne 0x14000430c
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
jmp 0x140004417
mov rax, rsi
sub rax, rdi
sar rax, 1
mov rdx, r15
mov qword [rsp + 0x40], rdx
mov ebx, 0xf
mov qword [rsp + 0x48], rbx
cmp rax, r12
ja 0x1400046f9
cmp rax, rbx
jbe 0x1400043d0
mov rbx, rax
or rbx, 0xf
cmp rbx, r12
jbe 0x140004358
mov rbx, r12
movabs rax, 0x8000000000000000
add rax, 0x27
jmp 0x14000437f
cmp rbx, 0x16
mov eax, 0x16
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400043a6
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400046f3
mov rcx, rax
call fcn.14000ccc0
mov rcx, rax
test rax, rax
je 0x14000469c
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rsp + 0x40]
jmp 0x1400043ba
test rcx, rcx
je 0x1400043b7
call fcn.14000ccc0
mov rdx, qword [rsp + 0x40]
jmp 0x1400043ba
mov rax, r15
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], rbx
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rsp + 0x30]
cmp rbx, 0xf
cmova rcx, qword [rsp + 0x30]
movzx eax, byte [rdi]
mov byte [rdx + rcx], al
mov rdx, qword [rsp + 0x40]
inc rdx
mov qword [rsp + 0x40], rdx
add rdi, 2
cmp rdi, rsi
je 0x140004402
mov rbx, qword [rsp + 0x48]
jmp 0x1400043d0
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rax, qword [rsp + 0x30]
mov byte [rax + rdx], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov r8d, 0x14
lea rdx, str.Terminated_process:
lea rcx, [rsp + 0x50]
call fcn.1400034f0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.1400028d0
nop
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
lea rcx, [0x1400173b0]
call fcn.140003020
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400044a6
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000468e
call fcn.14000d014
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1400044f3
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400044ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004695
call fcn.14000d014
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140004543
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000453e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000469c
call fcn.14000d014
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140004593
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000458d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046a3
call fcn.14000d014
nop
mov rdx, qword [rbp + 0x218]
cmp rdx, 7
jbe 0x1400045e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x200]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400045d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046aa
call fcn.14000d014
jmp 0x1400045e5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x238]
cmp rdx, 7
jbe 0x14000462b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x220]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004626
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400046b1
call fcn.14000d014
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140003fbd
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x258]
cmp rdx, 7
jbe 0x1400046bd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x240]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000d014
mov rcx, qword [rbp + 0x470]
xor rcx, rsp
call fcn.14000cb80
lea r11, [rsp + 0x580]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400015c0
nop
call fcn.140001520
int3
call fcn.1400015c0
nop
call fcn.140001520
int3