Function at 0x4829f0
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 [0x58a014]
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.004bd870
add esp, 0xc
mov dword [edi - 4], 0x11c
mov byte [edi + 0x116], 1
sub esp, 0x10
movdqa xmm0, xmmword [0x581e90]
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 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x482b93
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.00494380
push ebx
push edi
call fcn.0053cf20
add esp, 8
mov ebx, eax
mov ecx, edi
call fcn.004944b0
test bl, bl
jne 0x482bcb
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 0x482b7b
cmp byte [esi + 0x30], 0
mov eax, dword [esp + 0xa8]
jne 0x482b30
mov byte [esi + 0x30], 1
mov dword [esi + 0x34], eax
cmp byte [esi + 0x3c], 0
mov eax, dword [esp + 0xb0]
jne 0x482b44
mov byte [esi + 0x3c], 1
mov dword [esi + 0x40], eax
cmp byte [esi + 0x48], 0
mov eax, dword [esp + 0xb8]
jne 0x482b58
mov byte [esi + 0x48], 1
mov dword [esi + 0x4c], eax
cmp byte [esi + 0x54], 0
je 0x482b6d
mov eax, dword [esp + 0xc0]
mov dword [esi + 0x58], eax
jmp 0x482b7b
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.004babe3
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.0053d230
add esp, 4
test al, al
jne 0x482ea4
xor ebx, ebx
test edi, edi
je 0x482bbf
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esp + 0xa0]
jmp 0x482a97
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 0x482c0d
lea ecx, [esp + 0xa0]
push 6
push str.Debug_
call fcn.00438860
test bl, 4
je 0x482c25
lea ecx, [esp + 0xa0]
push 8
push str.Patched_
call fcn.00438860
test bl, 2
je 0x482c3d
lea ecx, [esp + 0xa0]
push 0xb
push str.Prerelease_
call fcn.00438860
test bl, 8
je 0x482c55
lea ecx, [esp + 0xa0]
push 8
push str.Private_
call fcn.00438860
test bl, 0x20
je 0x482c6d
lea ecx, [esp + 0xa0]
push 8
push str.Special_
call fcn.00438860
movzx eax, byte [esp + 0xab]
test al, al
mov ebx, dword [esp + 8]
jns 0x482c86
mov eax, dword [esp + 0xa4]
jmp 0x482c89
and eax, 0x7f
lea edi, [esp + 0xa0]
test eax, eax
jne 0x482cc7
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 0x482cdd
dec eax
lea edx, [esp + 0xac]
lea ecx, [esp + 0x48]
push edx
push eax
push 0
push edi
call fcn.00438a10
cmp byte [esp + 0xab], 0
jns 0x482cf6
push dword [esp + 0xa0]
call fcn.004ba1ee
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.004e8d80
test bl, bl
je 0x482d33
mov eax, dword [esp + 0x5c]
jmp 0x482d57
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 0x572da0
push ecx
call fcn.0049b560
add esp, 0xc
lea ebx, [esi + 0x10]
cmp byte [esi + 0x1b], 0
jns 0x482d7d
push dword [ebx]
call fcn.004ba1ee
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 0x482da1
mov eax, dword [esp + 0x4c]
jmp 0x482da4
and eax, 0x7f
mov edi, 0x572060
test eax, eax
mov dword [esp + 8], eax
jne 0x482f84
cmp byte [esi + 0x1b], 0
jns 0x482dbd
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 0x482de3
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.0049b560
add esp, 0x20
lea ebx, [esi + 4]
cmp byte [esi + 0xf], 0
jns 0x482e11
push dword [ebx]
call fcn.004ba1ee
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 0x482e6c
cmp byte [esp + 0x3b], 0
jns 0x482e46
push dword [esp + 0x30]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x2b], 0
jns 0x482e59
push dword [esp + 0x20]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x1f], 0
jns 0x482e6c
push dword [esp + 0x14]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0xab], 0
jns 0x482e85
push dword [esp + 0xa0]
call fcn.004ba1ee
add esp, 4
cmp byte [esp + 0x53], 0
jns 0x482e98
push dword [esp + 0x48]
call fcn.004ba1ee
add esp, 4
lea edi, [esp + 0xa0]
jmp 0x482ae1
lea eax, [esi + 0x24]
mov ecx, dword [esp + 0x58]
mov edx, str.CurrentMinorVersionNumber
push eax
call fcn.0053d230
add esp, 4
test al, al
je 0x482bb2
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 0x482bb2
cmp dword [esp + 0x48], 1
jne 0x482bb2
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.004e8d80
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0047b060
add esp, 8
mov ebx, eax
cmp byte [esp + 0xab], 0
jns 0x482f58
push dword [esp + 0xa0]
call fcn.004ba1ee
add esp, 4
test bl, bl
je 0x482bb2
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov ecx, dword [esp + 0x58]
lea eax, [esp + 0x5c]
mov edx, 0x579d6a
push eax
call fcn.0053d230
add esp, 4
mov ebx, eax
jmp 0x482bb4
lea edi, [esp + 0x14]
mov ecx, edi
push 0x572070
call fcn.004e8d80
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.00438860
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 0x571d9e
call fcn.00438860
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 0x483004
mov edi, dword [esp + 0x30]
jmp 0x482db5
lea edi, [esp + 0x30]
jmp 0x482db5