Function at 0x4437a0
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.0049f1f0
mov eax, dword [0x516b80]
xor eax, esp
mov dword [esp + 0x4f0], eax
push ebx
push esi
push edi
lea eax, [esp + 0xd0]
push eax
mov dword [esp + 0x30], 0
mov dword [esp + 0xd4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.ADVAPI32.DLL
call esi
push 0x4e09d0
mov dword [esp + 0x2c], eax
call esi
push str.USER32.DLL
mov edi, eax
call esi
push str.NETAPI32.DLL
mov dword [esp + 0x34], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4438d8
push str.NetStatisticsGet
push ebx
call esi
push str.NetApiBufferFree
push ebx
mov dword [esp + 0x3c], eax
call esi
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4438d1
test eax, eax
je 0x4438d1
lea edx, [esp + 0x20]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x44388e
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0960]
mov eax, dword [esp + 0x28]
fstp qword [esp]
push 0xd8
push eax
call fcn.00443170
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 + 0x48]
test eax, eax
jne 0x4438d1
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0938]
mov eax, dword [esp + 0x28]
fstp qword [esp]
push 0x44
push eax
call fcn.00443170
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 0x4439ea
push str.CryptAcquireContextA
push eax
call esi
mov edx, dword [esp + 0x28]
push str.CryptGenRandom
push edx
mov ebx, eax
call esi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
push str.CryptReleaseContext
push eax
call esi
mov dword [esp + 0x24], eax
test ebx, ebx
je 0x4439df
cmp dword [esp + 0x20], 0
je 0x4439df
test eax, eax
je 0x4439df
push 0xf0000000
push 1
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
call ebx
test eax, eax
je 0x443982
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x4b8]
push edx
push 0x40
push eax
call dword [esp + 0x2c]
test eax, eax
je 0x443977
mov eax, 8
call fcn.0049f1f0
fldz
fstp qword [esp]
lea ecx, [esp + 0x4c0]
push 0x40
push ecx
call fcn.00443170
add esp, 0x10
mov edx, dword [esp + 0x2c]
push 0
push edx
call dword [esp + 0x2c]
push 0
push 0x16
push 0x4e08c8
push 0
lea eax, [esp + 0x3c]
push eax
call ebx
test eax, eax
je 0x4439df
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x4b8]
push ecx
push 0x40
push edx
call dword [esp + 0x2c]
test eax, eax
je 0x4439d4
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e08c0]
fstp qword [esp]
lea eax, [esp + 0x4c0]
push 0x40
push eax
call fcn.00443170
add esp, 0x10
mov ecx, dword [esp + 0x2c]
push 0
push ecx
call dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00443510
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, 8
call fcn.0049f1f0
fld1
fstp qword [esp]
lea ecx, [esp + 0xb8]
push 0x20
push ecx
call fcn.00443170
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 0x40], eax
mov eax, 8
call fcn.0049f1f0
fld1
fstp qword [esp]
lea edx, [esp + 0x48]
push 4
push edx
call fcn.00443170
mov ebx, dword [esp + 0x40]
add esp, 0x10
test ebx, ebx
je 0x443b2e
push 0x4e08a8
push ebx
call esi
push str.GetCursorInfo
push ebx
mov dword [esp + 0x38], eax
call esi
push 0x4e0888
push ebx
mov dword [esp + 0x44], eax
call esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x443aa2
call eax
mov dword [esp + 0x60], eax
mov eax, 8
call fcn.0049f1f0
fldz
fstp qword [esp]
lea eax, [esp + 0x68]
push 4
push eax
call fcn.00443170
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x443af6
cmp dword [esp + 0xe0], 2
jne 0x443abe
cmp dword [esp + 0xd4], 5
jb 0x443af6
lea ecx, [esp + 0x4c]
push ecx
mov dword [esp + 0x50], 0x14
call eax
test eax, eax
je 0x443af6
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0880]
mov edx, dword [esp + 0x54]
fstp qword [esp]
push edx
lea eax, [esp + 0x58]
push eax
call fcn.00443170
add esp, 0x10
mov eax, dword [esp + 0x38]
test eax, eax
je 0x443b27
push 0x4bf
call eax
mov dword [esp + 0x40], eax
mov eax, 8
call fcn.0049f1f0
fld1
fstp qword [esp]
lea ecx, [esp + 0x48]
push 4
push ecx
call fcn.00443170
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x443e36
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 + 0x70], eax
call esi
push str.Heap32Next
push edi
mov dword [esp + 0x3c], 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 + 0x28], eax
call esi
push str.Process32Next
push edi
mov dword [esp + 0x4c], eax
call esi
push str.Thread32First
push edi
mov dword [esp + 0x50], eax
call esi
push str.Thread32Next
push edi
mov dword [esp + 0x40], eax
call esi
push str.Module32First
push edi
mov dword [esp + 0x44], eax
call esi
push 0x4e07b0
push edi
mov dword [esp + 0x38], eax
call esi
mov dword [esp + 0x6c], eax
test ebx, ebx
je 0x443e2f
cmp dword [esp + 0x34], 0
je 0x443e2f
cmp dword [esp + 0x28], 0
je 0x443e2f
cmp dword [esp + 0x24], 0
je 0x443e2f
cmp dword [esp + 0x20], 0
je 0x443e2f
cmp dword [esp + 0x44], 0
je 0x443e2f
cmp dword [esp + 0x48], 0
je 0x443e2f
cmp dword [esp + 0x38], 0
je 0x443e2f
cmp dword [esp + 0x3c], 0
je 0x443e2f
cmp dword [esp + 0x30], 0
je 0x443e2f
test eax, eax
je 0x443e2f
push 0
push 0xf
call ebx
mov esi, eax
mov dword [esp + 0x64], esi
cmp esi, 0xffffffff
je 0x443e2f
lea edx, [esp + 0x4c]
push edx
push esi
xor ebx, ebx
mov dword [esp + 0x54], 0x10
call dword [esp + 0x2c]
test eax, eax
je 0x443d21
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e07a8]
mov eax, dword [esp + 0x54]
fstp qword [esp]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00443170
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
add esp, 0x10
push edx
push eax
lea ecx, [esp + 0x94]
push ecx
mov dword [esp + 0x98], 0x24
call dword [esp + 0x40]
test eax, eax
je 0x443d0a
mov esi, 0x50
jmp 0x443cc0
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e07a0]
mov edx, dword [esp + 0x94]
fstp qword [esp]
push edx
lea eax, [esp + 0x98]
push eax
call fcn.00443170
add esp, 0x10
lea ecx, [esp + 0x8c]
push ecx
inc ebx
call dword [esp + 0x2c]
test eax, eax
je 0x443d06
dec esi
test esi, esi
jle 0x443d06
cmp ebx, 0x64
jl 0x443cc0
mov esi, dword [esp + 0x64]
lea edx, [esp + 0x4c]
push edx
push esi
call dword [esp + 0x28]
test eax, eax
je 0x443d21
cmp ebx, 0x64
jl 0x443c68
lea eax, [esp + 0x168]
push eax
push esi
mov dword [esp + 0x170], 0x128
call dword [esp + 0x4c]
test eax, eax
je 0x443d79
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0798]
mov ecx, dword [esp + 0x170]
fstp qword [esp]
push ecx
lea edx, [esp + 0x174]
push edx
call fcn.00443170
add esp, 0x10
lea eax, [esp + 0x168]
push eax
push esi
call dword [esp + 0x50]
test eax, eax
jne 0x443d3d
lea ecx, [esp + 0x70]
push ecx
push esi
mov dword [esp + 0x78], 0x1c
call dword [esp + 0x40]
test eax, eax
je 0x443dc2
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0790]
mov edx, dword [esp + 0x78]
fstp qword [esp]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00443170
add esp, 0x10
lea ecx, [esp + 0x70]
push ecx
push esi
call dword [esp + 0x44]
test eax, eax
jne 0x443d8f
lea edx, [esp + 0x290]
push edx
push esi
mov dword [esp + 0x298], 0x224
call dword [esp + 0x38]
test eax, eax
je 0x443e1c
mov edi, edi
mov eax, 8
call fcn.0049f1f0
fld qword [0x4e0798]
mov eax, dword [esp + 0x298]
fstp qword [esp]
push eax
lea ecx, [esp + 0x29c]
push ecx
call fcn.00443170
add esp, 0x10
lea edx, [esp + 0x290]
push edx
push esi
call dword [esp + 0x74]
test eax, eax
jne 0x443de0
mov eax, dword [esp + 0x68]
push esi
test eax, eax
je 0x443e29
call eax
jmp 0x443e2f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x4fc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00497164
mov esp, ebp
pop ebp
ret