Function at 0x429850
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.0044e0a0
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 str.KERNEL32.DLL
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 0x429979
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 0x429972
test eax, eax
je 0x429972
lea edx, [esp + 0x10]
push edx
push 0
push 0
push str.LanmanWorkstation
push 0
call ecx
test eax, eax
jne 0x42992f
fld qword [0x485be8]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov eax, dword [esp + 0x18]
push 0xd8
push eax
call fcn.00425690
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 0x429972
fld qword [0x485bc0]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov eax, dword [esp + 0x18]
push 0x44
push eax
call fcn.00425690
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 0x429a80
push str.CryptAcquireContextW
push ebp
call esi
push str.CryptGenRandom
push ebp
mov ebx, eax
call esi
push 0x485b84
push ebp
mov dword [esp + 0x18], eax
call esi
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x429a79
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x429a79
test eax, eax
je 0x429a79
push 0xf0000000
push 1
push 0
push 0
lea edx, [esp + 0x28]
push edx
call ebx
test eax, eax
je 0x429a1c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xb8]
push eax
push 0x40
push ecx
call dword [esp + 0x1c]
test eax, eax
je 0x429a11
fld qword [0x4856f0]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea edx, [esp + 0xc0]
push 0x40
push edx
call fcn.00425690
add esp, 0x10
mov eax, dword [esp + 0x18]
push 0
push eax
call dword [esp + 0x1c]
push 0
push 0x16
push str.Intel_Hardware_Cryptographic_Service_Provider
push 0
lea ecx, [esp + 0x28]
push ecx
call ebx
test eax, eax
je 0x429a79
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xb8]
push edx
push 0x40
push eax
call dword [esp + 0x1c]
test eax, eax
je 0x429a6e
fld qword [0x485b20]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea ecx, [esp + 0xc0]
push 0x40
push ecx
call fcn.00425690
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]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x429b6a
push str.GetForegroundWindow
push ebp
call esi
push str.GetCursorInfo
push ebp
mov ebx, eax
call esi
push str.GetQueueStatus
push ebp
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x24], eax
je 0x429ada
call ebx
fld qword [0x4856f0]
mov dword [esp + 0x4c], eax
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea eax, [esp + 0x54]
push 4
push eax
call fcn.00425690
add esp, 0x10
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x429b2e
cmp dword [esp + 0x108], 2
jne 0x429af6
cmp dword [esp + 0xfc], 5
jb 0x429b2e
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 0x14
call eax
test eax, eax
je 0x429b2e
fld qword [0x4817f8]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov edx, dword [esp + 0x40]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00425690
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
je 0x429b63
push 0xbf
call eax
fld qword [0x481770]
mov dword [esp + 0x28], eax
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea ecx, [esp + 0x30]
push 4
push ecx
call fcn.00425690
add esp, 0x10
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
je 0x429e76
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 0x485a20
push edi
mov dword [esp + 0x24], eax
call esi
test ebx, ebx
mov dword [esp + 0x50], eax
je 0x429e6f
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x429e6f
test ebp, ebp
je 0x429e6f
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x429e6f
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x429e6f
test eax, eax
je 0x429e6f
push 0
push 0xf
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x429e6f
lea edx, [esp + 0x38]
push edx
push esi
mov dword [esp + 0x40], 0x10
call ebp
test eax, eax
je 0x429d4c
mov ebp, 0x24
jmp 0x429cb0
fld qword [0x485a18]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x44]
push ecx
call fcn.00425690
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 0x429d3a
mov ebx, 0x50
jmp 0x429d00
fld qword [0x485a10]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov edx, dword [esp + 0x7c]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00425690
add esp, 0x10
lea ecx, [esp + 0x74]
push ecx
call dword [esp + 0x24]
test eax, eax
je 0x429d3a
dec ebx
test ebx, ebx
jg 0x429d00
lea edx, [esp + 0x38]
push edx
push esi
call dword [esp + 0x18]
test eax, eax
jne 0x429cb0
lea eax, [esp + 0x190]
push eax
push esi
mov dword [esp + 0x198], 0x128
call dword [esp + 0x34]
test eax, eax
je 0x429dac
jmp 0x429d70
fld qword [0x485a08]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov ecx, dword [esp + 0x198]
push ecx
lea edx, [esp + 0x19c]
push edx
call fcn.00425690
add esp, 0x10
lea eax, [esp + 0x190]
push eax
push esi
call dword [esp + 0x38]
test eax, eax
jne 0x429d70
lea ecx, [esp + 0x58]
push ecx
push esi
mov dword [esp + 0x60], 0x1c
call dword [esp + 0x3c]
test eax, eax
je 0x429e03
jmp 0x429dd0
fld qword [0x485a00]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov edx, dword [esp + 0x60]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00425690
add esp, 0x10
lea ecx, [esp + 0x58]
push ecx
push esi
call dword [esp + 0x2c]
test eax, eax
jne 0x429dd0
lea edx, [esp + 0x2b8]
push edx
push esi
mov dword [esp + 0x2c0], 0x224
call dword [esp + 0x24]
test eax, eax
je 0x429e5c
nop
fld qword [0x485a08]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
mov eax, dword [esp + 0x2c0]
push eax
lea ecx, [esp + 0x2c4]
push ecx
call fcn.00425690
add esp, 0x10
lea edx, [esp + 0x2b8]
push edx
push esi
call dword [esp + 0x58]
test eax, eax
jne 0x429e20
mov eax, dword [esp + 0x54]
test eax, eax
push esi
je 0x429e69
call eax
jmp 0x429e6f
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.004297c0
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
fld qword [0x481770]
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea ecx, [esp + 0xa0]
push 0x20
push ecx
call fcn.00425690
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
fld qword [0x481770]
mov dword [esp + 0x28], eax
mov eax, 8
call fcn.0044e0a0
fstp qword [esp]
lea edx, [esp + 0x30]
push 4
push edx
call fcn.00425690
add esp, 0x10
pop edi
mov eax, 1
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret