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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0xb4
call fcn.00461520
mov eax, dword [0x5d6c64]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.ADVAPI32.DLL
mov dword [esp + 0x38], 0
call esi
mov ebx, eax
push str.KERNEL32.DLL
mov dword [esp + 0x3c], ebx
call esi
push str.NETAPI32.DLL
mov dword [esp + 0x44], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x4f6d04
push str.NetStatisticsGet
push edi
call esi
push str.NetApiBufferFree
push edi
mov ebx, eax
call esi
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x4f6cf9
test eax, eax
je 0x4f6cf9
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ebx
test eax, eax
jne 0x4f6cb8
mov eax, 8
call fcn.00461520
fld qword [0x5a9010]
mov ecx, dword [esp + 0x34]
fstp qword [esp]
push 0xd8
push ecx
call fcn.00499200
mov edx, dword [esp + 0x3c]
add esp, 0x10
push edx
call dword [esp + 0x34]
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push str.LanmanServer
push 0
call ebx
test eax, eax
jne 0x4f6cf9
mov eax, 8
call fcn.00461520
fld qword [0x5a8fe8]
mov ecx, dword [esp + 0x34]
fstp qword [esp]
push 0x44
push ecx
call fcn.00499200
mov edx, dword [esp + 0x3c]
add esp, 0x10
push edx
call dword [esp + 0x34]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x4f6e00
push str.CryptAcquireContextW
push ebx
call esi
push str.CryptGenRandom
push ebx
mov edi, eax
call esi
push str.CryptReleaseContext
push ebx
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x30], eax
test edi, edi
je 0x4f6df9
cmp dword [esp + 0x2c], 0
je 0x4f6df9
test eax, eax
je 0x4f6df9
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
test eax, eax
je 0x4f6d9f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x78]
push ecx
push 0x40
push edx
call dword [esp + 0x38]
test eax, eax
je 0x4f6d94
mov eax, 8
call fcn.00461520
fldz
fstp qword [esp]
lea eax, [esp + 0x80]
push 0x40
push eax
call fcn.00499200
add esp, 0x10
mov ecx, dword [esp + 0x34]
push 0
push ecx
call dword [esp + 0x38]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea edx, [esp + 0x44]
push edx
call edi
test eax, eax
je 0x4f6df9
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push 0x40
push ecx
call dword [esp + 0x38]
test eax, eax
je 0x4f6dee
mov eax, 8
call fcn.00461520
fld qword [0x5a8f48]
fstp qword [esp]
lea edx, [esp + 0x80]
push 0x40
push edx
call fcn.00499200
add esp, 0x10
mov eax, dword [esp + 0x34]
push 0
push eax
call dword [esp + 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4f6e1a
call fcn.004b86f0
test eax, eax
jne 0x4f6f02
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4f6f02
push str.GetForegroundWindow
push edi
call esi
push str.GetCursorInfo
push edi
mov ebx, eax
call esi
push str.GetQueueStatus
push edi
mov dword [esp + 0x38], eax
call esi
mov esi, eax
test ebx, ebx
je 0x4f6e77
call ebx
mov dword [esp + 0x38], eax
mov eax, 8
call fcn.00461520
fldz
fstp qword [esp]
lea ecx, [esp + 0x40]
push 4
push ecx
call fcn.00499200
add esp, 0x10
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x4f6ece
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x4f6e96
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x4f6ece
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], 0x14
call ebx
test eax, eax
je 0x4f6ece
mov eax, 8
call fcn.00461520
fld qword [0x57ad08]
mov eax, dword [esp + 0x4c]
fstp qword [esp]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00499200
add esp, 0x10
test esi, esi
je 0x4f6efb
push 0xbf
call esi
mov dword [esp + 0x3c], eax
mov eax, 8
call fcn.00461520
fld1
fstp qword [esp]
lea edx, [esp + 0x44]
push 4
push edx
call fcn.00499200
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4f6f11
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004f6b70
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.00461520
fld1
fstp qword [esp]
lea ecx, [esp + 0x60]
push 0x20
push ecx
call fcn.00499200
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x3c], eax
mov eax, 8
call fcn.00461520
fld1
fstp qword [esp]
lea edx, [esp + 0x44]
push 4
push edx
call fcn.00499200
mov ecx, dword [esp + 0xcc]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.004610a0
mov esp, ebp
pop ebp
ret