Function at 0x401d30
Capabilities:
Check for debugger via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x364
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push edi
call esi
mov ecx, eax
call fcn.00401b20
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [esp + 0x2c]
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_CheckRemoteDebuggerPresent]
test eax, eax
je 0x401d71
cmp dword [esp + 0x2c], 0
jne 0x40210c
mov edi, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call edi
test eax, eax
jne 0x40210c
push 0x2cc
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.0048fd00
add esp, 0xc
mov dword [esp + 0xa0], 0x10010
lea eax, [esp + 0xa0]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x401def
cmp dword [esp + 0xa4], 0
jne 0x402111
cmp dword [esp + 0xa8], 0
jne 0x402111
cmp dword [esp + 0xac], 0
jne 0x402111
cmp dword [esp + 0xb0], 0
jne 0x402111
mov al, byte [0x7ffe02d4]
test al, 1
jne 0x40210c
shr al, 1
not al
test al, 1
je 0x40210c
call fcn.00401780
test eax, eax
jne 0x40210c
call fcn.004018f0
test eax, eax
jne 0x40210c
call fcn.00401970
test eax, eax
jne 0x40210c
call fcn.004017f0
test eax, eax
jne 0x40210c
call edi
test eax, eax
jne 0x40210c
call fcn.004019e0
test eax, eax
jne 0x40210c
push 0x1234
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x40210c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 6
jne 0x40210c
call fcn.00401730
test eax, eax
jne 0x40210c
call fcn.004014f0
test eax, eax
jne 0x40210c
call fcn.00401560
test eax, eax
jne 0x40210c
call fcn.004015d0
test eax, eax
jne 0x40210c
call fcn.00401640
test eax, eax
jne 0x40210c
call fcn.004016b0
test eax, eax
jne 0x40210c
mov eax, dword fs:[0x30]
cmp byte [eax + 2], 0
jne 0x402127
lea eax, [esp + 0x74]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x1c]
push eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
xor ecx, ecx
lea eax, [esp + 0x8c]
push 0xa
push eax
mov eax, dword [esp + 0x30]
sub ecx, ecx
sbb eax, dword [esp + 0x1c]
sub ecx, dword [esp + 0x18]
sbb eax, 0
add ecx, dword [esp + 0x2c]
adc eax, 0
push eax
push ecx
call fcn.004857f8
mov eax, dword [esp + 0x38]
xor ecx, ecx
add esp, 0x10
sub ecx, ecx
sbb eax, dword [esp + 0x14]
sub ecx, dword [esp + 0x10]
sbb eax, 0
add ecx, dword [esp + 0x24]
adc eax, 0
add ecx, 0xfffffc18
adc eax, 0xffffffff
test eax, eax
ja 0x40210c
jb 0x401f78
cmp ecx, 0x1312918
ja 0x40210c
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov eax, dword fs:[0x30]
test byte [eax + 0x68], 0x70
jne 0x40212c
push str._s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s_s
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov cx, word [0x49e000]
mov edi, eax
movdqu xmm0, xmmword [str.IglZnWjrtyjGwjfpns]
mov word [esp + 0x40], cx
xor edx, edx
mov cl, byte [0x49e002]
mov byte [esp + 0x42], cl
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], edi
lea esi, [ecx + 1]
movdqu xmmword [esp + 0x30], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x401fe7
sub ecx, esi
test ecx, ecx
jle 0x40200e
add byte [esp + edx + 0x30], 0xfb
lea ecx, [esp + 0x30]
inc edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402001
sub ecx, esi
cmp edx, ecx
jl 0x401ff4
lea eax, [esp + 0x30]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call edi
push 0
push 6
push 0x4011c0
push eax
call ebx
push eax
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
movdqu xmm0, xmmword [str.SyVzjwNsktwrfyntsUwthjxx]
mov ax, word [0x49e01c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], 0
lea esi, [ecx + 1]
movdqu xmmword [esp + 0x50], xmm0
xor edx, edx
mov word [esp + 0x68], ax
movq xmm0, qword [0x49e014]
movq qword [esp + 0x60], xmm0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402075
sub ecx, esi
test ecx, ecx
jle 0x40209d
add byte [esp + edx + 0x50], 0xfb
lea eax, [esp + 0x50]
inc edx
lea esi, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x402090
sub eax, esi
cmp edx, eax
jl 0x402082
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x20]
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
push 0
push 4
lea eax, [esp + 0x28]
push eax
push 7
call ebx
push eax
call esi
test eax, eax
jne 0x4020ca
cmp dword [esp + 0x20], eax
jne 0x402131
lea eax, [esp + 0x50]
mov dword [esp + 0x18], 0
push eax
push dword [esp + 0x20]
call edi
push 0
mov esi, eax
lea eax, [esp + 0x1c]
push 4
push eax
push 0x1e
call ebx
push eax
call esi
cmp dword [esp + 0x18], 0
jne 0x402136
call fcn.004011f0
call fcn.00401410
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004011d0
lea eax, [esp + 0xa0]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
call fcn.004011d0
call fcn.004011d0
call fcn.004011d0
call fcn.004011d0
call fcn.004011d0
int3