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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x34], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x34]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp dword [rsp + 0x34], 0
jne 0x14004de11
mov dword [rsp + 0x70], Ordinal_32
lea rcx, str.ntdll.dll
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 dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 4
lea r8, [rsp + 0x38]
mov edx, Ordinal_32
mov rcx, rax
call qword [rsp + 0x80]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14004dbd8
cmp dword [rsp + 0x38], 0
jne 0x14004dbd8
mov dword [rsp + 0x3c], 1
jmp 0x14004dbe0
mov dword [rsp + 0x3c], 0
cmp dword [rsp + 0x3c], 0
jne 0x14004de11
mov dword [rsp + 0x74], reloc.WLDAP32.dll_Ordinal_30
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtQueryInformationProcess
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x60], 0
mov qword [rsp + 0xc0], 8
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x90], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], 0
mov r9d, 8
lea r8, [rsp + 0x60]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov rcx, rax
call qword [rsp + 0x90]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x14004dc83
cmp qword [rsp + 0x60], 0
je 0x14004dc83
mov dword [rsp + 0x40], 1
jmp 0x14004dc8b
mov dword [rsp + 0x40], 0
cmp dword [rsp + 0x40], 0
jne 0x14004de11
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x58], reloc.WS2_32.dll_WSASetLastError
mov dword [rsp + 0x5c], reloc.WS2_32.dll_WSACleanup
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax]
and eax, 0xfffffffd
test eax, eax
jne 0x14004dd1e
mov rax, qword [rsp + 0xa8]
cmp dword [rax], 0
jne 0x14004dd1e
mov dword [rsp + 0x44], 0
jmp 0x14004dd26
mov dword [rsp + 0x44], 1
movzx eax, byte [rsp + 0x44]
test eax, eax
jne 0x14004de11
lea rax, [rsp + 0xc8]
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 + 0xc8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapWalk]
test eax, eax
jne 0x14004dd69
mov byte [rsp + 0x30], 0
jmp 0x14004ddbe
movzx eax, word [rsp + 0xd6]
cmp eax, 4
jne 0x14004dd47
mov eax, dword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
cmp dword [rax], 0xabababab
jne 0x14004ddad
mov dword [rsp + 0x48], 1
jmp 0x14004ddb5
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x14004de11
mov rax, qword gs:[0x60]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp byte [rax + 2], 0
je 0x14004dded
mov byte [rsp + 0x31], 1
jmp 0x14004ddf2
mov byte [rsp + 0x31], 0
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x14004de11
call fcn.14004d6c0
movzx eax, al
test eax, eax
jne 0x14004de11
mov dword [rsp + 0x4c], 0
jmp 0x14004de19
mov dword [rsp + 0x4c], 1
movzx eax, byte [rsp + 0x4c]
add rsp, 0xf0
pop rdi
ret