Function at 0x40adfe
Capabilities:
Get memory capacity
Get system information on windows
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52f5f6
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x572480]
xor eax, esp
mov dword [esp + 0x310], eax
push ebx
push esi
push edi
mov eax, dword [0x572480]
xor eax, esp
push eax
lea eax, [esp + 0x328]
mov dword fs:[0], eax
mov esi, ecx
push 7
pop eax
xor ebx, ebx
xor ecx, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x14c], eax
mov dword [esp + 0x148], ebx
mov word [esp + 0x138], cx
mov dword [esp + 0x168], eax
mov dword [esp + 0x164], ebx
mov word [esp + 0x154], cx
mov dword [esp + 0x330], ebx
or dword [esp + 0x134], 0xffffffff
mov dword [esp + 0x1bc], eax
xor eax, eax
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], ax
lea edi, [esp + 0x1a8]
mov byte [esp + 0x330], 1
call fcn.0046433e
push str.MoboType
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
push 0xffffffffffffffff
push ebx
mov eax, edi
lea ecx, [esp + 0x15c]
call fcn.00403f13
lea ecx, [esp + 0x134]
call fcn.0040ce50
push str.UserDefaultUILanguage
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
lea eax, [esp + 0x5c]
push eax
call fcn.004036d7
mov edi, eax
push esi
push edi
mov byte [esp + 0x338], 2
call fcn.0040d1e6
lea eax, [esp + 0x118]
push eax
mov eax, edi
call fcn.00403741
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x338], 3
call fcn.00403f13
push 1
xor edi, edi
lea esi, [esp + 0x11c]
call fcn.00401501
lea eax, [esp + 0x5c]
mov byte [esp + 0x330], 1
call fcn.004025ae
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push str.ProcessorArchitecture
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
call fcn.0042c844
push eax
lea eax, [esp + 0x158]
push eax
call fcn.00403fad
lea ecx, [esp + 0x134]
call fcn.0040ce50
lea eax, [esp + 0x204]
push eax
mov dword [esp + 0x208], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x40b07b
push str.OSVersion
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
lea eax, [esp + 0x5c]
push eax
call fcn.004036d7
mov esi, eax
mov byte [esp + 0x330], 4
push dword [esp + 0x208]
push esi
call fcn.004053dc
push 0x2e
push esi
call fcn.0040d413
pop ecx
pop ecx
push dword [esp + 0x20c]
push esi
call fcn.004053dc
lea eax, [esp + 0x118]
push eax
mov eax, esi
call fcn.00403741
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x338], 5
call fcn.00403f13
push 1
lea esi, [esp + 0x11c]
call fcn.00401501
lea eax, [esp + 0x5c]
mov byte [esp + 0x330], 1
call fcn.004025ae
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
mov dword [esp + 0x1a0], 7
xor eax, eax
mov word [esp + 0x18c], ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x1a0], ebx
call fcn.00459782
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Caption_FROM_Win32_OperatingSystem
mov byte [esp + 0x338], 7
call fcn.00459874
lea ecx, [esp + 0x2c]
test al, al
jne 0x40b0d4
mov byte [esp + 0x330], 6
call fcn.004597e9
jmp 0x40b138
push 0x53a5c0
lea eax, [esp + 0x190]
push eax
mov edx, str.Caption
call fcn.00459e07
mov byte [esp + 0x330], 6
lea ecx, [esp + 0x2c]
test al, al
je 0x40b0cd
call fcn.004597e9
push str.OSName
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x194]
lea ecx, [esp + 0x15c]
call fcn.00403f13
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
lea eax, [esp + 0x1c4]
push eax
mov dword [esp + 0x1c8], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x40b1f1
push str.TotalPhysicalMemory
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
lea eax, [esp + 0x5c]
push eax
call fcn.004036d7
mov esi, eax
mov byte [esp + 0x330], 8
push dword [esp + 0x1d0]
push dword [esp + 0x1d0]
push esi
call fcn.0040d2e1
lea eax, [esp + 0x118]
push eax
mov eax, esi
call fcn.00403741
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x338], 9
call fcn.00403f13
push 1
xor edi, edi
lea esi, [esp + 0x11c]
call fcn.00401501
lea eax, [esp + 0x5c]
mov byte [esp + 0x330], 6
call fcn.004025ae
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.00459782
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Capacity_FROM_Win32_PhysicalMemory
mov byte [esp + 0x338], 0xa
call fcn.00459874
test al, al
jne 0x40b239
lea ecx, [esp + 0x2c]
mov byte [esp + 0x330], 6
call fcn.004597e9
jmp 0x40b3d1
xor eax, eax
mov dword [esp + 0x184], 7
mov dword [esp + 0x180], ebx
mov word [esp + 0x170], ax
push 0x53bd24
lea eax, [esp + 0x174]
push eax
mov edx, 0x53bd28
lea ecx, [esp + 0x34]
mov byte [esp + 0x338], 0xb
call fcn.00459e07
test al, al
je 0x40b50c
cmp dword [esp + 0x180], ebx
je 0x40b50c
lea eax, [esp + 0x170]
push eax
lea eax, [esp + 0x11c]
push eax
call fcn.00424d94
cmp dword [esp + 0x134], 8
mov eax, dword [esp + 0x120]
pop ecx
pop ecx
mov dword [esp + 0x18], ebx
jae 0x40b2c0
lea eax, [esp + 0x118]
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.004eb5f2
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x28], edx
cmp eax, ebx
je 0x40b2e9
cmp word [eax], bx
jne 0x40b4fc
push 1
xor edi, edi
lea esi, [esp + 0x11c]
call fcn.00401501
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
push 1
adc dword [esp + 0x24], eax
lea esi, [esp + 0x174]
mov byte [esp + 0x334], 0xa
call fcn.00401501
lea ecx, [esp + 0x2c]
call fcn.0045a2f7
test al, al
jne 0x40b239
lea ecx, [esp + 0x2c]
mov byte [esp + 0x330], 6
call fcn.004597e9
push str.PhysicalMemoryCapacity
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
lea eax, [esp + 0x5c]
push eax
call fcn.004036d7
mov esi, eax
mov byte [esp + 0x330], 0xc
push dword [esp + 0x20]
push dword [esp + 0x20]
push esi
call fcn.0040d2e1
lea eax, [esp + 0x118]
push eax
mov eax, esi
call fcn.00403741
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x338], 0xd
call fcn.00403f13
push 1
lea esi, [esp + 0x11c]
call fcn.00401501
lea eax, [esp + 0x5c]
mov byte [esp + 0x330], 6
call fcn.004025ae
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
lea edx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.0040adb0
pop ecx
test al, al
je 0x40b4ae
push str.CurrentResolution
lea eax, [esp + 0x13c]
push eax
call fcn.00403fad
lea eax, [esp + 0x5c]
push eax
call fcn.004036d7
mov esi, eax
mov byte [esp + 0x330], 0xe
push dword [esp + 0x18]
push esi
call fcn.004053dc
push 0x78
push esi
call fcn.0040d413
pop ecx
pop ecx
push dword [esp + 0x24]
push esi
call fcn.004053dc
push 0x40
push esi
call fcn.0040d413
pop ecx
pop ecx
push dword [esp + 0x1c]
push esi
call fcn.004053dc
lea eax, [esp + 0x118]
push eax
mov eax, esi
call fcn.00403741
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x120]
lea ecx, [esp + 0x15c]
mov byte [esp + 0x338], 0xf
call fcn.00403f13
push 1
xor edi, edi
lea esi, [esp + 0x11c]
call fcn.00401501
lea eax, [esp + 0x5c]
mov byte [esp + 0x330], 6
call fcn.004025ae
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x134]
call fcn.0040ce50
push 1
xor edi, edi
lea esi, [esp + 0x190]
call fcn.00401501
push 1
lea esi, [esp + 0x1ac]
call fcn.00401501
lea ebx, [esp + 0x134]
call fcn.0041df02
mov ecx, dword [esp + 0x328]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x310]
xor ecx, esp
call fcn.004e72ee
mov esp, ebp
pop ebp
ret
push 1
xor edi, edi
lea esi, [esp + 0x11c]
call fcn.00401501
push 1
xor edi, edi
lea esi, [esp + 0x174]
call fcn.00401501
jmp 0x40b223