Function at 0x10001d30
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10007110
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x1000a364]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov dword [ebp - 0x18], 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
cmp eax, 1
jne 0x10001d9c
mov eax, dword [0x1000a794]
mov ecx, 1
cmp dword [ebp - 0x18], ecx
cmove eax, ecx
mov dword [0x1000a794], eax
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ntdll.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10001dee
push str.NtQueryInformationProcess
push eax
call esi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10001dee
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push 7
call ebx
push eax
call dword [ebp - 0x18]
test eax, eax
js 0x10001dee
mov eax, dword [0x1000a794]
mov ecx, 2
cmp dword [ebp - 0x1c], 0xffffffff
cmove eax, ecx
mov dword [0x1000a794], eax
push str.ntdll.dll
call edi
test eax, eax
je 0x10001e34
push str.NtQueryInformationProcess
push eax
call esi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10001e34
lea eax, [ebp - 0x20]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1f
call ebx
push eax
call dword [ebp - 0x1c]
test eax, eax
js 0x10001e34
mov eax, dword [0x1000a794]
mov ecx, 3
cmp dword [ebp - 0x18], 0
cmove eax, ecx
mov dword [0x1000a794], eax
push str.ntdll.dll
call edi
test eax, eax
je 0x10001e81
push str.NtQueryInformationProcess
push eax
call esi
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10001e81
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1e
call ebx
push eax
call dword [ebp - 0x1c]
test eax, eax
js 0x10001e81
mov eax, dword [0x1000a794]
mov ecx, 4
cmp dword [ebp - 0x18], 0
cmovne eax, ecx
mov dword [0x1000a794], eax
push str.ntdll.dll
call edi
push str.CsrGetProcessId
push eax
call esi
call eax
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
je 0x10001eb5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1000a794], 5
push 0x2c8
lea eax, [ebp - 0x2e8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2ec], 0x10010
lea eax, [ebp - 0x2ec]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10001f1b
cmp dword [ebp - 0x2e8], 0
jne 0x10001f11
cmp dword [ebp - 0x2e4], 0
jne 0x10001f11
cmp dword [ebp - 0x2e0], 0
jne 0x10001f11
cmp dword [ebp - 0x2dc], 0
je 0x10001f1b
mov dword [0x1000a794], 7
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10001f31
mov eax, 9
mov dword [0x1000a794], eax
jmp 0x10001f43
mov eax, dword [0x1000a794]
jmp 0x10001f43
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100055ea
mov esp, ebp
pop ebp
ret