Function at 0x5418b0
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.0046b300
mov eax, dword [0x703580]
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 0x5419c4
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 0x5419b9
test eax, eax
je 0x5419b9
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push str.LanmanWorkstation
push 0
call ebx
test eax, eax
jne 0x541978
mov eax, 8
call fcn.0046b300
fld qword [0x6a9d30]
mov ecx, dword [esp + 0x34]
fstp qword [esp]
push 0xd8
push ecx
call fcn.004d7410
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 0x5419b9
mov eax, 8
call fcn.0046b300
fld qword [0x6a9d08]
mov ecx, dword [esp + 0x34]
fstp qword [esp]
push 0x44
push ecx
call fcn.004d7410
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 0x541ac0
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 0x541ab9
cmp dword [esp + 0x2c], 0
je 0x541ab9
test eax, eax
je 0x541ab9
push 0xf0000000
push 1
push 0
push 0
lea eax, [esp + 0x44]
push eax
call edi
test eax, eax
je 0x541a5f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x78]
push ecx
push 0x40
push edx
call dword [esp + 0x38]
test eax, eax
je 0x541a54
mov eax, 8
call fcn.0046b300
fldz
fstp qword [esp]
lea eax, [esp + 0x80]
push 0x40
push eax
call fcn.004d7410
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 0x541ab9
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push 0x40
push ecx
call dword [esp + 0x38]
test eax, eax
je 0x541aae
mov eax, 8
call fcn.0046b300
fld qword [0x6a9c68]
fstp qword [esp]
lea edx, [esp + 0x80]
push 0x40
push edx
call fcn.004d7410
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 0x541ada
call fcn.00497900
test eax, eax
jne 0x541bc2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x541bc2
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 0x541b37
call ebx
mov dword [esp + 0x38], eax
mov eax, 8
call fcn.0046b300
fldz
fstp qword [esp]
lea ecx, [esp + 0x40]
push 4
push ecx
call fcn.004d7410
add esp, 0x10
mov ebx, dword [esp + 0x30]
test ebx, ebx
je 0x541b8e
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x541b56
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x541b8e
lea edx, [esp + 0x44]
push edx
mov dword [esp + 0x48], 0x14
call ebx
test eax, eax
je 0x541b8e
mov eax, 8
call fcn.0046b300
fld qword [0x67cd38]
mov eax, dword [esp + 0x4c]
fstp qword [esp]
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.004d7410
add esp, 0x10
test esi, esi
je 0x541bbb
push 0xbf
call esi
mov dword [esp + 0x3c], eax
mov eax, 8
call fcn.0046b300
fld1
fstp qword [esp]
lea edx, [esp + 0x44]
push 4
push edx
call fcn.004d7410
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x541bd1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.005416a0
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.0046b300
fld1
fstp qword [esp]
lea ecx, [esp + 0x60]
push 0x20
push ecx
call fcn.004d7410
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x3c], eax
mov eax, 8
call fcn.0046b300
fld1
fstp qword [esp]
lea edx, [esp + 0x44]
push 4
push edx
call fcn.004d7410
mov ecx, dword [esp + 0xcc]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00469ae8
mov esp, ebp
pop ebp
ret