Function at 0x4bc710
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.00510dc0
add esp, 0xc
mov dword [edi - 4], 0x11c
mov byte [edi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x5e91b0]
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 0x4bc8b3
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.004cedc0
push ebx
push edi
call fcn.0059f350
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.004ceef0
test bl, bl
jne 0x4bc8eb
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 0x4bc89b
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xa8]
jne 0x4bc850
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], eax
cmp byte [esi + 0x3c], 0
mov eax, dword [esp + 0xb0]
jne 0x4bc864
mov byte [esi + 0x3c], 1
mov dword [esi + 0x40], eax
cmp byte [esi + 0x48], 0
mov eax, dword [esp + 0xb8]
jne 0x4bc878
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], eax
cmp byte [esi + 0x54], 0
je 0x4bc88d
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x58], eax
jmp 0x4bc89b
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.0050db32
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.0059f630
add esp, 4
test al, al
jne 0x4bcbc4
xor ebx, ebx
test edi, edi
je 0x4bc8df
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0xa0]
jmp 0x4bc7b7
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 0x4bc92d
lea ecx, [esp + 0xa0]
push 6
push str.Debug_
call fcn.00450620
test bl, 4
je 0x4bc945
lea ecx, [esp + 0xa0]
push 8
push str.Patched_
call fcn.00450620
test bl, 2
je 0x4bc95d
lea ecx, [esp + 0xa0]
push 0xb
push str.Prerelease_
call fcn.00450620
test bl, 8
je 0x4bc975
lea ecx, [esp + 0xa0]
push 8
push str.Private_
call fcn.00450620
test bl, 0x20
je 0x4bc98d
lea ecx, [esp + 0xa0]
push 8
push str.Special_
call fcn.00450620
movzx eax, byte [esp + 0xab]
test al, al
mov ebx, dword [esp + 8]
jns 0x4bc9a6
mov eax, dword [esp + 0xa4]
jmp 0x4bc9a9
and eax, 0x7f
lea edi, [esp + 0xa0]
test eax, eax
jne 0x4bc9e7
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 0x4bc9fd
dec eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0x48]
push edx
push eax
push 0
push edi
call fcn.004507d0
cmp byte [esp + 0xab], 0
jns 0x4bca16
push dword [esp + 0xa0]
call fcn.0050d52e
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.0053f330
test bl, bl
je 0x4bca53
mov eax, dword [esp + 0x5c]
jmp 0x4bca77
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 0x5d6b37
push ecx
call fcn.004d8710
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x4bca9d
push dword [ebx]
call fcn.0050d52e
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 0x4bcac1
mov eax, dword [esp + 0x4c]
jmp 0x4bcac4
and eax, 0x7f
mov edi, 0x5d5d6d
test eax, eax
mov dword [esp + 8], eax
jne 0x4bcca4
cmp byte [esi + 0x1b], 0
jns 0x4bcadd
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 0x4bcb03
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.004d8710
add esp, 0x20
lea ebx, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x4bcb31
push dword [ebx]
call fcn.0050d52e
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 0x4bcb8c
cmp byte [esp + 0x3b], 0
jns 0x4bcb66
push dword [esp + 0x30]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x4bcb79
push dword [esp + 0x20]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x4bcb8c
push dword [esp + 0x14]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x4bcba5
push dword [esp + 0xa0]
call fcn.0050d52e
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x4bcbb8
push dword [esp + 0x48]
call fcn.0050d52e
add esp, 4
lea edi, [esp + 0xa0]
jmp 0x4bc801
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.0059f630
add esp, 4
test al, al
je 0x4bc8d2
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 0x4bc8d2
cmp dword [esp + 0x48], 1
jne 0x4bc8d2
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.0053f330
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.004aa870
add esp, 8
mov ebx, eax
cmp byte [esp + 0xab], 0
jns 0x4bcc78
push dword [esp + 0xa0]
call fcn.0050d52e
add esp, 4
test bl, bl
je 0x4bc8d2
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x5dbfea
push eax
call fcn.0059f630
add esp, 4
mov ebx, eax
jmp 0x4bc8d4
lea edi, [esp + 0x14]
mov ecx, edi
push 0x5d5d73
call fcn.0053f330
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.00450620
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 0x5d500a
call fcn.00450620
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 0x4bcd24
mov edi, dword [esp + 0x30]
jmp 0x4bcad5
lea edi, [esp + 0x30]
jmp 0x4bcad5