Function at 0x1401ea630
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 [0x140713740]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov dword [rsp + 0xf0], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0xf0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
test eax, eax
jne 0x1401ea98c
mov dword [rsp + 0x68], 0x1f
lea rcx, [0x1405387a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0xf4], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0xf4]
mov edx, 0x1f
mov rcx, rax
call qword [rsp + 0x78]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1401ea70f
cmp dword [rsp + 0xf4], 0
jne 0x1401ea70f
mov dword [rsp + 0x34], 1
jmp 0x1401ea717
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
test eax, eax
jne 0x1401ea98c
mov dword [rsp + 0x6c], 0x1e
lea rcx, [0x1405387a8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xb8], 8
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x88], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0xc0]
mov edx, 0x1e
mov rcx, rax
call qword [rsp + 0x88]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x1401ea7c4
cmp qword [rsp + 0xc0], 0
je 0x1401ea7c4
mov dword [rsp + 0x38], 1
jmp 0x1401ea7cc
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x38]
test eax, eax
jne 0x1401ea98c
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_151]
mov rax, qword gs:[0x60]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x54], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x58], Ordinal_119
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
jne 0x1401ea866
mov rax, qword [rsp + 0xa0]
cmp dword [rax], 0
jne 0x1401ea866
mov dword [rsp + 0x3c], 0
jmp 0x1401ea86e
mov dword [rsp + 0x3c], 1
movzx eax, byte [rsp + 0x3c]
mov byte [rsp + 0x32], al
jmp 0x1401ea880
movzx eax, byte [rsp + 0x32]
movzx eax, al
test eax, eax
jne 0x1401ea98c
lea rax, [rsp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, 0x28
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea rdx, [rsp + 0xc8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
jne 0x1401ea8c6
mov byte [rsp + 0x30], 0
jmp 0x1401ea91b
movzx eax, word [rsp + 0xd6]
cmp eax, 4
jne 0x1401ea8a4
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0xabababab
jne 0x1401ea90a
mov dword [rsp + 0x40], 1
jmp 0x1401ea912
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
movzx eax, al
test eax, eax
jne 0x1401ea98c
call qword [sym.imp.SecureEngineSDK64.dll_Ordinal_151]
mov rax, qword gs:[0x60]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp byte [rax + 2], 0
je 0x1401ea953
mov byte [rsp + 0x31], 1
jmp 0x1401ea958
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x33], al
jmp 0x1401ea96a
movzx eax, byte [rsp + 0x33]
movzx eax, al
test eax, eax
jne 0x1401ea98c
call fcn.1401ea9c0
movzx eax, al
test eax, eax
jne 0x1401ea98c
mov dword [rsp + 0x44], 0
jmp 0x1401ea994
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1403e5550
add rsp, 0x100
pop rdi
ret