Function at 0x41ab80
Capabilities:
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 [0x466e58]
push esi
push edi
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetClipboardViewer]
push eax
call fcn.0041a6e0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
add esp, 4
call esi
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.0041a6e0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
add esp, 4
call edi
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0041a6e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 4
call ebx
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetInputState]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetMessagePos]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetMessageTime]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetOpenClipboardWindow]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call fcn.0041a6e0
add esp, 4
call dword [sym.imp.USER32.dll_GetProcessWindowStation]
push eax
call fcn.0041a6e0
add esp, 4
push 0x4bf
call dword [sym.imp.USER32.dll_GetQueueStatus]
push eax
call fcn.0041a6e0
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.0041a390
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.0041a390
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.0041a390
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.0041a390
lea ecx, [esp + 0x1c]
push 8
push ecx
call fcn.0041a390
lea edx, [esp + 0x30]
push 8
push edx
call fcn.0041a390
lea eax, [esp + 0x44]
push 8
push eax
call fcn.0041a390
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.0041a390
lea eax, [esp + 0x1c]
push 8
push eax
call fcn.0041a390
lea ecx, [esp + 0x30]
push 8
push ecx
call fcn.0041a390
lea edx, [esp + 0x44]
push 8
push edx
call fcn.0041a390
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.0041a6e0
mov eax, dword [esp + 0x48]
push eax
call fcn.0041a6e0
mov eax, dword [0x466e88]
add esp, 8
test eax, eax
jne 0x41ae04
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.0041a390
add esp, 8
mov dword [0x466e88], 1
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x41ae1c
push 8
lea ecx, [esp + 0x4c]
push ecx
jmp 0x41ae29
call ebx
push 4
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
push edx
call fcn.0041a390
mov eax, dword [0x468ad8]
add esp, 8
test eax, eax
je 0x41ae61
push 0x468ae0
push 0x140
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x41ae61
push 0x140
push 0x468ae0
call fcn.0041a390
add esp, 8
call fcn.0041a230
pop edi
mov dword [0x466e58], ebp
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret