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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x57ec0c]
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardViewer]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.004bf620
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
add esp, 4
call esi
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetInputState]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetMessageTime]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call fcn.004bf620
add esp, 4
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call fcn.004bf620
add esp, 4
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
push eax
call fcn.004bf620
add esp, 4
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
push 8
lea eax, [ebp - 0x3c]
push eax
call fcn.004bf2e0
add esp, 8
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x3c]
push 8
push eax
call fcn.004bf2e0
add esp, 8
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
lea eax, [ebp - 0x24]
push 0x20
push eax
call fcn.004bf2e0
add esp, 8
call esi
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_GetThreadTimes]
lea eax, [ebp - 0x44]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x4c]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x5c]
push 8
push eax
call fcn.004bf2e0
add esp, 0x20
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcessTimes]
lea eax, [ebp - 0x44]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x4c]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x54]
push 8
push eax
call fcn.004bf2e0
lea eax, [ebp - 0x5c]
push 8
push eax
call fcn.004bf2e0
add esp, 0x20
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcessWorkingSetSize]
push dword [ebp - 0x28]
call fcn.004bf620
push dword [ebp - 0x2c]
call fcn.004bf620
add esp, 8
cmp dword [0x57ec68], 0
pop esi
jne 0x4bf9c4
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0x44
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
lea eax, [ebp - 0xa8]
push 0x44
push eax
call fcn.004bf2e0
add esp, 8
mov dword [0x57ec68], 1
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
test eax, eax
je 0x4bf9d9
push 8
lea eax, [ebp - 0x64]
jmp 0x4bf9e7
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 4
push eax
call fcn.004bf2e0
add esp, 8
cmp dword [0x57ec48], 0
je 0x4bfa25
push 0x57eac8
push 0x140
push dword [0x57ec4c]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x4bfa25
push 0x140
push 0x57eac8
call fcn.004bf2e0
add esp, 8
call fcn.004c03c0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov dword [0x57ec0c], eax
xor ecx, ebp
mov eax, 1
call fcn.004e1f40
mov esp, ebp
pop ebp
ret