Function at 0x140001600
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub rsp, 0x768
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x750], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x14000164b
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x1400033e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140001685
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x140003440]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, str.NtQueryInformationProcess
mov qword [rsp + 0x770], rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x14000186b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], ecx
mov r9d, 4
mov qword [rsp + 0x20], rcx
mov edx, 7
mov rcx, rax
call rbx
test eax, eax
jne 0x140001701
cmp dword [rsp + 0x30], eax
je 0x140001701
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x1400034b0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
lea rcx, [rsp + 0x280]
mov r8d, 0x4d0
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x2b0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0x280]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x140001790
cmp qword [rsp + 0x2c8], 0
jne 0x140001768
cmp qword [rsp + 0x2d0], 0
jne 0x140001768
cmp qword [rsp + 0x2d8], 0
jne 0x140001768
cmp qword [rsp + 0x2e0], 0
je 0x140001790
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x140003580]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140001823
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x760], rdi
mov rcx, rax
mov dword [rsp + 0x40], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001812
lea rdi, str.x64dbg.exe
lea rdx, [rsp + 0x6c]
mov rax, 0xffffffffffffffff
nop
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rdi + rax*2 + 2]
jne 0x140001800
add rax, 2
cmp rax, 0xb
je 0x140001843
movzx ecx, word [rdx + rax*2]
cmp cx, word [rdi + rax*2]
je 0x1400017e0
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400017d3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdi, qword [rsp + 0x760]
mov rbx, qword [rsp + 0x770]
mov rcx, qword [rsp + 0x750]
xor rcx, rsp
call fcn.140001a60
add rsp, 0x768
ret
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x1400035e0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9d, 0x10
lea r8, [0x1400033c8]
lea rdx, [0x140003510]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3