Function at 0x4347b6
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 0x5ae593
mov eax, dword fs:[0]
push eax
sub esp, 0x370
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x368], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
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.004c9bb7
push str.MoboType
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1ec]
lea ecx, [esp + 0x160]
call fcn.0040ac9e
lea ecx, [esp + 0x138]
call fcn.00436dd8
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.004ccd2a
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.Select_BIOSVersion_From_Win32_BIOS
mov byte [esp + 0x390], 3
call fcn.004cce1c
lea ecx, [esp + 0x2c]
test al, al
jne 0x4348f4
mov byte [esp + 0x388], 2
call fcn.004ccd91
jmp 0x4349e9
lea eax, [esp + 0x1c8]
push eax
push 0x5cc7b0
mov edx, str.BIOSVersion
call fcn.004cd9c5
lea eax, [esp + 0x2c]
call fcn.004ccdc9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 2
call fcn.004ccd91
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
push str.Bios_version:
push esi
mov byte [esp + 0x390], 4
call fcn.0040fa1f
push esi
lea ecx, [esp + 0x1d4]
call fcn.0040fbd3
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x388], 5
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x434983
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 2
call fcn.004021a3
push str.BIOSVersion
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1d0]
lea ecx, [esp + 0x160]
call fcn.0040ac9e
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
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.004ccd2a
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.004cce1c
lea ecx, [esp + 0x2c]
test al, al
jne 0x434a57
mov byte [esp + 0x388], 7
call fcn.004ccd91
jmp 0x434c3c
mov esi, 0x5c26ec
push esi
lea eax, [esp + 0x1b0]
push eax
mov edx, str.Vendor
call fcn.004cd3af
push esi
lea eax, [esp + 0x194]
push eax
mov edx, str.Name
lea ecx, [esp + 0x34]
call fcn.004cd3af
lea eax, [esp + 0x2c]
call fcn.004ccdc9
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 7
call fcn.004ccd91
cmp dword [esp + 0x1bc], ebx
je 0x434b6e
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
push str.Vendor_Name:
push esi
mov byte [esp + 0x390], 9
call fcn.0040fa1f
push esi
lea ecx, [esp + 0x1b8]
call fcn.0040fbd3
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x388], 0xa
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x434b0b
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.004021a3
push str.VendorName
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x1b4]
lea ecx, [esp + 0x160]
call fcn.0040ac9e
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
cmp dword [esp + 0x1a0], ebx
je 0x434c3c
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
push str.System_Name:
push esi
mov byte [esp + 0x390], 0xb
call fcn.0040fa1f
push esi
lea ecx, [esp + 0x19c]
call fcn.0040fbd3
add esp, 0xc
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
mov byte [esp + 0x388], 0xc
cmp dword [esp + 0x130], 8
mov eax, dword [esp + 0x11c]
jae 0x434bd9
lea eax, [esp + 0x11c]
push eax
push 4
pop ecx
call fcn.0047c666
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.004021a3
push str.SystemName
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x198]
lea ecx, [esp + 0x160]
call fcn.0040ac9e
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
push str.UserDefaultUILanguage
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov edi, eax
push esi
push edi
mov byte [esp + 0x390], 0xd
call fcn.00436f9b
lea eax, [esp + 0x11c]
push eax
mov eax, edi
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0xe
call fcn.0040ac9e
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.004021a3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
lea eax, [esp + 0xf8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push str.ProcessorArchitecture
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
call fcn.00481c1d
push eax
lea eax, [esp + 0x15c]
push eax
call fcn.0040ad38
lea ecx, [esp + 0x138]
call fcn.00436dd8
lea eax, [esp + 0x25c]
push eax
mov dword [esp + 0x260], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434dd6
push str.OSVersion
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [esp + 0x388], 0xf
push dword [esp + 0x260]
push esi
call fcn.0040d432
push 0x2e
push esi
call fcn.004101f8
pop ecx
pop ecx
push dword [esp + 0x264]
push esi
call fcn.0040d432
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x10
call fcn.0040ac9e
push 1
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 7
call fcn.004021a3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
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.004ccd2a
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Caption_FROM_Win32_OperatingSystem
mov byte [esp + 0x390], 0x12
call fcn.004cce1c
lea ecx, [esp + 0x2c]
test al, al
jne 0x434e2f
mov byte [esp + 0x388], 0x11
call fcn.004ccd91
jmp 0x434e93
push 0x5c26ec
lea eax, [esp + 0x204]
push eax
mov edx, str.Caption
call fcn.004cd3af
mov byte [esp + 0x388], 0x11
lea ecx, [esp + 0x2c]
test al, al
je 0x434e28
call fcn.004ccd91
push str.OSName
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x208]
lea ecx, [esp + 0x160]
call fcn.0040ac9e
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
lea eax, [esp + 0x21c]
push eax
mov dword [esp + 0x220], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x434f4c
push str.TotalPhysicalMemory
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [esp + 0x388], 0x13
push dword [esp + 0x228]
push dword [esp + 0x228]
push esi
call fcn.00418be3
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x14
call fcn.0040ac9e
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.004021a3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004ccd2a
push str.ROOTCIMV2
lea eax, [esp + 0x30]
push eax
mov ecx, str.SELECT_Capacity_FROM_Win32_PhysicalMemory
mov byte [esp + 0x390], 0x15
call fcn.004cce1c
test al, al
jne 0x434f94
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 0x11
call fcn.004ccd91
jmp 0x43512c
xor eax, eax
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], ax
push 0x5c51d4
lea eax, [esp + 0x178]
push eax
mov edx, str.Capacity
lea ecx, [esp + 0x34]
mov byte [esp + 0x390], 0x16
call fcn.004cd3af
test al, al
je 0x43528f
cmp dword [esp + 0x184], ebx
je 0x43528f
lea eax, [esp + 0x174]
push eax
lea eax, [esp + 0x120]
push eax
call fcn.00477e6b
cmp dword [esp + 0x138], 8
mov eax, dword [esp + 0x124]
pop ecx
pop ecx
mov dword [esp + 0x18], ebx
jae 0x43501b
lea eax, [esp + 0x11c]
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.00563660
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x28], edx
cmp eax, ebx
je 0x435044
cmp word [eax], bx
jne 0x43527f
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
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.0040b028
lea ecx, [esp + 0x2c]
call fcn.004cd89f
test al, al
jne 0x434f94
lea ecx, [esp + 0x2c]
mov byte [esp + 0x388], 0x11
call fcn.004ccd91
push str.PhysicalMemoryCapacity
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [esp + 0x388], 0x17
push dword [esp + 0x20]
push dword [esp + 0x20]
push esi
call fcn.00418be3
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x18
call fcn.0040ac9e
push 1
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.004021a3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
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.00434747
pop ecx
test al, al
je 0x435209
push str.CurrentResolution
lea eax, [esp + 0x140]
push eax
call fcn.0040ad38
lea eax, [esp + 0x5c]
push eax
call fcn.00409ac6
mov esi, eax
mov byte [esp + 0x388], 0x19
push dword [esp + 0x18]
push esi
call fcn.0040d432
push 0x78
push esi
call fcn.004101f8
pop ecx
pop ecx
push dword [esp + 0x24]
push esi
call fcn.0040d432
push 0x40
push esi
call fcn.004101f8
pop ecx
pop ecx
push dword [esp + 0x1c]
push esi
call fcn.0040d432
lea eax, [esp + 0x11c]
push eax
mov eax, esi
call fcn.00409b30
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x124]
lea ecx, [esp + 0x160]
mov byte [esp + 0x390], 0x1a
call fcn.0040ac9e
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
lea eax, [esp + 0x5c]
mov byte [esp + 0x388], 0x11
call fcn.004021a3
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x138]
call fcn.00436dd8
xor ebx, ebx
inc ebx
push ebx
xor edi, edi
lea esi, [esp + 0x204]
call fcn.0040b028
push ebx
lea esi, [esp + 0x1b0]
call fcn.0040b028
push ebx
lea esi, [esp + 0x194]
call fcn.0040b028
push ebx
lea esi, [esp + 0x1cc]
call fcn.0040b028
push ebx
lea esi, [esp + 0x1e8]
call fcn.0040b028
lea ebx, [esp + 0x138]
call fcn.004310d7
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.0055d7fe
mov esp, ebp
pop ebp
ret
push 1
xor edi, edi
lea esi, [esp + 0x120]
call fcn.0040b028
push 1
xor edi, edi
lea esi, [esp + 0x178]
call fcn.0040b028
jmp 0x434f7e