Function at 0x5c5f50
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 [0x7aa024]
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.00650600
add esp, 0xc
mov dword [edi - 4], 0x11c
mov byte [edi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x79efb0]
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 0x5c60f3
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.005e18e0
push ebx
push edi
call fcn.0070d6b0
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.005e1990
test bl, bl
jne 0x5c612b
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 0x5c60db
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xa8]
jne 0x5c6090
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], eax
cmp byte [esi + 0x3c], 0
mov eax, dword [esp + 0xb0]
jne 0x5c60a4
mov byte [esi + 0x3c], 1
mov dword [esi + 0x40], eax
cmp byte [esi + 0x48], 0
mov eax, dword [esp + 0xb8]
jne 0x5c60b8
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], eax
cmp byte [esi + 0x54], 0
je 0x5c60cd
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x58], eax
jmp 0x5c60db
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.0064d372
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.0070d970
add esp, 4
test al, al
jne 0x5c63d7
xor ebx, ebx
test edi, edi
je 0x5c611f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0xa0]
jmp 0x5c5ff7
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 0x5c616b
lea ecx, [esp + 0xa0]
push str.Debug_
call fcn.005df450
test bl, 4
je 0x5c6181
lea ecx, [esp + 0xa0]
push str.Patched_
call fcn.005df450
test bl, 2
je 0x5c6197
lea ecx, [esp + 0xa0]
push str.Prerelease_
call fcn.005df450
test bl, 8
je 0x5c61ad
lea ecx, [esp + 0xa0]
push str.Private_
call fcn.005df450
test bl, 0x20
je 0x5c61c3
lea ecx, [esp + 0xa0]
push str.Special_
call fcn.005df450
movzx eax, byte [esp + 0xab]
test al, al
jns 0x5c61d6
mov eax, dword [esp + 0xa4]
test eax, eax
jne 0x5c61fa
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x50], eax
movq xmm0, qword [esp + 0xa0]
movq qword [esp + 0x48], xmm0
mov ebx, dword [esp + 8]
jmp 0x5c6229
dec eax
lea ebx, [esp + 0xac]
lea ecx, [esp + 0x48]
push ebx
push eax
push 0
push edi
call fcn.0053ae50
cmp byte [ebx - 1], 0
mov ebx, dword [esp + 8]
jns 0x5c6229
push dword [esp + 0xa0]
call fcn.0064cd6e
add esp, 4
lea ecx, [esp + 0xa0]
xor eax, eax
dec eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
xor eax, dword [esp + 0x80]
test eax, 0x40004
mov eax, str.Windows_NT
mov edx, str.Unknown
cmove edx, eax
mov dword [esp + 0xc], ecx
push edx
call fcn.0067fde0
test bl, bl
je 0x5c6268
mov eax, dword [esp + 0x5c]
jmp 0x5c6290
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
mov dword [esp + 0x5c], eax
lea edi, [esp + 0x3c]
push eax
push 0x74a208
push edi
call fcn.005ed420
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x5c62b6
push dword [ebx]
call fcn.0064cd6e
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
jns 0x5c62d4
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
mov ecx, 0x743187
test eax, eax
jne 0x5c64b7
mov dword [esp + 0x10], ecx
cmp byte [ebx + 0xb], 0
jns 0x5c62f1
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 0x5c6313
mov edi, dword [esp + 0xa0]
mov dword [esp + 0xc], edi
lea edi, [esp + 0x3c]
push dword [esp + 0x10]
push ebx
push edx
push eax
push ecx
push dword [esp + 0x20]
push str._s__u._u._u._s_s
push edi
call fcn.005ed420
add esp, 0x20
lea ebx, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x5c6340
push dword [ebx]
call fcn.0064cd6e
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
lea edi, [esp + 0xa0]
je 0x5c63a2
cmp byte [esp + 0x3b], 0
jns 0x5c637c
push dword [esp + 0x30]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x5c638f
push dword [esp + 0x20]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x5c63a2
push dword [esp + 0x14]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x5c63bb
push dword [esp + 0xa0]
call fcn.0064cd6e
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x5c6041
push dword [esp + 0x48]
call fcn.0064cd6e
add esp, 4
jmp 0x5c6041
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.0070d970
add esp, 4
test al, al
je 0x5c6112
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 0x5c6112
cmp dword [esp + 0x48], 1
jne 0x5c6112
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.0067fde0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.005aa950
add esp, 8
mov ebx, eax
cmp byte [esp + 0xab], 0
jns 0x5c648b
push dword [esp + 0xa0]
call fcn.0064cd6e
add esp, 4
test bl, bl
je 0x5c6112
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x75b16a
push eax
call fcn.0070d970
add esp, 4
mov ebx, eax
jmp 0x5c6114
lea ecx, [esp + 0x14]
push 0x746123
call fcn.0067fde0
lea edx, [esp + 0x48]
movzx eax, byte [edx + 0xb]
test al, al
cmovs eax, dword [edx + 4]
cmovs edx, dword [edx]
lea ecx, [esp + 0x14]
push eax
push edx
call fcn.005ded60
mov edx, dword [eax + 8]
lea ecx, [esp + 0x20]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
xor edx, edx
mov dword [eax], edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
push 0x7443dd
call fcn.005df450
mov ecx, dword [eax + 8]
mov dword [esp + 0x38], ecx
movsd xmm0, qword [eax]
movsd qword [esp + 0x30], xmm0
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], ecx
cmp byte [esp + 0x3b], 0
jns 0x5c6532
mov ecx, dword [esp + 0x30]
jmp 0x5c62e5
lea ecx, [esp + 0x30]
jmp 0x5c62e5