Function at 0x448020
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x40]
xor esi, esi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x448080
mov eax, dword [ebp + 8]
mov ecx, esi
mov dword [eax], ecx
mov edx, esi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], esi
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov ebx, edi
mov dword [esp + 0x30], 0xffffd8f0
jmp 0x4480a0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x30]
cmp eax, 0xffffd8f0
jae 0x4480a0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov esi, eax
cmp esi, 0x7fffffff
je 0x4480e4
mov eax, dword [esp + 0x18]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x32
jae 0x448117
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
rdtsc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x32
jb 0x4480f5
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
rdtsc
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov ecx, eax
sub ecx, edi
cmp ecx, 0x3e8
jb 0x448123
cmp esi, 0x7fffffff
je 0x448160
mov edx, dword [esp + 0x18]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
sub eax, ecx
mov ecx, dword [esp + 0x40]
mov esi, eax
sub edi, edx
mov eax, 0xcccccccd
mul ecx
shr edx, 3
test edx, edx
jne 0x448197
inc ecx
mov eax, 0xcccccccd
mul ecx
shr edx, 3
test edx, edx
je 0x448184
mov dword [esp + 0x40], ecx
mov eax, 0xcccccccd
imul esi, esi, 0x186a0
mul ecx
mov eax, edx
shr eax, 3
mov dword [esp + 0x2c], eax
xor edx, edx
mov eax, esi
mov esi, dword [esp + 0x2c]
div esi
add dword [esp + 0x1c], edi
xor edx, edx
mov esi, eax
add dword [esp + 0x10], esi
mov eax, esi
div ecx
shr ecx, 1
cmp edx, ecx
jbe 0x4481ce
inc esi
test esi, esi
je 0x4482a4
mov eax, edi
xor edx, edx
div esi
shr esi, 1
cmp edx, esi
mov edi, eax
jbe 0x4481e5
inc edi
mov eax, dword [esp + 0x20]
lea ecx, [eax + ebx]
mov eax, dword [esp + 0x14]
add ecx, edi
cmp eax, 3
jl 0x448080
cmp eax, 0x14
jge 0x44823d
lea eax, [edi + edi*2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x448080
lea eax, [ebx + ebx*2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x448080
mov eax, dword [esp + 0x20]
lea eax, [eax + eax*2]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x448080
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x448251
mov dword [esp + 0x10], 1
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esi + esi*4]
shl eax, 1
div edi
xor edx, edx
mov ecx, eax
mov eax, esi
imul eax, eax, 0x64
div edi
lea edx, [ecx + ecx*4]
shl edx, 1
sub eax, edx
cmp eax, 6
jb 0x448276
inc ecx
xor edx, edx
mov eax, esi
div edi
lea ebx, [eax + eax*4]
shl ebx, 1
sub ecx, ebx
cmp ecx, 6
mov edx, eax
jb 0x44828d
lea edx, [eax + 1]
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor ecx, ecx
pop edi
mov dword [eax + 8], ecx
pop esi
mov dword [eax + 0xc], ecx
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret