Function at 0x490f90
Capabilities:
Check os version
Get memory capacity
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x4f0
call fcn.00432dc0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x118]
xor esi, esi
push eax
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x11c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.DLL
call ebx
mov ebp, eax
push str.KERNEL32.DLL
mov dword [esp + 0x38], ebp
call ebx
push str.NETAPI32.DLL
mov edi, eax
call ebx
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
je 0x4910b0
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov ebp, eax
call esi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x4910a5
test eax, eax
je 0x4910a5
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call ebp
test eax, eax
jne 0x491064
mov eax, 8
call fcn.00432dc0
fld qword [0x4d68a8]
mov edx, dword [esp + 0x34]
fstp qword [esp]
push 0xd8
push edx
call fcn.0046c4e0
mov eax, dword [esp + 0x3c]
add esp, 0x10
push eax
call dword [esp + 0x34]
lea ecx, [esp + 0x2c]
push ecx
push 0
push 0
push str.LanmanServer
push 0
call ebp
test eax, eax
jne 0x4910a5
mov eax, 8
call fcn.00432dc0
fld qword [0x4d6880]
mov edx, dword [esp + 0x34]
fstp qword [esp]
push 0x44
push edx
call fcn.0046c4e0
mov eax, dword [esp + 0x3c]
add esp, 0x10
push eax
call dword [esp + 0x34]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x34]
test ebp, ebp
je 0x4911c2
push str.CryptAcquireContextW
push ebp
call esi
push str.CryptGenRandom
push ebp
mov ebx, eax
call esi
push str.CryptReleaseContext
push ebp
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x4911bb
cmp dword [esp + 0x2c], 0
je 0x4911bb
test eax, eax
je 0x4911bb
push 0xf0000000
push 1
push 0
push 0
lea ecx, [esp + 0x4c]
push ecx
call ebx
test eax, eax
je 0x491156
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0xd8]
push edx
push 0x40
push eax
call dword [esp + 0x38]
test eax, eax
je 0x49114b
mov eax, 8
call fcn.00432dc0
fldz
fstp qword [esp]
lea ecx, [esp + 0xe0]
push 0x40
push ecx
call fcn.0046c4e0
add esp, 0x10
mov dword [esp + 0x38], 1
mov edx, dword [esp + 0x3c]
push 0
push edx
call dword [esp + 0x38]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x4c]
push eax
call ebx
test eax, eax
je 0x4911bb
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xd8]
push ecx
push 0x40
push edx
call dword [esp + 0x38]
test eax, eax
je 0x4911b0
mov eax, 8
call fcn.00432dc0
fld qword [0x4d67e0]
fstp qword [esp]
lea eax, [esp + 0xe0]
push 0x40
push eax
call fcn.0046c4e0
add esp, 0x10
mov dword [esp + 0x38], 1
mov ecx, dword [esp + 0x3c]
push 0
push ecx
call dword [esp + 0x38]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x128], 2
jne 0x4911d9
call fcn.0045ea10
test eax, eax
jne 0x4912c4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x4912c4
push str.GetForegroundWindow
push ebx
call esi
push str.GetCursorInfo
push ebx
mov ebp, eax
call esi
push 0x4d67a8
push ebx
mov dword [esp + 0x48], eax
call esi
mov dword [esp + 0x44], eax
test ebp, ebp
je 0x491238
call ebp
mov dword [esp + 0x34], eax
mov eax, 8
call fcn.00432dc0
fldz
fstp qword [esp]
lea edx, [esp + 0x3c]
push 4
push edx
call fcn.0046c4e0
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49128c
cmp dword [esp + 0x128], 2
jne 0x491254
cmp dword [esp + 0x11c], 5
jb 0x49128c
lea ecx, [esp + 0x5c]
push ecx
mov dword [esp + 0x60], 0x14
call eax
test eax, eax
je 0x49128c
mov eax, 8
call fcn.00432dc0
fld qword [0x4d67a0]
mov edx, dword [esp + 0x64]
fstp qword [esp]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.0046c4e0
add esp, 0x10
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4912bd
push 0xbf
call eax
mov dword [esp + 0x48], eax
mov eax, 8
call fcn.00432dc0
fld1
fstp qword [esp]
lea ecx, [esp + 0x50]
push 4
push ecx
call fcn.0046c4e0
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x491611
push str.CreateToolhelp32Snapshot
push edi
xor ebp, ebp
call esi
push str.CloseToolhelp32Snapshot
push edi
mov ebx, eax
call esi
push str.Heap32First
push edi
mov dword [esp + 0x78], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x34], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x60], eax
call esi
push str.Heap32ListNext
push edi
mov dword [esp + 0x38], eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x5c], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x54], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x58], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x4c], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x48], eax
call esi
push 0x4d66d0
push edi
mov dword [esp + 0x3c], eax
call esi
mov dword [esp + 0x74], eax
test ebx, ebx
je 0x49160a
cmp dword [esp + 0x2c], ebp
je 0x49160a
cmp dword [esp + 0x58], ebp
je 0x49160a
cmp dword [esp + 0x30], ebp
je 0x49160a
cmp dword [esp + 0x54], ebp
je 0x49160a
cmp dword [esp + 0x4c], ebp
je 0x49160a
cmp dword [esp + 0x50], ebp
je 0x49160a
cmp dword [esp + 0x44], ebp
je 0x49160a
cmp dword [esp + 0x40], ebp
je 0x49160a
cmp dword [esp + 0x34], ebp
je 0x49160a
test eax, eax
je 0x49160a
push ebp
push 0xf
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x49160a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x5c], 0x10
cmp dword [esp + 0x38], ebp
je 0x4913f4
call esi
mov ebp, eax
add ebp, 0x3e8
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [esp + 0x38]
test eax, eax
je 0x4914b3
mov eax, 8
call fcn.00432dc0
fld qword [0x4d66c8]
mov eax, dword [esp + 0x64]
fstp qword [esp]
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.0046c4e0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
add esp, 0x10
push edx
push eax
lea ecx, [esp + 0x9c]
push ecx
mov dword [esp + 0xa0], 0x24
call dword [esp + 0x38]
test eax, eax
je 0x49149b
mov esi, 0x50
mov eax, 8
call fcn.00432dc0
fld qword [0x4d66c0]
mov edx, dword [esp + 0x9c]
fstp qword [esp]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.0046c4e0
add esp, 0x10
lea ecx, [esp + 0x94]
push ecx
call dword [esp + 0x5c]
test eax, eax
je 0x491495
dec esi
test esi, esi
jg 0x491455
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x5c]
push edx
push ebx
call dword [esp + 0x5c]
test eax, eax
je 0x4914b3
call esi
cmp eax, ebp
jb 0x491406
cmp dword [esp + 0x38], 0
mov dword [esp + 0x1b0], 0x128
je 0x4914cf
call esi
mov ebp, eax
add ebp, 0x3e8
lea eax, [esp + 0x1b0]
push eax
push ebx
call dword [esp + 0x54]
test eax, eax
je 0x491522
mov eax, 8
call fcn.00432dc0
fld qword [0x4d66b8]
mov ecx, dword [esp + 0x1b8]
fstp qword [esp]
push ecx
lea edx, [esp + 0x1bc]
push edx
call fcn.0046c4e0
add esp, 0x10
lea eax, [esp + 0x1b0]
push eax
push ebx
call dword [esp + 0x58]
test eax, eax
je 0x491522
call esi
cmp eax, ebp
jb 0x4914e0
cmp dword [esp + 0x38], 0
mov dword [esp + 0x78], 0x1c
je 0x49153b
call esi
mov ebp, eax
add ebp, 0x3e8
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [esp + 0x4c]
test eax, eax
je 0x491588
mov eax, 8
call fcn.00432dc0
fld qword [0x4d66b0]
mov edx, dword [esp + 0x80]
fstp qword [esp]
push edx
lea eax, [esp + 0x84]
push eax
call fcn.0046c4e0
add esp, 0x10
lea ecx, [esp + 0x78]
push ecx
push ebx
call dword [esp + 0x48]
test eax, eax
je 0x491588
call esi
cmp eax, ebp
jb 0x491549
cmp dword [esp + 0x38], 0
mov dword [esp + 0x2d8], 0x224
je 0x4915a4
call esi
mov ebp, eax
add ebp, 0x3e8
lea edx, [esp + 0x2d8]
push edx
push ebx
call dword [esp + 0x3c]
test eax, eax
je 0x4915f7
mov eax, 8
call fcn.00432dc0
fld qword [0x4d66b8]
mov eax, dword [esp + 0x2e0]
fstp qword [esp]
push eax
lea ecx, [esp + 0x2e4]
push ecx
call fcn.0046c4e0
add esp, 0x10
lea edx, [esp + 0x2d8]
push edx
push ebx
call dword [esp + 0x7c]
test eax, eax
je 0x4915f7
call esi
cmp eax, ebp
jb 0x4915b5
mov eax, dword [esp + 0x70]
push ebx
test eax, eax
je 0x491604
call eax
jmp 0x49160a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00490d90
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.00432dc0
fld1
fstp qword [esp]
lea ecx, [esp + 0xc0]
push 0x20
push ecx
call fcn.0046c4e0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x48], eax
mov eax, 8
call fcn.00432dc0
fld1
fstp qword [esp]
lea edx, [esp + 0x50]
push 4
push edx
call fcn.0046c4e0
add esp, 0x10
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret