Function at 0x40a3fd
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
push ebx
push esi
push edi
mov edx, str.UpdateInfo_Report_UpdateReport
mov ecx, 0x4ad338
call fcn.0043b82e
mov dword [esp + 0x30], eax
test eax, eax
jne 0x40a430
mov dword [esp + 0x44], 0x80004005
jmp 0x40a867
lea ecx, [esp + 0x48]
call fcn.00431b45
push 0x34
lea ecx, [esp + 0x80]
call fcn.00438f57
push dword [esp + 0x5c]
mov ecx, eax
push 1
call fcn.00438fb4
mov ebx, eax
lea ecx, [esp + 0x48]
push ebx
mov dword [ebx], 0x491958
mov dword [ebx + 8], 3
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x14]
call fcn.0043bbe8
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x10]
call fcn.0043bbe8
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x90]
mov esi, str.0x_X
push eax
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0043c575
add esp, 0xc
lea eax, [esp + 0xc]
push dword [esp + 0xa4]
push esi
push eax
call fcn.0043c575
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x88]
add esp, 0xc
push dword [esi - 0xc]
push 9
push esi
push str.architect
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x7c]
push dword [edi - 0xc]
push 0x14
push edi
push str.dwnumberofprocessors
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x14]
call fcn.0043bbe8
lea ecx, [esp + 0x34]
call fcn.00471cb5
movzx eax, byte [esp + 0x43]
push eax
movzx eax, byte [esp + 0x46]
push eax
movzx eax, byte [esp + 0x49]
push eax
movzx eax, byte [esp + 0x4c]
push eax
movzx eax, byte [esp + 0x4f]
push eax
movzx eax, byte [esp + 0x52]
push eax
movzx eax, byte [esp + 0x55]
push eax
movzx eax, byte [esp + 0x58]
push eax
movzx eax, word [esp + 0x5a]
push eax
movzx eax, word [esp + 0x5c]
push eax
push dword [esp + 0x5c]
lea eax, [esp + 0x3c]
push 0x4919b0
push eax
call fcn.0043c575
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xb0]
add esp, 0x34
push dword [eax - 0xc]
push 0xa
push eax
push str.clientguid
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x10]
call fcn.0043bbe8
xor eax, eax
lea edx, [esp + 0x1c]
push eax
mov ecx, 0x491a2c
mov dword [esp + 0x48], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.0044d9a9
pop ecx
push dword [esp + 0x20]
lea eax, [esp + 0x10]
push dword [esp + 0x20]
push str.0x_I64X
push eax
call fcn.0043c575
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x8c]
add esp, 0x10
push dword [eax - 0xc]
push 9
push eax
push str.osversion
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x20]
call fcn.0043bbe8
mov ecx, dword [0x4ad194]
lea edx, [esp + 0x14]
xor eax, eax
push eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.0044d947
pop ecx
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push dword [esp + 0x18]
push str.0x_I64X
push eax
call fcn.0043c575
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x8c]
add esp, 0x10
push dword [eax - 0xc]
push 0xb
push eax
push 0x491a74
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x18]
call fcn.0043bbe8
push 0x3c
lea eax, [esp + 0x98]
mov dword [esp + 0x94], 0x40
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [esp + 0x9c]
lea eax, [esp + 0x18]
push dword [esp + 0x9c]
push str.0x_I64X
push eax
call fcn.0043c575
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x8c]
add esp, 0x10
push dword [eax - 0xc]
push 0xc
push eax
push 0x491a9c
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x30]
call fcn.0043bbe8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
movzx eax, ax
push eax
lea eax, [esp + 0x30]
push str.0x_hX
push eax
call fcn.0043c575
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x88]
add esp, 0xc
push dword [eax - 0xc]
push 0xa
push eax
push 0x491ad4
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
call fcn.0043d5bb
push eax
lea ecx, [esp + 0x2c]
call fcn.0043bbe8
lea eax, [esp + 0x28]
mov edx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push eax
push str.EditionID
mov ecx, 0x80000002
call fcn.0044defb
mov eax, dword [esp + 0x30]
pop ecx
pop ecx
lea ecx, [esp + 0x7c]
push dword [eax - 0xc]
push 9
push eax
push str.editionid
push 1
call fcn.0043abf5
push eax
mov ecx, ebx
call fcn.00439225
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x40a7a2
mov ecx, 0x4934ec
lea edx, [esp + 0x48]
call fcn.0042d6c8
test eax, eax
jne 0x40a7f7
push eax
call dword [sym.imp.msvcrt.dll__time64]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x38]
lea eax, [esp + 0x34]
mov dword [esp], 0x491b80
push eax
mov dword [esp + 0x40], edx
call fcn.0043ab89
push dword [0x4ad468]
push dword [eax]
push str.LastUpdate
push 0x488134
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, dword [esp + 0x30]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x28]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x2c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x14]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0043d912
lea ecx, [edi - 0x10]
call fcn.0043d912
lea ecx, [esi - 0x10]
call fcn.0043d912
mov ecx, dword [esp + 0x88]
add ecx, 0xfffffff0
call fcn.0043d912
lea ecx, [esp + 0x7c]
call fcn.0043295e
lea ecx, [esp + 0x27]
call fcn.0043bc2f
mov eax, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret