Function at 0x10069920
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, 0xb0
mov eax, dword [0x100dc008]
xor eax, esp
mov dword [esp + 0xac], eax
push ebx
mov ebx, ecx
push esi
mov eax, dword [ebx + 0x504]
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetCapture]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetClipboardViewer]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
mov ecx, ebx
call fcn.10069780
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetFocus]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetInputState]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetMessageTime]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
mov ecx, ebx
call fcn.10069780
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
mov ecx, ebx
call fcn.10069780
push 0x1cbf
call dword [sym.imp.USER32.dll_GetQueueStatus]
push eax
mov ecx, ebx
call fcn.10069780
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
push 8
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.100698a0
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 8
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.100698a0
lea eax, [esp + 0x94]
mov dword [esp + 0x94], 0x20
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
push 0x20
lea eax, [esp + 0x98]
mov ecx, ebx
push eax
call fcn.100698a0
call esi
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadTimes]
push 8
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.100698a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
push 8
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x34]
mov ecx, ebx
push eax
call fcn.100698a0
push 8
lea eax, [esp + 0x3c]
mov ecx, ebx
push eax
call fcn.100698a0
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessWorkingSetSize]
push dword [esp + 8]
mov ecx, ebx
call fcn.10069780
push dword [esp + 0xc]
mov ecx, ebx
call fcn.10069780
cmp dword [0x100e41bc], 0
jne 0x10069bb2
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
push 0x44
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.100698a0
mov dword [0x100e41bc], 1
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x10069bc9
push 8
lea eax, [esp + 0x44]
jmp 0x10069bd9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push 4
push eax
mov ecx, ebx
call fcn.100698a0
cmp dword [ebx + 0x510], 0
je 0x10069c13
lea esi, [ebx + 0x280]
push esi
push 0x280
push dword [ebx + 0x50c]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x10069c13
push 0x280
push esi
mov ecx, ebx
call fcn.100698a0
mov ecx, ebx
call fcn.10069ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xb4]
pop esi
mov dword [ebx + 0x504], eax
pop ebx
xor ecx, esp
call fcn.1007bfb0
mov esp, ebp
pop ebp
ret