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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
movaps xmmword [rsp + 0x260], xmm6
mov rsi, rcx
mov rax, qword [0x1401b3028]
xor rax, rsp
mov qword [rsp + 0x258], rax
mov qword [rcx + 0x38], rdx
lea rdi, [rsp + 0x134]
xor ebx, ebx
mov r8d, 0x118
mov rcx, rdi
xor edx, edx
call fcn.1400dba50
mov dword [rdi - 4], 0x11c
mov byte [rdi + 0x116], 1
xor ecx, ecx
mov edx, 0x80
mov r8b, 1
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
lea r14, [rsp + 0x130]
mov rcx, r14
mov edx, 0x80
mov r8, rax
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
test eax, eax
sete byte [rsi + 0x4c]
mov dword [rsp + 0xec], 0
movabs r13, 0xaaaaaaaaaaaaaaaa
lea rax, [rsp + 0xe0]
mov qword [rax], r13
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14008d66f
movaps xmm6, xmmword [0x1401869f0]
lea r14, [rsp + 0xf0]
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
mov dword [r14 + 0x30], 0xaaaaaaaa
lea rax, str.kernel32.dll
lea rdx, [rsp + 0xd0]
mov qword [rdx], rax
mov qword [rdx + 8], 0xc
lea rdi, [rsp + 0x130]
mov rcx, rdi
call fcn.1400b8860
mov rcx, rdi
mov rdx, r14
call fcn.140164f30
mov ebp, eax
mov rcx, rdi
call fcn.1400b89b0
test bpl, bpl
je 0x14008d96e
mov qword [rsp + 0xc0], r13
movaps xmmword [rsp + 0xb0], xmm6
mov ebp, dword [rsp + 0x10c]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], 0
test bpl, 1
jne 0x14008d5dd
test bpl, 4
jne 0x14008d5f9
test bpl, 2
jne 0x14008d650
test bpl, 8
jne 0x14008d615
test bpl, 0x20
jne 0x14008d631
movzx r9d, byte [rsp + 0x147]
test r9b, r9b
js 0x14008d6d5
and r9d, 0x7f
jmp 0x14008d6dd
lea rdx, str.Debug_
lea rcx, [rsp + 0x130]
mov r8d, 6
call fcn.14003d300
jmp 0x14008d5a6
lea rdx, str.Patched_
lea rcx, [rsp + 0x130]
mov r8d, 8
call fcn.14003d300
jmp 0x14008d5ac
lea rdx, str.Private_
lea rcx, [rsp + 0x130]
mov r8d, 8
call fcn.14003d300
jmp 0x14008d5bc
lea rdx, str.Special_
lea rcx, [rsp + 0x130]
mov r8d, 8
call fcn.14003d300
jmp 0x14008d5c2
lea rdx, str.Prerelease_
lea rcx, [rsp + 0x130]
mov r8d, 0xb
call fcn.14003d300
jmp 0x14008d5b6
mov rdi, qword [rsp + 0xe0]
lea r8, [rsi + 0x40]
lea rdx, str.CurrentMajorVersionNumber
mov rcx, rdi
call fcn.140165300
test al, al
jne 0x14008dace
xor ebx, ebx
test rdi, rdi
je 0x14008d505
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14008d505
dec r9
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x130]
xor r8d, r8d
call fcn.14003d470
jmp 0x14008d719
mov r9, qword [rsp + 0x138]
test r9, r9
jne 0x14008d6ab
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0xc0], rax
movaps xmm0, xmmword [rsp + 0x130]
movaps xmmword [rsp + 0xb0], xmm0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], 0
cmp byte [rsp + 0x147], 0
jns 0x14008d730
mov rcx, qword [rsp + 0x130]
call fcn.1400d8424
mov qword [rsp + 0x140], r13
movaps xmmword [rsp + 0x130], xmm6
mov eax, dword [rsp + 0x110]
not eax
test eax, 0x40004
je 0x14008d78d
lea rax, [rsp + 0x137]
mov byte [rax + 0x10], 7
lea rcx, str.Unknown
cmp rdi, rcx
ja 0x14008d771
cmp rax, rcx
ja 0x14008dc86
mov ecx, dword [0x14019cf4d]
mov dword [rsp + 0x133], ecx
mov ecx, dword [str.Unknown]
mov dword [rsp + 0x130], ecx
jmp 0x14008d7d4
lea rdx, [rsp + 0x130]
mov byte [rdx + 0x17], 0xa
lea rcx, str.Windows_NT
lea rax, [rsp + 0x13a]
cmp rdx, rcx
ja 0x14008d7b6
cmp rax, rcx
ja 0x14008dc86
movzx ecx, word [0x1401975e5]
mov word [rsp + 0x138], cx
mov rcx, qword [str.Windows_NT]
mov qword [rsp + 0x130], rcx
mov byte [rax], 0
test bl, bl
je 0x14008d7e5
mov r8d, dword [rsp + 0xec]
jmp 0x14008d812
mov eax, dword [rsp + 0xf8]
mov ecx, eax
shr ecx, 0x10
mov dword [rsi + 0x40], ecx
mov ecx, 0xffff
and eax, ecx
mov dword [rsi + 0x44], eax
mov r8d, dword [rsp + 0xfc]
mov eax, r8d
shr eax, 0x10
mov dword [rsi + 0x48], eax
and r8d, ecx
lea rdx, [0x14018d7ba]
lea rcx, [rsp + 0x98]
call fcn.1400b05f0
lea r14, [rsi + 0x20]
cmp byte [rsi + 0x37], 0
jns 0x14008d838
mov rcx, qword [r14]
call fcn.1400d8424
mov rax, qword [rsp + 0xa8]
mov qword [r14 + 0x10], rax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [r14], xmm0
movzx eax, byte [rsp + 0xc7]
test al, al
jns 0x14008d866
mov rbx, qword [rsp + 0xb8]
jmp 0x14008d86b
mov ebx, eax
and ebx, 0x7f
test rbx, rbx
jne 0x14008da08
lea rax, [0x14018b1c3]
cmp byte [rsi + 0x37], 0
jns 0x14008d884
mov r14, qword [r14]
mov ecx, dword [rsi + 0x48]
mov r9d, dword [rsi + 0x40]
mov edx, dword [rsi + 0x44]
cmp byte [rsp + 0x147], 0
jns 0x14008d8a0
mov rdi, qword [rsp + 0x130]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
lea rdx, str._s__u._u._u._s_s
lea rcx, [rsp + 0x98]
mov r8, rdi
call fcn.1400b05f0
lea rdi, [rsi + 8]
cmp byte [rsi + 0x1f], 0
jns 0x14008d8db
mov rcx, qword [rdi]
call fcn.1400d8424
mov rax, qword [rsp + 0xa8]
mov qword [rdi + 0x10], rax
xor eax, eax
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rdi], xmm0
mov byte [rsp + 0xaf], al
mov byte [rsp + 0x98], al
test rbx, rbx
je 0x14008d940
cmp byte [rsp + 0x97], 0
jns 0x14008d91e
mov rcx, qword [rsp + 0x80]
call fcn.1400d8424
cmp byte [rsp + 0x77], 0
jns 0x14008d92f
mov rcx, qword [rsp + 0x60]
call fcn.1400d8424
cmp byte [rsp + 0x5f], 0
jns 0x14008d940
mov rcx, qword [rsp + 0x48]
call fcn.1400d8424
cmp byte [rsp + 0x147], 0
jns 0x14008d957
mov rcx, qword [rsp + 0x130]
call fcn.1400d8424
cmp byte [rsp + 0xc7], 0
jns 0x14008d96e
mov rcx, qword [rsp + 0xb0]
call fcn.1400d8424
xorps xmm0, xmm0
lea rcx, [rsp + 0x130]
movaps xmmword [rcx], xmm0
movaps xmmword [rcx + 0x30], xmm0
movaps xmmword [rcx + 0x20], xmm0
movaps xmmword [rcx + 0x10], xmm0
mov dword [rcx], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14008d9dc
mov rax, qword [rsp + 0x138]
mov qword [rsi + 0x50], rax
mov al, 1
mov byte [rsi + 0x58], al
mov rcx, qword [rsp + 0x140]
mov qword [rsi + 0x60], rcx
mov byte [rsi + 0x68], al
mov rcx, qword [rsp + 0x148]
mov qword [rsi + 0x70], rcx
mov byte [rsi + 0x78], al
mov rcx, qword [rsp + 0x150]
mov qword [rsi + 0x80], rcx
mov byte [rsi + 0x88], al
mov rcx, qword [rsp + 0x258]
xor rcx, rsp
call fcn.1400d9910
movaps xmm6, xmmword [rsp + 0x260]
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [rsp + 0x48]
mov byte [rdx + 0x17], 2
lea rcx, [0x14018c794]
cmp rdx, rcx
ja 0x14008da2b
lea rdx, [rsp + 0x4a]
cmp rdx, rcx
ja 0x14008dc86
mov word [rsp + 0x48], 0x2820
mov byte [rsp + 0x4a], 0
test al, al
js 0x14008da45
lea rdx, [rsp + 0xb0]
jmp 0x14008da4d
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x48]
mov r8, rbx
call fcn.14003d300
movups xmm0, xmmword [rax]
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm0
mov rdx, qword [rax + 0x10]
mov qword [rcx + 0x10], rdx
xor r15d, r15d
mov qword [rax + 0x10], r15
xorps xmm6, xmm6
movups xmmword [rax], xmm6
lea rdx, [0x14018c3c4]
mov r8d, 1
call fcn.14003d300
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x80], xmm0
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x90], rcx
mov qword [rax + 0x10], r15
movups xmmword [rax], xmm6
cmp byte [rsp + 0x97], 0
jns 0x14008dac1
mov rax, qword [rsp + 0x80]
jmp 0x14008d87b
lea rax, [rsp + 0x80]
jmp 0x14008d87b
lea r8, [rsi + 0x44]
mov rcx, qword [rsp + 0xe0]
lea rdx, str.CurrentMinorVersionNumber
call fcn.140165300
test al, al
je 0x14008d692
mov rcx, qword [rsp + 0xe0]
mov eax, 0xaaaaaaaa
lea rdx, [rsp + 0xf0]
mov dword [rdx + 7], eax
mov qword [rdx], r13
lea r9, [rsp + 0xb0]
mov dword [r9], eax
lea rax, [rsp + 0x98]
mov dword [rax], 0xa
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rdx, str.CurrentBuildNumber
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14008d692
cmp dword [rsp + 0xb0], 1
jne 0x14008d692
movabs rbp, 0x7ffffffffffffff7
mov eax, dword [rsp + 0x98]
mov byte [rsp + rax + 0xf0], 0
mov dword [rsp + 0x80], 0xaaaaaaaa
lea r15, [rsp + 0xf0]
mov rcx, r15
call fcn.1400f7250
cmp rax, rbp
ja 0x14008dcb2
mov rbx, rax
cmp rax, 0x16
ja 0x14008dc3a
mov byte [rsp + 0x147], bl
lea r12, [r14 + rbx]
cmp r12, r15
setbe al
cmp r14, r15
ja 0x14008dbba
test al, al
je 0x14008dc86
test rbx, rbx
je 0x14008dbd2
lea rdx, [rsp + 0xf0]
mov rcx, r14
mov r8, rbx
call fcn.1400db3a0
mov byte [r12], 0
lea r14, [rsp + 0x130]
lea rdx, [rsp + 0x80]
mov rcx, r14
call fcn.1400831b0
mov ebx, eax
cmp byte [r14 + 0x17], 0
jns 0x14008dc05
mov rcx, qword [rsp + 0x130]
call fcn.1400d8424
test bl, bl
je 0x14008d692
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x48], eax
mov rcx, qword [rsp + 0xe0]
lea rdx, [0x14019a37a]
lea r8, [rsp + 0xec]
call fcn.140165300
mov ebx, eax
jmp 0x14008d694
mov rax, rbx
and rax, 0xfffffffffffffff8
add rax, 8
mov r12, rbx
or r12, 7
cmp r12, 0x17
cmove r12, rax
inc r12
mov rcx, r12
call fcn.1400d83e8
mov r14, rax
mov qword [rsp + 0x130], rax
add rbp, 9
or rbp, r12
mov qword [rsp + 0x140], rbp
mov qword [rsp + 0x138], rbx
jmp 0x14008dba3
lea rax, str.char_traits::copy_overlapped_range
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__stringchar_traits.h
lea r9, str.__s2_____s1____s2_____s1____n
mov r8d, 0xf3
call fcn.14011b890
lea rcx, [rsp + 0x130]
call fcn.140110080
int3