Function at 0x450250
Capabilities:
Check for time delay via gettickcount
Generate random numbers via winapi
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [0x4e0210]
push esi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardViewer]
push eax
call fcn.0044fdf0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 4
call esi
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0044fdf0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
add esp, 4
call edi
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0044fdf0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call ebx
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetInputState]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetMessageTime]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.0044fdf0
add esp, 4
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call fcn.0044fdf0
add esp, 4
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
push eax
call fcn.0044fdf0
add esp, 4
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
lea ecx, [esp + 0x3c]
push 8
push ecx
call fcn.0044fa70
add esp, 8
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x3c]
push 8
push eax
call fcn.0044fa70
add esp, 8
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x54], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
lea edx, [esp + 0x50]
push 0x20
push edx
call fcn.0044fa70
add esp, 8
call edi
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
lea eax, [esp + 0x34]
push 8
push eax
call fcn.0044fa70
lea ecx, [esp + 0x1c]
push 8
push ecx
call fcn.0044fa70
lea edx, [esp + 0x30]
push 8
push edx
call fcn.0044fa70
lea eax, [esp + 0x44]
push 8
push eax
call fcn.0044fa70
add esp, 0x20
call esi
lea ecx, [esp + 0x2c]
push ecx
mov esi, eax
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea edx, [esp + 0x34]
push 8
push edx
call fcn.0044fa70
lea eax, [esp + 0x1c]
push 8
push eax
call fcn.0044fa70
lea ecx, [esp + 0x30]
push 8
push ecx
call fcn.0044fa70
lea edx, [esp + 0x44]
push 8
push edx
call fcn.0044fa70
add esp, 0x20
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
mov edx, dword [esp + 0x1c]
push edx
call fcn.0044fdf0
mov eax, dword [esp + 0x48]
push eax
call fcn.0044fdf0
add esp, 8
cmp dword [0x4e0244], 0
jne 0x4504d4
lea ecx, [esp + 0x70]
push ecx
mov dword [esp + 0x74], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
lea edx, [esp + 0x70]
push 0x44
push edx
call fcn.0044fa70
add esp, 8
mov dword [0x4e0244], 1
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4504ec
push 8
lea ecx, [esp + 0x4c]
push ecx
jmp 0x4504f9
call ebx
push 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push edx
call fcn.0044fa70
add esp, 8
cmp dword [0x4e0234], 0
je 0x450536
mov eax, dword [0x4e3938]
push 0x4e00c8
push 0x140
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x450536
push 0x140
push 0x4e00c8
call fcn.0044fa70
add esp, 8
call fcn.0044f810
pop edi
mov dword [0x4e0210], ebp
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret