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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x870
push ebx
push ebp
xor eax, eax
push esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
push edi
lea eax, [esp + 0x110]
push eax
mov dword [esp + 0x114], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.ADVAPI32.DLL
call esi
mov ebp, eax
push str.KERNEL32.DLL
mov dword [esp + 0x30], ebp
call esi
push str.NETAPI32.DLL
mov edi, eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x485f55
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov ebp, eax
call esi
mov dword [esp + 0x24], eax
test ebp, ebp
je 0x485f4a
test eax, eax
je 0x485f4a
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
push str.LanmanWorkstation
push 0
call ebp
test eax, eax
jne 0x485f10
fld qword [0x631780]
mov edx, dword [esp + 0x20]
sub esp, 8
mov ecx, 0xd8
fstp qword [esp]
call fcn.0045d3c0
mov edx, dword [esp + 0x28]
add esp, 8
push edx
call dword [esp + 0x28]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push str.LanmanServer
push 0
call ebp
test eax, eax
jne 0x485f4a
fld qword [0x631778]
mov edx, dword [esp + 0x20]
sub esp, 8
lea ecx, [eax + 0x44]
fstp qword [esp]
call fcn.0045d3c0
mov ecx, dword [esp + 0x28]
add esp, 8
push ecx
call dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x48605d
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 + 0x2c], eax
call esi
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x486056
cmp dword [esp + 0x24], 0
je 0x486056
test eax, eax
je 0x486056
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x40]
push edx
call ebx
test eax, eax
je 0x485ff6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xb0]
push eax
push 0x40
push ecx
call dword [esp + 0x30]
test eax, eax
je 0x485feb
fldz
sub esp, 8
mov ecx, 0x40
fstp qword [esp]
lea edx, [esp + 0xb8]
call fcn.0045d3c0
add esp, 8
mov dword [esp + 0x28], 1
mov edx, dword [esp + 0x30]
push 0
push edx
call dword [esp + 0x28]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x40]
push eax
call ebx
test eax, eax
je 0x486056
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0xb0]
push ecx
push 0x40
push edx
call dword [esp + 0x30]
test eax, eax
je 0x48604b
fld qword [0x631770]
sub esp, 8
mov ecx, 0x40
fstp qword [esp]
lea edx, [esp + 0xb8]
call fcn.0045d3c0
add esp, 8
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x30]
push 0
push eax
call dword [esp + 0x28]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0x120], 2
jne 0x486074
call fcn.0045d110
test eax, eax
jne 0x486176
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
je 0x486176
push str.GetForegroundWindow
push ebp
call esi
push 0x630318
push ebp
mov ebx, eax
call esi
push str.GetQueueStatus
push ebp
mov dword [esp + 0x40], eax
call esi
mov dword [esp + 0x34], eax
test ebx, ebx
je 0x4860e3
call ebx
mov dword [esp + 0x2c], eax
mov eax, dword [0x656b20]
test eax, eax
jne 0x4860c8
mov eax, 0x649ce8
mov dword [0x656b20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4860e3
fldz
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x34]
push 4
push ecx
call eax
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48612e
cmp dword [esp + 0x120], 2
jne 0x4860ff
cmp dword [esp + 0x114], 5
jb 0x48612e
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x5c], 0x14
call eax
test eax, eax
je 0x48612e
fld qword [0x631698]
mov ecx, dword [esp + 0x58]
sub esp, 8
lea edx, [esp + 0x60]
fstp qword [esp]
call fcn.0045d3c0
add esp, 8
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48616f
push 0xbf
call eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x656b20]
test eax, eax
jne 0x486154
mov eax, 0x649ce8
mov dword [0x656b20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48616f
fld1
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0x44]
push 4
push ecx
call eax
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x4864c3
push 0x630338
push edi
xor ebx, ebx
call esi
push str.CloseToolhelp32Snapshot
push edi
mov ebp, eax
call esi
push str.Heap32First
push edi
mov dword [esp + 0x74], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x5c], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x58], eax
call esi
push str.Heap32ListNext
push edi
mov dword [esp + 0x2c], eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x4c], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x50], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x54], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x48], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x3c], eax
call esi
push str.Module32Next
push edi
mov dword [esp + 0x40], eax
call esi
mov dword [esp + 0x2c], eax
test ebp, ebp
je 0x4864bc
cmp dword [esp + 0x54], ebx
je 0x4864bc
cmp dword [esp + 0x50], ebx
je 0x4864bc
cmp dword [esp + 0x24], ebx
je 0x4864bc
cmp dword [esp + 0x44], ebx
je 0x4864bc
cmp dword [esp + 0x48], ebx
je 0x4864bc
cmp dword [esp + 0x4c], ebx
je 0x4864bc
cmp dword [esp + 0x40], ebx
je 0x4864bc
cmp dword [esp + 0x34], ebx
je 0x4864bc
cmp dword [esp + 0x38], ebx
je 0x4864bc
test eax, eax
je 0x4864bc
push ebx
push 0xf
call ebp
mov esi, eax
mov dword [esp + 0x20], esi
cmp esi, 0xffffffff
je 0x4864bc
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x58], 0x10
cmp dword [esp + 0x28], ebx
je 0x4862aa
call ebp
mov ebx, eax
add ebx, 0x3e8
lea edx, [esp + 0x58]
push edx
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x486367
fld qword [0x631768]
mov ecx, dword [esp + 0x58]
sub esp, 8
lea edx, [esp + 0x60]
fstp qword [esp]
call fcn.0045d3c0
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
add esp, 8
push eax
push ecx
lea edx, [esp + 0x94]
push edx
mov dword [esp + 0x98], 0x24
call dword [esp + 0x60]
test eax, eax
je 0x486347
mov esi, 0x50
jmp 0x486310
fld qword [0x631760]
mov ecx, dword [esp + 0x8c]
sub esp, 8
lea edx, [esp + 0x94]
fstp qword [esp]
call fcn.0045d3c0
add esp, 8
lea eax, [esp + 0x8c]
push eax
call dword [esp + 0x54]
test eax, eax
je 0x486347
dec esi
test esi, esi
jg 0x486310
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x58]
push ecx
push edx
call dword [esp + 0x4c]
test eax, eax
je 0x486363
call ebp
cmp eax, ebx
jb 0x4862bc
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x228], 0x22c
je 0x486383
call ebp
mov ebx, eax
add ebx, 0x3e8
lea eax, [esp + 0x228]
push eax
push esi
call dword [esp + 0x50]
test eax, eax
je 0x4863d7
mov esi, dword [esp + 0x4c]
fld qword [0x631758]
mov ecx, dword [esp + 0x228]
sub esp, 8
lea edx, [esp + 0x230]
fstp qword [esp]
call fcn.0045d3c0
mov edx, dword [esp + 0x28]
add esp, 8
lea ecx, [esp + 0x228]
push ecx
push edx
call esi
test eax, eax
je 0x4863d3
call ebp
cmp eax, ebx
jb 0x486398
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x70], 0x1c
je 0x4863f0
call ebp
mov ebx, eax
add ebx, 0x3e8
lea eax, [esp + 0x70]
push eax
push esi
call dword [esp + 0x48]
test eax, eax
je 0x486438
mov esi, dword [esp + 0x34]
fld qword [0x631750]
mov ecx, dword [esp + 0x70]
sub esp, 8
lea edx, [esp + 0x78]
fstp qword [esp]
call fcn.0045d3c0
mov edx, dword [esp + 0x28]
add esp, 8
lea ecx, [esp + 0x70]
push ecx
push edx
call esi
test eax, eax
je 0x486434
call ebp
cmp eax, ebx
jb 0x486402
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x28], 0
mov dword [esp + 0x458], 0x428
je 0x486454
call ebp
mov ebx, eax
add ebx, 0x3e8
lea eax, [esp + 0x458]
push eax
push esi
call dword [esp + 0x40]
test eax, eax
je 0x4864a9
jmp 0x486470
fld qword [0x631758]
mov ecx, dword [esp + 0x458]
sub esp, 8
lea edx, [esp + 0x460]
fstp qword [esp]
call fcn.0045d3c0
add esp, 8
lea ecx, [esp + 0x458]
push ecx
push esi
call dword [esp + 0x34]
test eax, eax
je 0x4864a9
call ebp
cmp eax, ebx
jb 0x486470
mov eax, dword [esp + 0x6c]
push esi
test eax, eax
je 0x4864b6
call eax
jmp 0x4864bc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00486550
lea edx, [esp + 0xf0]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [0x656b20]
test eax, eax
jne 0x4864e9
mov eax, 0x649ce8
mov dword [0x656b20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x486507
fld1
sub esp, 8
fstp qword [esp]
lea ecx, [esp + 0xf8]
push 0x20
push ecx
call eax
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x3c], eax
mov eax, dword [0x656b20]
test eax, eax
jne 0x486524
mov eax, 0x649ce8
mov dword [0x656b20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x48653f
fld1
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x44]
push 4
push edx
call eax
add esp, 0x10
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret