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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x4f4
call fcn.05acf3e0
mov eax, dword [0x5b920e8]
xor eax, esp
mov dword [esp + 0x4f0], eax
push ebx
push esi
push edi
lea eax, [esp + 0xd0]
xor esi, esi
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0xd4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.DLL
call ebx
push str.KERNEL32.DLL
mov dword [esp + 0x2c], eax
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 0x5a56dcf
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov dword [esp + 0x40], eax
call esi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x5a56dc8
test eax, eax
je 0x5a56dc8
lea edx, [esp + 0x20]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x5a56d85
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ae28]
mov eax, dword [esp + 0x28]
fstp qword [esp]
push 0xd8
push eax
call fcn.05a32960
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ecx
call dword [esp + 0x28]
lea edx, [esp + 0x20]
push edx
push 0
push 0
push str.LanmanServer
push 0
call dword [esp + 0x4c]
test eax, eax
jne 0x5a56dc8
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ae00]
mov eax, dword [esp + 0x28]
fstp qword [esp]
push 0x44
push eax
call fcn.05a32960
mov ecx, dword [esp + 0x30]
add esp, 0x10
push ecx
call dword [esp + 0x28]
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5a56ef1
push 0x5b3ade8
push eax
call esi
mov edx, dword [esp + 0x28]
push 0x5b3add8
push edx
mov ebx, eax
call esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push 0x5b3adc4
push eax
call esi
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x5a56ee6
cmp dword [esp + 0x20], 0
je 0x5a56ee6
test eax, eax
je 0x5a56ee6
push 0xf0000000
push 1
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
call ebx
test eax, eax
je 0x5a56e81
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x4b8]
push edx
push 0x40
push eax
call dword [esp + 0x2c]
test eax, eax
je 0x5a56e76
mov eax, 8
call fcn.05acf3e0
fldz
fstp qword [esp]
lea ecx, [esp + 0x4c0]
push 0x40
push ecx
call fcn.05a32960
add esp, 0x10
mov dword [esp + 0x30], 1
mov edx, dword [esp + 0x34]
push 0
push edx
call dword [esp + 0x2c]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea eax, [esp + 0x44]
push eax
call ebx
test eax, eax
je 0x5a56ee6
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x4b8]
push ecx
push 0x40
push edx
call dword [esp + 0x2c]
test eax, eax
je 0x5a56edb
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ad60]
fstp qword [esp]
lea eax, [esp + 0x4c0]
push 0x40
push eax
call fcn.05a32960
add esp, 0x10
mov dword [esp + 0x30], 1
mov ecx, dword [esp + 0x34]
push 0
push ecx
call dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [esp + 0xe0], 2
jne 0x5a56f08
call fcn.05a39430
test eax, eax
jne 0x5a57005
push 0x5b3ad54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x5a57005
push str.GetForegroundWindow
push ebx
call esi
push str.GetCursorInfo
push ebx
mov dword [esp + 0x34], eax
call esi
push 0x5b3ad20
push ebx
mov dword [esp + 0x44], eax
call esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5a56f6d
call eax
mov dword [esp + 0x2c], eax
mov eax, 8
call fcn.05acf3e0
fldz
fstp qword [esp]
lea eax, [esp + 0x34]
push 4
push eax
call fcn.05a32960
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x5a56fcd
cmp dword [esp + 0xe0], 2
jne 0x5a56f89
cmp dword [esp + 0xd4], 5
jb 0x5a56fcd
lea ecx, [esp + 0x80]
push ecx
mov dword [esp + 0x84], 0x14
call eax
test eax, eax
je 0x5a56fcd
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ad18]
mov edx, dword [esp + 0x88]
fstp qword [esp]
push edx
lea eax, [esp + 0x8c]
push eax
call fcn.05a32960
add esp, 0x10
mov eax, dword [esp + 0x40]
test eax, eax
je 0x5a56ffe
push 0xbf
call eax
mov dword [esp + 0x44], eax
mov eax, 8
call fcn.05acf3e0
fld1
fstp qword [esp]
lea ecx, [esp + 0x4c]
push 4
push ecx
call fcn.05a32960
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x5a5737e
push str.CreateToolhelp32Snapshot
push edi
mov dword [esp + 0x28], 0
call esi
push str.CloseToolhelp32Snapshot
push edi
mov ebx, eax
call esi
push str.Heap32First
push edi
mov dword [esp + 0x60], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x40], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x30], eax
call esi
push str.Heap32ListNext
push edi
mov dword [esp + 0x2c], eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x50], 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 + 0x48], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x44], eax
call esi
push 0x5b3ac48
push edi
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x54], eax
test ebx, ebx
je 0x5a57377
cmp dword [esp + 0x38], 0
je 0x5a57377
cmp dword [esp + 0x28], 0
je 0x5a57377
cmp dword [esp + 0x24], 0
je 0x5a57377
cmp dword [esp + 0x48], 0
je 0x5a57377
cmp dword [esp + 0x4c], 0
je 0x5a57377
cmp dword [esp + 0x50], 0
je 0x5a57377
cmp dword [esp + 0x40], 0
je 0x5a57377
cmp dword [esp + 0x3c], 0
je 0x5a57377
cmp dword [esp + 0x2c], 0
je 0x5a57377
test eax, eax
je 0x5a57377
push 0
push 0xf
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x5a57377
cmp dword [esp + 0x30], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x80], 0x10
je 0x5a5714a
call ebx
add eax, 0x3e8
mov dword [esp + 0x20], eax
lea edx, [esp + 0x80]
push edx
push esi
call dword [esp + 0x2c]
test eax, eax
je 0x5a5720e
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ac40]
mov eax, dword [esp + 0x88]
fstp qword [esp]
push eax
lea ecx, [esp + 0x8c]
push ecx
call fcn.05a32960
mov edx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
add esp, 0x10
push edx
push eax
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], 0x24
call dword [esp + 0x44]
test eax, eax
je 0x5a571f1
mov ebx, 0x50
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ac38]
mov edx, dword [esp + 0x64]
fstp qword [esp]
push edx
lea eax, [esp + 0x68]
push eax
call fcn.05a32960
add esp, 0x10
lea ecx, [esp + 0x5c]
push ecx
call dword [esp + 0x2c]
test eax, eax
je 0x5a571eb
dec ebx
test ebx, ebx
jg 0x5a571b4
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [esp + 0x80]
push edx
push esi
call dword [esp + 0x50]
test eax, eax
je 0x5a5720e
call ebx
cmp eax, dword [esp + 0x20]
jb 0x5a5715f
cmp dword [esp + 0x30], 0
mov dword [esp + 0x168], 0x128
je 0x5a5722b
call ebx
add eax, 0x3e8
mov dword [esp + 0x20], eax
lea eax, [esp + 0x168]
push eax
push esi
call dword [esp + 0x54]
test eax, eax
je 0x5a57280
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ac30]
mov ecx, dword [esp + 0x170]
fstp qword [esp]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.05a32960
add esp, 0x10
lea eax, [esp + 0x168]
push eax
push esi
call dword [esp + 0x58]
test eax, eax
je 0x5a57280
call ebx
cmp eax, dword [esp + 0x20]
jb 0x5a5723c
cmp dword [esp + 0x30], 0
mov dword [esp + 0x94], 0x1c
je 0x5a5729d
call ebx
add eax, 0x3e8
mov dword [esp + 0x20], eax
lea ecx, [esp + 0x94]
push ecx
push esi
call dword [esp + 0x48]
test eax, eax
je 0x5a572f2
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ac28]
mov edx, dword [esp + 0x9c]
fstp qword [esp]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.05a32960
add esp, 0x10
lea ecx, [esp + 0x94]
push ecx
push esi
call dword [esp + 0x44]
test eax, eax
je 0x5a572f2
call ebx
cmp eax, dword [esp + 0x20]
jb 0x5a572ae
cmp dword [esp + 0x30], 0
mov dword [esp + 0x290], 0x224
je 0x5a5730f
call ebx
add eax, 0x3e8
mov dword [esp + 0x20], eax
lea edx, [esp + 0x290]
push edx
push esi
call dword [esp + 0x34]
test eax, eax
je 0x5a57364
mov eax, 8
call fcn.05acf3e0
fld qword [0x5b3ac30]
mov eax, dword [esp + 0x298]
fstp qword [esp]
push eax
lea ecx, [esp + 0x29c]
push ecx
call fcn.05a32960
add esp, 0x10
lea edx, [esp + 0x290]
push edx
push esi
call dword [esp + 0x5c]
test eax, eax
je 0x5a57364
call ebx
cmp eax, dword [esp + 0x20]
jb 0x5a57320
mov eax, dword [esp + 0x58]
push esi
test eax, eax
je 0x5a57371
call eax
jmp 0x5a57377
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.05a56c20
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.05acf3e0
fld1
fstp qword [esp]
lea ecx, [esp + 0xb8]
push 0x20
push ecx
call fcn.05a32960
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x44], eax
mov eax, 8
call fcn.05acf3e0
fld1
fstp qword [esp]
lea edx, [esp + 0x4c]
push 4
push edx
call fcn.05a32960
mov ecx, dword [esp + 0x50c]
add esp, 0x10
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret