Function at 0x1400ad950
Capabilities:
Check for debugger via api
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
mov rax, qword [0x14030d6e8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xe8], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0xe8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0xe8], 0
jne 0x1400adc62
mov dword [rsp + 0x60], Ordinal_33
lea rcx, [0x1402ecb38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0xec], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0xec]
mov edx, Ordinal_33
mov rcx, rax
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x1400ada26
cmp dword [rsp + 0xec], 0
jne 0x1400ada26
mov dword [rsp + 0x34], 1
jmp 0x1400ada2e
mov dword [rsp + 0x34], 0
cmp dword [rsp + 0x34], 0
jne 0x1400adc62
mov dword [rsp + 0x64], reloc.WLDAP32.dll_Ordinal_30
lea rcx, [0x1402ecb38]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xb0], 8
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xb8]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rax
call qword [rsp + 0x80]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1400adad4
cmp qword [rsp + 0xb8], 0
je 0x1400adad4
mov dword [rsp + 0x38], 1
jmp 0x1400adadc
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x38], 0
jne 0x1400adc62
mov rax, qword gs:[0x60]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x50], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x54], reloc.WS2_32.dll_WSACleanup
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
jne 0x1400adb6f
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x1400adb6f
mov dword [rsp + 0x3c], 0
jmp 0x1400adb77
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
test eax, eax
jne 0x1400adc62
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_41
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, [rsp + 0xc0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
jne 0x1400adbba
mov byte [rsp + 0x30], 0
jmp 0x1400adc0f
movzx eax, word [rsp + 0xce]
cmp eax, 4
jne 0x1400adb98
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0xabababab
jne 0x1400adbfe
mov dword [rsp + 0x40], 1
jmp 0x1400adc06
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x1400adc62
mov rax, qword gs:[0x60]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp byte [rax + 2], 0
je 0x1400adc3e
mov byte [rsp + 0x31], 1
jmp 0x1400adc43
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x1400adc62
call fcn.1400adc90
movzx eax, al
test eax, eax
jne 0x1400adc62
mov dword [rsp + 0x44], 0
jmp 0x1400adc6a
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140110ce0
add rsp, 0x100
pop rdi
ret