Function at 0x440819
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 0x568416
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x5f7350]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x5f7350]
xor eax, esp
push eax
lea eax, [esp + 0x380]
mov dword fs:[0], eax
push 7
pop edi
xor ebx, ebx
xor eax, eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x150], edi
mov dword [esp + 0x14c], ebx
mov word [esp + 0x13c], ax
mov dword [esp + 0x16c], edi
mov dword [esp + 0x168], ebx
mov word [esp + 0x158], ax
mov dword [esp + 0x388], ebx
or dword [esp + 0x138], 0xffffffff
mov dword [esp + 0x1f8], edi
mov dword [esp + 0x1f4], ebx
mov word [esp + 0x1e4], ax
lea ecx, [esp + 0x1e4]
mov byte [esp + 0x388], 1
call fcn.004eb239
push str.MoboType
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x160]
call fcn.00404082
lea ecx, [esp + 0x138]
call fcn.00443113
xor eax, eax
mov dword [esp + 0x1dc], edi
mov dword [esp + 0x1d8], ebx
mov word [esp + 0x1c8], ax
lea eax, [esp + 0x2c]
push eax
call fcn.004ee563
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.Select_BIOSVersion_From_Win32_BIOS
mov byte [esp + 0x390], 3
call fcn.004ee655
lea ecx, [esp + 0x2c]
test al, al
jne 0x440957
mov byte [esp + 0x388], 2
call fcn.004ee5ca
jmp 0x440a4c
lea eax, [esp + 0x1c8]
push eax
push 0x5934d0
mov edx, str.BIOSVersion
call fcn.004ef1fe
lea eax, [esp + 0x2c]
call fcn.004ee602
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 2
call fcn.004ee5ca
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
push str.Bios_version:
push esi
mov byte [esp + 0x390], 4
call fcn.00405d7d
push esi
lea ecx, [esp + 0x1d4]
call fcn.0041193b
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x388], 5
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x4409e6
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 2
call fcn.00402669
push str.BIOSVersion
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1d0]
lea ecx, [esp + 0x160]
call fcn.00404082
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
push 7
pop edi
xor eax, eax
mov dword [esp + 0x1a4], edi
mov dword [esp + 0x1a0], ebx
mov word [esp + 0x190], ax
mov dword [esp + 0x1c0], edi
mov dword [esp + 0x1bc], ebx
mov word [esp + 0x1ac], ax
lea eax, [esp + 0x2c]
push eax
call fcn.004ee563
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.Select_Name__Vendor_From_Win32_ComputerSystemProduct
mov byte [esp + 0x390], 8
call fcn.004ee655
lea ecx, [esp + 0x2c]
test al, al
jne 0x440aba
mov byte [esp + 0x388], 7
call fcn.004ee5ca
jmp 0x440c9f
mov esi, 0x584a64
push esi
lea eax, [esp + 0x1b0]
push eax
mov edx, str.Vendor
call fcn.004eebe8
push esi
lea eax, [esp + 0x194]
push eax
mov edx, 0x589590
lea ecx, [esp + 0x34]
call fcn.004eebe8
lea eax, [esp + 0x2c]
call fcn.004ee602
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 7
call fcn.004ee5ca
cmp dword [esp + 0x1bc], ebx
je 0x440bd1
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
push str.Vendor_Name:
push esi
mov byte [esp + 0x390], 9
call fcn.00405d7d
push esi
lea ecx, [esp + 0x1b8]
call fcn.0041193b
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x388], 0xa
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x440b6e
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.00402669
push str.VendorName
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x160]
call fcn.00404082
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
cmp dword [esp + 0x1a0], ebx
je 0x440c9f
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
push str.System_Name:
push esi
mov byte [esp + 0x390], 0xb
call fcn.00405d7d
push esi
lea ecx, [esp + 0x19c]
call fcn.0041193b
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
mov byte [esp + 0x388], 0xc
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x440c3c
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.00492b4d
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.00402669
push str.SystemName
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x198]
lea ecx, [esp + 0x160]
call fcn.00404082
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
push 0x590728
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov edi, eax
push esi
push edi
mov byte [esp + 0x390], 0xd
call fcn.00443514
lea eax, [esp + 0x11c]
push eax
mov eax, edi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0xe
call fcn.00404082
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.00402669
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push str.ProcessorArchitecture
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
call fcn.00497727
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.0040411c
lea ecx, [esp + 0x138]
call fcn.00443113
lea eax, [esp + 0x25c]
push eax
mov dword [esp + 0x260], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x440e39
push str.OSVersion
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x388], 0xf
push dword [esp + 0x260]
push esi
call fcn.0041056c
push 0x2e
push esi
call fcn.00411d4f
pop ecx
pop ecx
push dword [esp + 0x264]
push esi
call fcn.0041056c
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x10
call fcn.00404082
push 1
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.00402669
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
mov dword [esp + 0x214], 7
xor eax, eax
mov word [esp + 0x200], ax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x214], ebx
call fcn.004ee563
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Caption_FROM_Win32_OperatingSystem
mov byte [esp + 0x390], 0x12
call fcn.004ee655
lea ecx, [esp + 0x2c]
test al, al
jne 0x440e92
mov byte [esp + 0x388], 0x11
call fcn.004ee5ca
jmp 0x440ef6
push 0x584a64
lea eax, [esp + 0x204]
push eax
mov edx, str.Caption
call fcn.004eebe8
mov byte [esp + 0x388], 0x11
lea ecx, [esp + 0x2c]
test al, al
je 0x440e8b
call fcn.004ee5ca
push str.OSName
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x208]
lea ecx, [esp + 0x160]
call fcn.00404082
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
lea eax, [esp + 0x21c]
push eax
mov dword [esp + 0x220], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x440faf
push str.TotalPhysicalMemory
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x388], 0x13
push dword [esp + 0x228]
push dword [esp + 0x228]
push esi
call fcn.0041a8cb
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x14
call fcn.00404082
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.00402669
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004ee563
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Capacity_FROM_Win32_PhysicalMemory
mov byte [esp + 0x390], 0x15
call fcn.004ee655
test al, al
jne 0x440ff7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 0x11
call fcn.004ee5ca
jmp 0x44118f
xor eax, eax
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], ax
push 0x5891b4
lea eax, [esp + 0x178]
push eax
mov edx, str.Capacity
lea ecx, [esp + 0x34]
mov byte [esp + 0x390], 0x16
call fcn.004eebe8
test al, al
je 0x4412f2
cmp dword [esp + 0x184], ebx
je 0x4412f2
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.0048f821
cmp dword [esp + 0x138], 8
mov eax, dword [esp + 0x124]
pop ecx
pop ecx
mov dword [esp + 0x18], ebx
jae 0x44107e
lea eax, [esp + 0x11c]
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.0051a8f6
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x28], edx
cmp eax, ebx
je 0x4410a7
cmp word [eax], bx
jne 0x4412e2
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
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 + 0x178]
mov byte [esp + 0x38c], 0x15
call fcn.00404145
lea ecx, [esp + 0x2c]
call fcn.004ef0d8
test al, al
jne 0x440ff7
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 0x11
call fcn.004ee5ca
push str.PhysicalMemoryCapacity
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x388], 0x17
push dword [esp + 0x20]
push dword [esp + 0x20]
push esi
call fcn.0041a8cb
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x18
call fcn.00404082
push 1
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.00402669
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
lea eax, [esp + 0x1c]
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x20], ebx
call fcn.004407aa
pop ecx
test al, al
je 0x44126c
push str.CurrentResolution
lea eax, [esp + 0x140]
push eax
call fcn.0040411c
lea eax, [esp + 0x5c]
push eax
call fcn.004036c8
mov esi, eax
mov byte [esp + 0x388], 0x19
push dword [esp + 0x18]
push esi
call fcn.0041056c
push 0x78
push esi
call fcn.00411d4f
pop ecx
pop ecx
push dword [esp + 0x24]
push esi
call fcn.0041056c
push 0x40
push esi
call fcn.00411d4f
pop ecx
pop ecx
push dword [esp + 0x1c]
push esi
call fcn.0041056c
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00403732
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x1a
call fcn.00404082
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.00402669
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00443113
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [esp + 0x204]
call fcn.00404145
push ebx
lea esi, [esp + 0x1b0]
call fcn.00404145
push ebx
lea esi, [esp + 0x194]
call fcn.00404145
push ebx
lea esi, [esp + 0x1cc]
call fcn.00404145
push ebx
lea esi, [esp + 0x1e8]
call fcn.00404145
lea ebx, [esp + 0x138]
call fcn.0047ceb1
mov ecx, dword [esp + 0x380]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x368]
xor ecx, esp
call fcn.0051497f
mov esp, ebp
pop ebp
ret
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.00404145
push 1
xor edi, edi
lea esi, [esp + 0x178]
call fcn.00404145
jmp 0x440fe1