Function at 0x10002ce0
Capabilities:
Hide thread from debugger

Disassembly:
sub esp, 0xc
push esi
push edi
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.ZwQueryInformationProcess
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0
mov esi, eax
push 4
lea eax, [esp + 0x18]
push eax
push 7
call edi
push eax
call esi
test eax, eax
jne 0x1000291f
cmp dword [esp + 0x10], eax
je 0x100028d9
pop edi
mov eax, 1
pop esi
add esp, 0xc
ret
push 0
push 4
lea ecx, [esp + 0x10]
push ecx
push 0x1e
mov dword [esp + 0x18], 0
call edi
push eax
call esi
test eax, eax
jne 0x1000291f
cmp dword [esp + 8], eax
jne 0x100028ce
push eax
push 4
lea edx, [esp + 0x14]
push edx
push 0x1f
mov dword [esp + 0x1c], eax
call edi
push eax
call esi
test eax, eax
jne 0x1000291f
cmp dword [esp + 0xc], eax
pop edi
sete al
pop esi
add esp, 0xc
ret
pop edi
xor eax, eax
pop esi
add esp, 0xc
ret
call fcn.10002990
cmp eax, 6
jl 0x10002a42
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x18]
add eax, 0x40
mov edx, 2
cmp edx, dword [eax]
sbb eax, eax
neg eax
ret
mov ecx, dword fs:[0x30]
mov eax, dword [ecx + 0x18]
add eax, 0xc
mov edx, 2
cmp edx, dword [eax]
sbb eax, eax
neg eax
ret
sub esp, 0x124
mov eax, dword [0x100b0380]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
push str.RtlGetVersion
push 0x1009e95c
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov esi, eax
test esi, esi
je 0x10002e3f
push 0x11c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.1007dcf0
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x10], 0x11c
call esi
cmp dword [esp + 0x10], 5
jne 0x10002d53
cmp dword [esp + 0x14], 1
je 0x10002e3f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.NtSetInformationThread
push 0x1009e95c
call ebx
push eax
call edi
push str.NtQueryInformationThread
push 0x1009e95c
mov esi, eax
call ebx
push eax
call edi
push 4
lea edx, [esp + 0x13]
push edx
push 0x11
push 0xfffffffffffffffe
mov edi, eax
call esi
pop ebx
test eax, eax
jl 0x10002db7
push str.Anti_Anti_Debug_Tool_detected_1__n
call fcn.10079a5e
add esp, 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10079a05
add esp, 0x124
ret
push 0
push 0
push 0x11
push 0xfffff
call esi
test eax, eax
jl 0x10002df1
push str.Anti_Anti_Debug_Tool_detected_2__n
call fcn.10079a5e
add esp, 4
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10079a05
add esp, 0x124
ret
push 0
push 0
push 0x11
push 0xfffffffffffffffe
call esi
test eax, eax
jl 0x10002e58
push 0
push 1
lea eax, [esp + 0x13]
push eax
push 0x11
push 0xfffffffffffffffe
call edi
test eax, eax
jl 0x10002e32
xor eax, eax
cmp byte [esp + 0xb], al
pop edi
sete al
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10079a05
add esp, 0x124
ret
push str.Query_ThreadHideFromDebugger_not_available__n
call fcn.10079a5e
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10079a05
add esp, 0x124
ret
push str.Anti_Anti_Debug_Tool_detected_4__n
call fcn.10079a5e
mov ecx, dword [esp + 0x12c]
add esp, 4
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.10079a05
add esp, 0x124
ret
push ecx
mov eax, dword [0x100db78c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push eax
call esi
mov ecx, dword [0x100db790]
push ecx
call esi
mov edx, dword [0x100db794]
push edx
call esi
pop esi
cmp edi, 0xb
ja case.0x10002eb8.1
jmp dword [edi*4 + 0x10002f24]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
pop ecx
ret
add esp, 4
jmp fcn.10002870
add esp, 4
jmp 0x10002890
add esp, 4
jmp fcn.10002be0
add esp, 4
jmp fcn.10002870
add esp, 4
jmp 0x10002a20
lea eax, [esp]
push eax
mov dword [esp + 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
mov eax, dword [esp]
pop ecx
ret
add esp, 4
jmp 0x10002ce0
call fcn.10002930
xor eax, eax
pop ecx
ret