Function at 0x4a9890
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8bc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push esi
push edi
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], 0x114
call ebx
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xac]
push ecx
push edx
push str._d._d
mov esi, 0x104
lea edi, [esp + 0x6cc]
call fcn.004af0d0
add esp, 0xc
lea eax, [esp + 0xa8]
push eax
mov dword [esp + 0xac], 0x114
call ebx
neg eax
sbb eax, eax
and eax, dword [esp + 0xb4]
mov dword [esp + 0x54], eax
call fcn.004af310
neg al
lea ecx, [esp + 0x68]
push ecx
mov dword [esp + 0x6c], 0x40
sbb eax, eax
and eax, 0x20
add eax, 0x20
mov dword [esp + 0x5c], eax
or eax, 0xffffffff
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
shrd eax, edx, 0x14
mov dword [esp + 0x60], eax
lea eax, [esp + 0xa8]
push eax
push 0x6bc0cc
shr edx, 0x14
push str.ProcessorNameString
mov ecx, str.HardwareDescriptionSystemCentralProcessor0
mov edx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.004af7e0
lea edx, [esp + 0xa8]
call fcn.0048dac0
lea edx, [esp + 0xa8]
call fcn.004851c0
lea edx, [esp + 0xa8]
lea ecx, [esp + 0x2b0]
xor ebx, ebx
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0x103
call fcn.00480c70
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov word [ecx + eax*2], bx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.004a9550
mov edi, dword [esp + 0x14]
cmp edi, ebx
mov dword [esp + 0x10], edi
jne 0x4a99f0
mov dword [esp + 0x10], 0x6bc0cc
lea eax, [esp + 0x48]
push 0x104
mov esi, eax
mov dword [esp + 0x24], eax
call fcn.00480af0
mov ecx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x24]
mov dword [esp + 0x50], ebx
call fcn.00480d60
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x4a9a26
mov edx, dword [esp + 0x4c]
mov word [eax + edx*2], bx
push edi
call fcn.0069c8fa
add esp, 4
lea eax, [esp + 0x4b8]
push eax
call fcn.004abbc0
push str.Software
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0xb0]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004af0d0
add esp, 8
push str.SVar
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.004af850
mov edi, dword [esp + 0x14]
cmp edi, ebx
mov dword [esp + 0x10], edi
jne 0x4a9a96
mov dword [esp + 0x10], 0x6bc0cc
lea ecx, [esp + 0x24]
push 0x104
mov esi, ecx
mov dword [esp + 0x24], ecx
call fcn.00480af0
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], ebx
call fcn.00480d60
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x4a9acc
mov ecx, dword [esp + 0x28]
mov word [eax + ecx*2], bx
push edi
call fcn.0069c8fa
add esp, 4
push str.Software
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0xb0]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004af0d0
add esp, 8
push str.RunningDecoder
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.004af850
mov edi, dword [esp + 0x14]
cmp edi, ebx
mov dword [esp + 0x10], edi
jne 0x4a9b2f
mov dword [esp + 0x10], 0x6bc0cc
lea edx, [esp + 0x3c]
push 0x104
mov esi, edx
mov dword [esp + 0x24], edx
call fcn.00480af0
mov eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x44], ebx
call fcn.00480d60
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4a9b65
mov ecx, dword [esp + 0x40]
mov word [eax + ecx*2], bx
push edi
call fcn.0069c8fa
add esp, 4
push str.Software
push str.SoftwareNCH_SoftwareDebut_s
mov esi, 0x104
lea edi, [esp + 0xb0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.004af0d0
add esp, 8
push str.RunningEncoder
lea eax, [esp + 0x18]
mov ecx, edi
call fcn.004af850
mov edi, dword [esp + 0x14]
cmp edi, ebx
jne 0x4a9bc1
mov edi, 0x6bc0cc
lea edx, [esp + 0x30]
push 0x104
mov esi, edx
mov dword [esp + 0x24], edx
call fcn.00480af0
push edi
lea eax, [esp + 0x24]
mov dword [esp + 0x38], ebx
call fcn.00480d60
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4a9bf3
mov ecx, dword [esp + 0x34]
mov word [eax + ecx*2], bx
mov edx, dword [esp + 0x14]
push edx
call fcn.0069c8fa
add esp, 4
call fcn.004af370
test al, al
je 0x4a9c13
mov dword [esp + 0x10], str.virtualmachine
jmp 0x4a9c2c
call fcn.004af4b0
test al, al
mov dword [esp + 0x10], str.sandbox
jne 0x4a9c2c
mov dword [esp + 0x10], 0x6f0174
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
cmp eax, 1
mov edi, str.admin
je 0x4a9c41
mov edi, 0x6f018c
mov esi, dword [esp + 0x24]
cmp esi, ebx
jne 0x4a9c4e
mov esi, 0x6bc0cc
mov edx, dword [esp + 0x30]
cmp edx, ebx
jne 0x4a9c5b
mov edx, 0x6bc0cc
mov ecx, dword [esp + 0x3c]
cmp ecx, ebx
jne 0x4a9c68
mov ecx, 0x6bc0cc
mov eax, dword [esp + 0x48]
cmp eax, ebx
jne 0x4a9c75
mov eax, 0x6bc0cc
mov ebx, dword [esp + 0x10]
push ebx
push esi
push edx
push ecx
mov ebx, dword [ebp + 8]
lea ecx, [esp + 0x4c8]
push ecx
mov ecx, dword [esp + 0x6c]
push edi
push eax
mov eax, dword [esp + 0x7c]
push str.paid
lea edx, [esp + 0x2d0]
push edx
mov edx, dword [esp + 0x78]
push eax
push ecx
push edx
lea eax, [esp + 0x6f0]
push eax
push str.osver_s__dosbits_dappbits32memphys_dcpu_spaybld_sdisp_suser_srdf_ssvnr829955decoder_sencoder_ssvar_svm_s
mov ecx, ebx
call fcn.00555940
add esp, 0x38
lea ecx, [esp + 0x54]
push ecx
lea esi, [esp + 0x5c]
lea edi, [esp + 0x64]
call fcn.004c91c0
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
shrd edx, eax, 0x14
push edx
mov edx, dword [esp + 0x68]
shrd ecx, edx, 0x14
push ecx
push str.pgsize_dpgused_d
mov ecx, ebx
shr eax, 0x14
shr edx, 0x14
call fcn.00555940
mov eax, dword [esp + 0x3c]
add esp, 0xc
push eax
call fcn.0069c8fa
mov ecx, dword [esp + 0x40]
add esp, 4
push ecx
call fcn.0069c8fa
mov edx, dword [esp + 0x28]
add esp, 4
push edx
call fcn.0069c8fa
mov eax, dword [esp + 0x4c]
add esp, 4
push eax
call fcn.0069c8fa
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4