Function at 0x40a99f
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
push edi
inc ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x422c30
mov dword [0x422c30], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 0x422c08
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [0x422c40]
test eax, eax
je 0x40a9d9
cmp eax, ebx
jne 0x40a9eb
push str.Java_Quick_Starter_does_not_support_your_version_of_Windows_n
call fcn.004112c3
push ebx
call fcn.0040af3d
pop ecx
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
call esi
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x422d40], eax
jne 0x40aa1d
call edi
push eax
push str.Unable_to_load_kernel32.dll__error__d__n
call fcn.004112c3
push ebx
call fcn.0040af3d
add esp, 0xc
push str.advapi32.dll
call esi
test eax, eax
mov dword [0x422d44], eax
jne 0x40aa43
call edi
push eax
push str.Unable_to_load_advapi32.dll__error__d__n
call fcn.004112c3
push ebx
call fcn.0040af3d
add esp, 0xc
push str.user32.dll
call esi
test eax, eax
mov dword [0x422d48], eax
jne 0x40aa69
call edi
push eax
push str.Unable_to_load_user32.dll__error__d__n
call fcn.004112c3
push ebx
call fcn.0040af3d
add esp, 0xc
push str.psapi.dll
call esi
test eax, eax
mov dword [0x422d4c], eax
jne 0x40aa88
call edi
push eax
push str.Unable_to_load_psapi.dll__error__d__n
call fcn.0041100f
pop ecx
pop ecx
push str.pdh.dll
call esi
test eax, eax
mov dword [0x422d50], eax
jne 0x40aaa7
call edi
push eax
push str.Unable_to_load_pdh.dll__error__d__n
call fcn.0041100f
pop ecx
pop ecx
push str.SetDllDirectoryA
push dword [0x422d40]
push 0x422cc4
call fcn.0040a575
push str.GlobalMemoryStatusEx
push dword [0x422d40]
push 0x422cc8
call fcn.0040a59e
push str.QueryMemoryResourceNotification
push dword [0x422d40]
push 0x422ccc
call fcn.0040a5c7
push str.CreateMemoryResourceNotification
push dword [0x422d40]
push 0x422cd0
call fcn.0040a5f0
push str.GetNativeSystemInfo
push dword [0x422d40]
push 0x422cd4
call fcn.0040a619
push str.IsWow64Process
push dword [0x422d40]
push 0x422cd8
call fcn.0040a5c7
add esp, 0x48
push str.SetProcessWorkingSetSize
push dword [0x422d40]
push 0x422cdc
call fcn.0040a642
push str.GetProcessWorkingSetSize
push dword [0x422d40]
push 0x422ce0
call fcn.0040a66b
push str.GetLargePageMinimum
push dword [0x422d40]
push 0x422ce4
call fcn.0040a694
push str.GetSystemPowerStatus
push dword [0x422d40]
push 0x422d18
call fcn.0040a6bd
push str.SetFilePointerEx
push dword [0x422d40]
push 0x422cf8
call fcn.0040a6e6
push str.GetDevicePowerState
push dword [0x422d40]
push 0x422cfc
call fcn.0040a5c7
add esp, 0x48
push str.AdjustTokenPrivileges
push dword [0x422d44]
push 0x422ce8
call fcn.0040a70f
push 0x418bb4
push dword [0x422d44]
push 0x422cec
call fcn.0040a738
push str.LookupPrivilegeValueA
push dword [0x422d44]
push 0x422cf0
call fcn.0040a761
push str.ChangeServiceConfig2A
push dword [0x422d44]
push 0x422cf4
call fcn.0040a78a
push str.RegisterServiceCtrlHandlerExA
push dword [0x422d44]
push 0x422d0c
call fcn.0040a7b3
push str.RegisterDeviceNotificationA
push dword [0x422d48]
push 0x422d10
call fcn.0040a7dc
add esp, 0x48
push str.UnregisterDeviceNotification
push dword [0x422d48]
push 0x422d14
call fcn.0040a805
mov eax, dword [0x422d4c]
add esp, 0xc
test eax, eax
pop edi
pop esi
pop ebx
je 0x40aca0
push str.GetModuleInformation
push eax
push 0x422d00
call fcn.0040a82e
push str.GetMappedFileNameA
push dword [0x422d4c]
push 0x422d04
call fcn.0040a857
push str.QueryWorkingSet
push dword [0x422d4c]
push 0x422d08
call fcn.0040a880
push str.EnumProcessModules
push dword [0x422d4c]
push 0x422d1c
call fcn.0040a8a9
add esp, 0x30
mov eax, dword [0x422d50]
test eax, eax
je 0x40ad41
push str.PdhOpenQueryA
push eax
push 0x422d20
call fcn.0040a8d2
push str.PdhAddCounterA
push dword [0x422d50]
push 0x422d24
call fcn.0040a8fb
push str.PdhRemoveCounter
push dword [0x422d50]
push 0x422d28
call fcn.0040a924
push str.PdhCollectQueryData
push dword [0x422d50]
push 0x422d2c
call fcn.0040a924
push str.PdhCloseQuery
push dword [0x422d50]
push 0x422d30
call fcn.0040a924
push str.PdhGetFormattedCounterValue
push dword [0x422d50]
push 0x422d34
call fcn.0040a94d
add esp, 0x48
push str.PdhMakeCounterPathA
push dword [0x422d50]
push 0x422d38
call fcn.0040a976
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [0x422d3c], eax
ret