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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4d0
call fcn.004bd0a0
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0xfc], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
mov esi, dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push str.ADVAPI32.DLL
call esi
push 0x561750
mov ebp, eax
call esi
push str.USER32.DLL
mov edi, eax
call esi
push str.NETAPI32.DLL
mov dword [esp + 0x20], eax
call esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4cb9a9
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov dword [esp + 0x28], eax
call esi
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov dword [esp + 0x14], eax
je 0x4cb9a2
test eax, eax
je 0x4cb9a2
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x4cb95f
fld qword [0x5493c8]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov eax, dword [esp + 0x18]
push 0xd8
push eax
call fcn.004c9a50
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.LanmanServer
push 0
call dword [esp + 0x34]
test eax, eax
jne 0x4cb9a2
fld qword [0x5493a0]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov eax, dword [esp + 0x18]
push 0x44
push eax
call fcn.004c9a50
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [esp + 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test ebp, ebp
je 0x4cbab0
push str.CryptAcquireContextA
push ebp
call esi
push str.CryptGenRandom
push ebp
mov ebx, eax
call esi
push str.CryptReleaseContext
push ebp
mov dword [esp + 0x18], eax
call esi
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x4cbaa9
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4cbaa9
test eax, eax
je 0x4cbaa9
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x28]
push edx
call ebx
test eax, eax
je 0x4cba4c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xb8]
push eax
push 0x40
push ecx
call dword [esp + 0x1c]
test eax, eax
je 0x4cba41
fld qword [0x5650d8]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea edx, [esp + 0xc0]
push 0x40
push edx
call fcn.004c9a50
add esp, 0x10
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [esp + 0x1c]
push 0
push 0x16
push 0x549330
push 0
lea ecx, [esp + 0x28]
push ecx
call ebx
test eax, eax
je 0x4cbaa9
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xb8]
push edx
push 0x40
push eax
call dword [esp + 0x1c]
test eax, eax
je 0x4cba9e
fld qword [0x549328]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea ecx, [esp + 0xc0]
push 0x40
push ecx
call fcn.004c9a50
add esp, 0x10
mov edx, dword [esp + 0x18]
push 0
push edx
call dword [esp + 0x1c]
push ebp
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
call fcn.004cb770
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
fld qword [0x540280]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea ecx, [esp + 0xa0]
push 0x20
push ecx
call fcn.004c9a50
add esp, 0x10
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
fld qword [0x540280]
mov dword [esp + 0x28], eax
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea edx, [esp + 0x30]
push 4
push edx
call fcn.004c9a50
mov ebp, dword [esp + 0x2c]
add esp, 0x10
test ebp, ebp
je 0x4cbbfe
push 0x549310
push ebp
call esi
push str.GetCursorInfo
push ebp
mov ebx, eax
call esi
push 0x5492f0
push ebp
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x4cbb6e
call ebx
fld qword [0x5650d8]
mov dword [esp + 0x4c], eax
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea eax, [esp + 0x54]
push 4
push eax
call fcn.004c9a50
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4cbbc2
cmp dword [esp + 0x108], 2
jne 0x4cbb8a
cmp dword [esp + 0xfc], 5
jb 0x4cbbc2
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x14
call eax
test eax, eax
je 0x4cbbc2
fld qword [0x5492e8]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004c9a50
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4cbbf7
push 0xbf
call eax
fld qword [0x540280]
mov dword [esp + 0x28], eax
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
lea ecx, [esp + 0x30]
push 4
push ecx
call fcn.004c9a50
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
test edi, edi
je 0x4cbf18
push str.CreateToolhelp32Snapshot
push edi
call esi
push str.CloseToolhelp32Snapshot
push edi
mov ebx, eax
call esi
push str.Heap32First
push edi
mov dword [esp + 0x5c], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x1c], eax
call esi
push str.Heap32ListFirst
push edi
mov dword [esp + 0x28], eax
call esi
push str.Heap32ListNext
push edi
mov ebp, eax
call esi
push str.Process32First
push edi
mov dword [esp + 0x18], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x34], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x38], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x3c], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x2c], eax
call esi
push 0x549218
push edi
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x50], eax
je 0x4cbf11
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4cbf11
test ebp, ebp
je 0x4cbf11
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4cbf11
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4cbf11
test eax, eax
je 0x4cbf11
push 0
push 0xf
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x4cbf11
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esp + 0x40], 0x10
call ebp
test eax, eax
je 0x4cbddc
mov ebp, 0x24
jmp 0x4cbd40
fld qword [0x549210]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.004c9a50
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add esp, 0x10
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
mov dword [esp + 0x80], ebp
call dword [esp + 0x20]
test eax, eax
je 0x4cbdca
mov ebx, 0x50
jmp 0x4cbd90
fld qword [0x549208]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.004c9a50
add esp, 0x10
lea ecx, [esp + 0x74]
push ecx
call dword [esp + 0x24]
test eax, eax
je 0x4cbdca
dec ebx
test ebx, ebx
jg 0x4cbd90
lea edx, [esp + 0x38]
push edx
push esi
call dword [esp + 0x18]
test eax, eax
jne 0x4cbd40
lea eax, [esp + 0x190]
push eax
push esi
mov dword [esp + 0x198], 0x128
call dword [esp + 0x34]
test eax, eax
je 0x4cbe3c
jmp 0x4cbe00
fld qword [0x549200]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov ecx, dword [esp + 0x198]
push ecx
lea edx, [esp + 0x19c]
push edx
call fcn.004c9a50
add esp, 0x10
lea eax, [esp + 0x190]
push eax
push esi
call dword [esp + 0x38]
test eax, eax
jne 0x4cbe00
lea ecx, [esp + 0x58]
push ecx
push esi
mov dword [esp + 0x60], 0x1c
call dword [esp + 0x3c]
test eax, eax
je 0x4cbe93
jmp 0x4cbe60
fld qword [0x5491f8]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.004c9a50
add esp, 0x10
lea ecx, [esp + 0x58]
push ecx
push esi
call dword [esp + 0x2c]
test eax, eax
jne 0x4cbe60
lea edx, [esp + 0x2b8]
push edx
push esi
mov dword [esp + 0x2c0], 0x224
call dword [esp + 0x24]
test eax, eax
je 0x4cbeec
nop
fld qword [0x549200]
mov eax, 8
call fcn.004bd0a0
fstp qword [esp]
mov eax, dword [esp + 0x2c0]
push eax
lea ecx, [esp + 0x2c4]
push ecx
call fcn.004c9a50
add esp, 0x10
lea edx, [esp + 0x2b8]
push edx
push esi
call dword [esp + 0x58]
test eax, eax
jne 0x4cbeb0
mov eax, dword [esp + 0x54]
test eax, eax
push esi
je 0x4cbf0b
call eax
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret