Function at 0x1401d57e0
Capabilities:
Check for debugger via api
Enumerate processes
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x790
mov rax, qword [0x1401f2040]
xor rax, rsp
mov qword [rsp + 0x780], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1401d5a20
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor esi, esi
mov rdi, rax
test rax, rax
je 0x1401d5889
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
test rax, rax
je 0x1401d5880
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r9d, 4
mov qword [rsp + 0x20], rsi
mov rcx, rax
lea r8, [rsp + 0x30]
mov edx, 7
call rbx
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x1401d5889
cmp dword [rsp + 0x30], esi
jne 0x1401d5a20
jmp 0x1401d5889
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [0x1401f3068]
mov rbx, qword [0x1401f3060]
cmp rbx, rdi
je 0x1401d58b1
nop dword [rax]
mov rcx, rbx
call fcn.1401d5400
add rbx, 0x20
cmp rbx, rdi
jne 0x1401d58a0
xor edx, edx
lea rcx, [rsp + 0x2b0]
mov r8d, 0x4d0
call fcn.1401e5e7a
mov dword [rsp + 0x2e0], 0x100010
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
lea rdx, [rsp + 0x2b0]
call qword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1401d5924
cmp qword [rsp + 0x2f8], rsi
jne 0x1401d5a1a
cmp qword [rsp + 0x300], rsi
jne 0x1401d5a1a
cmp qword [rsp + 0x308], rsi
jne 0x1401d5a1a
cmp qword [rsp + 0x310], rsi
jne 0x1401d5a1a
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x1401d5a1a
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x30], esi
jne 0x1401d5a1a
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x30], esi
jne 0x1401d5a1a
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x58], 1
jbe 0x1401d5a1a
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401d59f5
lea rdx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1401d59ec
nop dword [rax]
lea rdx, str.idaq
lea rcx, [rsp + 0x9c]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x1401d5a1a
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1401d59c0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x780]
xor rcx, rsp
call fcn.1401e4f60
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call fcn.1401d57c0
int3
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Debugger_detected__Terminating_process.
call fcn.1401db110
lea rdx, [0x1401db2f0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.1401d57c0
int3