Function at 0x1401cad30
Capabilities:
Enumerate process modules
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 - 0xa20]
sub rsp, 0xb20
mov rax, qword [0x14039a678]
xor rax, rsp
mov qword [rbp + 0xa10], rax
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov r14d, esi
mov dword [rsp + 0x28], esi
mov r13d, esi
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x30]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 7
lea r8d, [rsi + 0xc]
lea rdx, str.RemoveProcID
lea rcx, [rsp + 0x50]
call fcn.1400e83c0
nop
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
lea r8d, [rsi + 0x3e]
lea rdx, str.SOFTWAREASUSASUS_System_Control_InterfaceAsusSystemAnalysis
lea rcx, [rsp + 0x70]
call fcn.1400e83c0
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x70]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x50]
call fcn.1401bc860
nop
lea r8, [rsp + 0x20]
mov edx, 0x800
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_K32EnumProcesses
cmp eax, 1
je 0x1401cae63
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
lea r8d, [rsi + 0x66]
lea rdx, str.ERROR:_Failed_to_kill_process___s__since_error_occurs_while_calling_EnumProcesses__._Error_code0x_08x
lea rcx, [rbp - 0x70]
call fcn.1400e83c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.14017f3e0
jmp 0x1401cb0a2
mov r8d, dword [rsp + 0x20]
shr r8d, 2
mov dword [rsp + 0x24], r8d
mov r12d, esi
test r8d, r8d
je 0x1401cb09f
lea r15, [rbp - 0x30]
mov eax, r8d
mov r8d, dword [r15]
test r8d, r8d
je 0x1401cb08f
xor edx, edx
mov ecx, 0x100411
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x1401cb08b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x800]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r9, [rsp + 0x20]
mov r8d, 8
lea rdx, [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x1401caefe
mov r9d, 0x104
lea r8, [rbp + 0x800]
mov rdx, qword [rsp + 0x40]
mov rcx, rdi
call sub.KERNEL32.dll_K32GetModuleBaseNameW
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x800]
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
jne 0x1401cafee
cmp dword [rsp + 0x28], ebx
je 0x1401cafee
lea r9, [rbp + 0x7fa]
nop dword [rax + rax]
add r9, 0xfffffffffffffffe
mov eax, 0xcccccccd
mul ebx
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub bx, cx
add bx, 0x30
mov word [r9], bx
mov ebx, edx
test edx, edx
jne 0x1401caf30
mov r10, rsi
mov qword [rbp - 0x70], rsi
mov rcx, rsi
mov qword [rbp - 0x60], rcx
mov r11d, 7
mov qword [rbp - 0x58], r11
lea rax, [rbp + 0x7fa]
cmp r9, rax
je 0x1401cafa5
lea r8, [rbp + 0x7fa]
sub r8, r9
sar r8, 1
mov rdx, r9
lea rcx, [rbp - 0x70]
call fcn.1400e83c0
mov r11, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
mov r10, qword [rbp - 0x70]
or r14d, 7
lea rax, [rbp - 0x70]
cmp r11, 8
cmovae rax, r10
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r8, qword [rbp - 0x50]
mov rdx, qword [rbp - 0x40]
cmp rdx, rcx
jne 0x1401cafea
test rdx, rdx
je 0x1401caff6
sub r8, rax
movzx ecx, word [rax]
cmp word [rax + r8], cx
jne 0x1401cafea
add rax, 2
sub rdx, 1
jne 0x1401cafd4
jmp 0x1401caff6
mov bl, 1
jmp 0x1401caff8
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp - 0x70]
xor bl, bl
test r14b, 1
je 0x1401cb03d
and r14d, 0xfffffffe
cmp r11, 8
jb 0x1401cb03d
lea rdx, [r11*2 + 2]
mov rax, r10
cmp rdx, 0x1000
jb 0x1401cb035
add rdx, 0x27
mov r10, qword [r10 - 8]
sub rax, r10
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb10a
mov rcx, r10
call fcn.1401e3784
test bl, bl
je 0x1401cb082
mov rcx, rdi
cmp qword [rsp + 0x38], 0
je 0x1401cb071
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebx, eax
mov dword [rsp + 0x30], esi
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp ebx, dword [rsp + 0x30]
jne 0x1401cb082
mov rcx, rdi
mov edx, 1
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov r13d, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x24]
inc r12d
add r15, 4
cmp r12d, eax
jb 0x1401cae84
mov esi, r13d
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x1401cb0de
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401cb0d9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401cb110
call fcn.1401e3784
mov eax, esi
mov rcx, qword [rbp + 0xa10]
xor rcx, rsp
call fcn.1401e3ce0
mov rbx, qword [rsp + 0xb70]
add rsp, 0xb20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
nop
call sub.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn
int3