Function at 0x4bc7f0
Capabilities:
Get memory capacity
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x1d0
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x5f3024]
xor ecx, ebp
mov dword [esp + 0x1c8], ecx
mov dword [esi + 0x1c], eax
lea edi, [esp + 0xa4]
xor ebx, ebx
push 0x118
push ebx
push edi
call fcn.00510ea0
add esp, 0xc
mov dword [edi - 4], 0x11c
mov byte [edi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x5e9230]
movdqu xmmword [esp], xmm0
call dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea edi, [esp + 0xa0]
push edx
push eax
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [esi + 0x2c]
mov dword [esp + 0x5c], ebx
lea eax, [esp + 0x58]
mov dword [eax], 0xffffffff
push eax
push 1
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4bc993
mov dword [esp + 8], ebx
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x60]
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
mov dword [ebx + 0x30], 0xffffffff
mov ecx, edi
push 0xc
push str.kernel32.dll
call fcn.004ceea0
push ebx
push edi
call fcn.0059f430
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.004cefd0
test bl, bl
jne 0x4bc9cb
pxor xmm0, xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0xd0], xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
mov dword [esp + 0xa0], 0x40
push edi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x4bc97b
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xa8]
jne 0x4bc930
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], eax
cmp byte [esi + 0x3c], 0
mov eax, dword [esp + 0xb0]
jne 0x4bc944
mov byte [esi + 0x3c], 1
mov dword [esi + 0x40], eax
cmp byte [esi + 0x48], 0
mov eax, dword [esp + 0xb8]
jne 0x4bc958
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], eax
cmp byte [esi + 0x54], 0
je 0x4bc96d
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x58], eax
jmp 0x4bc97b
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x58], eax
mov byte [esi + 0x54], 1
mov ecx, dword [esp + 0x1c8]
xor ecx, ebp
call fcn.0050dc12
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov ecx, dword [esp + 0x58]
lea eax, [esi + 0x20]
mov edi, ecx
mov edx, str.CurrentMajorVersionNumber
push eax
call fcn.0059f710
add esp, 4
test al, al
jne 0x4bcca4
xor ebx, ebx
test edi, edi
je 0x4bc9bf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0xa0]
jmp 0x4bc897
xor eax, eax
dec eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov ebx, dword [esp + 0x7c]
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
test bl, 1
je 0x4bca0d
lea ecx, [esp + 0xa0]
push 6
push str.Debug_
call fcn.00450700
test bl, 4
je 0x4bca25
lea ecx, [esp + 0xa0]
push 8
push str.Patched_
call fcn.00450700
test bl, 2
je 0x4bca3d
lea ecx, [esp + 0xa0]
push 0xb
push str.Prerelease_
call fcn.00450700
test bl, 8
je 0x4bca55
lea ecx, [esp + 0xa0]
push 8
push str.Private_
call fcn.00450700
test bl, 0x20
je 0x4bca6d
lea ecx, [esp + 0xa0]
push 8
push str.Special_
call fcn.00450700
movzx eax, byte [esp + 0xab]
test al, al
mov ebx, dword [esp + 8]
jns 0x4bca86
mov eax, dword [esp + 0xa4]
jmp 0x4bca89
and eax, 0x7f
lea edi, [esp + 0xa0]
test eax, eax
jne 0x4bcac7
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x48], xmm0
xor eax, eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa8], eax
jmp 0x4bcadd
dec eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0x48]
push edx
push eax
push 0
push edi
call fcn.004508b0
cmp byte [esp + 0xab], 0
jns 0x4bcaf6
push dword [esp + 0xa0]
call fcn.0050d60e
add esp, 4
lea edi, [esp + 0xa0]
xor eax, eax
dec eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
xor eax, dword [esp + 0x80]
test eax, 0x40004
mov eax, str.Windows_NT
mov edx, str.Unknown
cmove edx, eax
mov ecx, edi
push edx
call fcn.0053f410
test bl, bl
je 0x4bcb33
mov eax, dword [esp + 0x5c]
jmp 0x4bcb57
mov eax, dword [esp + 0x68]
mov ecx, eax
shr ecx, 0x10
mov dword [esi + 0x20], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x6c]
mov edx, eax
shr edx, 0x10
mov dword [esi + 0x28], edx
and eax, ecx
lea ecx, [esp + 0x3c]
push eax
push 0x5d6bb7
push ecx
call fcn.004d87f0
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x4bcb7d
push dword [ebx]
call fcn.0050d60e
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [ebx + 8], eax
movsd xmm0, qword [esp + 0x3c]
movsd qword [ebx], xmm0
movzx eax, byte [esp + 0x53]
test al, al
mov dword [esp + 0xc], edi
jns 0x4bcba1
mov eax, dword [esp + 0x4c]
jmp 0x4bcba4
and eax, 0x7f
mov edi, 0x5d5dad
test eax, eax
mov dword [esp + 8], eax
jne 0x4bcd84
cmp byte [esi + 0x1b], 0
jns 0x4bcbbd
mov ebx, dword [ebx]
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
cmp byte [esp + 0xab], 0
jns 0x4bcbe3
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0xa0]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x10]
push edi
push ebx
push edx
push eax
push ecx
push dword [esp + 0x20]
push str._s__u._u._u._s_s
lea eax, [esp + 0x58]
push eax
call fcn.004d87f0
add esp, 0x20
lea ebx, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x4bcc11
push dword [ebx]
call fcn.0050d60e
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [ebx + 8], eax
xor eax, eax
movq xmm0, qword [esp + 0x3c]
movq qword [ebx], xmm0
mov byte [esp + 0x47], al
mov byte [esp + 0x3c], al
cmp dword [esp + 8], 0
je 0x4bcc6c
cmp byte [esp + 0x3b], 0
jns 0x4bcc46
push dword [esp + 0x30]
call fcn.0050d60e
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x4bcc59
push dword [esp + 0x20]
call fcn.0050d60e
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x4bcc6c
push dword [esp + 0x14]
call fcn.0050d60e
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x4bcc85
push dword [esp + 0xa0]
call fcn.0050d60e
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x4bcc98
push dword [esp + 0x48]
call fcn.0050d60e
add esp, 4
lea edi, [esp + 0xa0]
jmp 0x4bc8e1
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.0059f710
add esp, 4
test al, al
je 0x4bc9b2
mov eax, dword [esp + 0x58]
xor ecx, ecx
dec ecx
lea ebx, [esp + 0x60]
mov dword [ebx + 7], ecx
mov dword [ebx + 4], ecx
mov dword [ebx], ecx
lea edx, [esp + 0x48]
mov dword [edx], ecx
lea ecx, [esp + 0x3c]
mov dword [ecx], 0xa
push ecx
push ebx
push edx
push 0
push str.CurrentBuildNumber
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4bc9b2
cmp dword [esp + 0x48], 1
jne 0x4bc9b2
mov eax, dword [esp + 0x3c]
mov byte [esp + eax + 0x60], 0
lea eax, [esp + 0x30]
mov dword [eax], 0xffffffff
lea ecx, [esp + 0xa0]
push ebx
call fcn.0053f410
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.004aa950
add esp, 8
mov ebx, eax
cmp byte [esp + 0xab], 0
jns 0x4bcd58
push dword [esp + 0xa0]
call fcn.0050d60e
add esp, 4
test bl, bl
je 0x4bc9b2
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x5dc06a
push eax
call fcn.0059f710
add esp, 4
mov ebx, eax
jmp 0x4bc9b4
lea edi, [esp + 0x14]
mov ecx, edi
push 0x5d5db3
call fcn.0053f410
lea eax, [esp + 0x48]
movzx ecx, byte [eax + 0xb]
mov edx, ecx
and edx, 0x7f
test cl, cl
cmovs edx, dword [eax + 4]
cmovs eax, dword [eax]
mov ecx, edi
push edx
push eax
call fcn.00450700
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor edi, edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [eax + 4], edi
push 1
push 0x5d5024
call fcn.00450700
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax], edi
cmp byte [esp + 0x3b], 0
jns 0x4bce04
mov edi, dword [esp + 0x30]
jmp 0x4bcbb5
lea edi, [esp + 0x30]
jmp 0x4bcbb5