Function at 0x1400433c4
Capabilities:
Check os version
Get common file path
Get memory capacity
Identify system language via api
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x550
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401600b0]
xor rax, rsp
mov qword [rsp + 0x540], rax
mov rsi, rcx
mov qword [rsp + 0x50], rcx
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Enter_updtShimAPIClass::DetectOSInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
call fcn.140091d10
or r8, 0xffffffffffffffff
xor edi, edi
inc r8
cmp word [rax + r8*2], di
jne 0x14004342f
lea rcx, [rsi + 0xb8]
mov rdx, rax
call fcn.140005dd4
call fcn.1400919a0
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140043451
lea rcx, [rsi + 0xf8]
mov rdx, rax
call fcn.140005dd4
lea rcx, [rsp + 0x150]
call fcn.140046598
nop
lea r8, str.SELECT_Caption_FROM_Win32_OperatingSystem
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x150]
call fcn.1400466e8
mov bl, al
test al, al
jne 0x1400434b6
call fcn.14008b144
mov rcx, qword [rax]
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x38]
lea r8, str.Failed_to_initialize_WMIHelper_in_GetOSString
mov edx, 1
jmp 0x1400434f9
lea r8, [rsi + 0xd8]
lea r9, [0x14011bdd0]
lea rdx, str.Caption
lea rcx, [rsp + 0x150]
call fcn.140046d98
mov bl, al
test al, al
jne 0x1400434ff
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.OS:_caption_Failed
mov edx, 2
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
lea rcx, [rsp + 0x150]
call fcn.140046660
nop
lea rcx, [rsp + 0x150]
call fcn.140046624
test bl, bl
jne 0x14004358f
call fcn.14008b144
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x330]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetOSString_failed:
mov rcx, rbx
call fcn.1400098d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14003fd60
nop
lea rcx, [rsp + 0x3d8]
call fcn.140004938
nop
lea r14, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rsp + 0x3d8], r14
lea rcx, [rsp + 0x3d8]
call fcn.140002658
nop
jmp 0x140043596
lea r14, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov ebx, 0x114
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x1b0]
call fcn.1400b4430
mov dword [rsp + 0x1b0], ebx
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140043638
call fcn.14008b144
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x330]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetVersionEx_failed:
mov rcx, rbx
call fcn.1400098d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14003fd60
nop
lea rcx, [rsp + 0x3d8]
call fcn.140004938
nop
mov qword [rsp + 0x3d8], r14
lea rcx, [rsp + 0x3d8]
call fcn.140002658
nop
mov eax, 2
jmp 0x140044118
mov eax, dword [rsp + 0x1b4]
mov dword [rsi + 0x138], eax
mov eax, dword [rsp + 0x1b8]
mov dword [rsi + 0x13c], eax
mov eax, dword [rsp + 0x1bc]
mov dword [rsi + 0x140], eax
mov eax, dword [rsp + 0x1c0]
mov dword [rsi + 0x144], eax
lea rax, [rsp + 0x1c4]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140043678
lea rcx, [rsi + 0x170]
lea rdx, [rsp + 0x1c4]
call fcn.140005dd4
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x225c], eax
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x2260], eax
lea rdx, [rsi + 0x2228]
call fcn.140042ff4
test al, al
jne 0x140043730
call fcn.14008b144
mov r9d, 1
mov r8, qword [rax]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x330]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GetSHIMLink_failed
mov rcx, rbx
call fcn.1400098d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14003fd60
nop
lea rcx, [rsp + 0x3d8]
call fcn.140004938
nop
mov qword [rsp + 0x3d8], r14
lea rcx, [rsp + 0x3d8]
call fcn.140002658
nop
cmp dword [rsi + 0x138], 5
ja 0x14004374c
jne 0x1400437d9
cmp dword [rsi + 0x13c], 1
jb 0x1400437d9
mov ebx, 0x11c
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x330]
call fcn.1400b4430
mov dword [rsp + 0x330], ebx
lea rcx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x14004379f
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.GetVersionEx_Failed
mov edx, 1
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
jmp 0x1400437d9
movzx eax, word [rsp + 0x444]
mov word [rsi + 0x148], ax
movzx eax, word [rsp + 0x446]
mov word [rsi + 0x14a], ax
movzx eax, word [rsp + 0x448]
mov word [rsi + 0x14c], ax
mov al, byte [rsp + 0x44a]
mov byte [rsi + 0x14e], al
mov ebx, 0x40
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.1400b4430
mov dword [rsp + 0x110], ebx
lea rcx, [rsp + 0x110]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14004386e
call fcn.14008b144
lea r9d, [rbx - 0x3f]
mov r8, qword [rax]
mov edx, r9d
lea rcx, [rsp + 0x330]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.GlobalMemoryStatusEx_Failed_ec
mov rcx, rbx
call fcn.1400098d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call fcn.14003fd60
nop
lea rcx, [rsp + 0x3d8]
call fcn.140004938
nop
mov qword [rsp + 0x3d8], r14
lea rcx, [rsp + 0x3d8]
call fcn.140002658
nop
mov rax, qword [rsp + 0x118]
shr rax, 0xa
mov qword [rsi + 0x150], rax
mov rax, qword [rsp + 0x120]
shr rax, 0xa
mov qword [rsi + 0x158], rax
mov rax, qword [rsp + 0x138]
shr rax, 0xa
mov qword [rsi + 0x160], rax
mov rax, qword [rsp + 0x140]
shr rax, 0xa
mov qword [rsi + 0x168], rax
mov dword [rsp + 0x40], edi
lea rdx, str.NotifiusUILanguage
lea rcx, [rsp + 0xf0]
call fcn.140009898
nop
lea rdx, str.HKLMSOFTWARENVIDIA_CorporationGlobalNVUpdatus
lea rcx, [rsp + 0xd0]
call fcn.140009898
nop
mov r9d, 0x200
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xd0]
call fcn.14008ec64
mov bl, al
lea rcx, [rsp + 0xd0]
call fcn.140005cfc
nop
lea rcx, [rsp + 0xf0]
call fcn.140005cfc
nop
test bl, bl
je 0x140043992
call fcn.14008b144
mov r9d, 1
mov r8, qword [rax]
xor edx, edx
lea rcx, [rsp + 0x330]
call fcn.14000499c
nop
lea rbx, [rax + 0x10]
lea rdx, str.Overriding_Language_value_to__d
mov rcx, rbx
call fcn.1400098d0
mov edx, dword [rsp + 0x40]
mov rcx, rbx
call fcn.14003fd60
nop
lea rcx, [rsp + 0x3d8]
call fcn.140004938
nop
mov qword [rsp + 0x3d8], r14
lea rcx, [rsp + 0x3d8]
call fcn.140002658
nop
mov eax, dword [rsp + 0x40]
jmp 0x14004399b
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
mov dword [rsi + 0x1b0], eax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov dword [rsi + 0x1b4], eax
lea rdx, [rsi + 0x1b8]
mov ecx, dword [rsi + 0x1b0]
call fcn.140042f28
lea rdx, [rsi + 0x1d8]
mov ecx, dword [rsi + 0x1b4]
call fcn.140042f28
lea rcx, [rsi + 0x190]
mov r15d, 7
mov r8d, r15d
lea r12, str.Unknown
mov rdx, r12
call fcn.140005dd4
mov rcx, rsi
call fcn.140041940
test al, al
jne 0x140043a1f
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.GetDXVersion_Failed
lea edx, [r15 - 3]
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
mov rcx, rsi
call fcn.140041f58
test al, al
jne 0x140043a32
mov byte [rsi + 0x220], dil
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x330]
call fcn.1400b4430
mov edx, 0x104
lea rcx, [rsp + 0x330]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140043a66
mov r8, r15
mov rdx, r12
jmp 0x140043a84
lea rax, [rsp + 0x330]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140043a72
lea rdx, [rsp + 0x330]
lea rcx, [rsi + 0x58]
call fcn.140005dd4
lea rbx, [rsi + 0x38]
mov r8, r15
mov rdx, r12
mov rcx, rbx
call fcn.140005dd4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_Explorer
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140043b8f
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401160d8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140043b70
mov word [rsp + 0x38], di
mov edx, dword [rsp + 0x30]
shr rdx, 1
inc rdx
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140044d08
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1401160d8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x58]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], di
jne 0x140043b51
mov rcx, rbx
call fcn.140005dd4
nop
lea rcx, [rsp + 0x58]
call fcn.140044f6c
jmp 0x140043b84
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140043b7d
mov rax, qword [rbx]
mov qword [rbx + 0x10], rdi
mov word [rax], di
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea r14, [rsi + 0x78]
mov r8, r15
mov rdx, r12
mov rcx, r14
call fcn.140005dd4
lea rcx, [rsi + 0x98]
mov r8, r15
mov rdx, r12
call fcn.140005dd4
nop
lea rdx, str.HKLMSOFTWAREMicrosoftWindowsCurrentVersion
lea rcx, [rsp + 0xd0]
call fcn.140009898
nop
mov r8d, 0x20119
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x38]
call fcn.14008e9cc
nop
lea rcx, [rsp + 0xd0]
call fcn.140005cfc
nop
lea rdx, str.ProgramFilesDir
lea rcx, [rsp + 0xd0]
call fcn.140009898
nop
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x38]
call fcn.14008df6c
nop
lea rbx, [rax + 0x10]
cmp r14, rbx
je 0x140043c4c
mov rcx, r14
call fcn.140005cfc
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r15
mov word [rbx], di
lea rcx, [rsp + 0x150]
call fcn.14000b7a4
nop
lea rcx, [rsp + 0xd0]
call fcn.140005cfc
nop
jmp 0x140043c75
lea rdx, str.ProgramFilesDir__x86_
lea rcx, [rsp + 0xf0]
call fcn.140009898
nop
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x2d0]
lea rcx, [rsp + 0x38]
call fcn.14008df6c
nop
lea rbx, [rax + 0x10]
lea r14, [rsi + 0x98]
cmp r14, rbx
je 0x140043cd8
mov rcx, r14
call fcn.140005cfc
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], r15
mov word [rbx], di
lea rcx, [rsp + 0x2d0]
call fcn.14000b7a4
nop
lea rcx, [rsp + 0xf0]
call fcn.140005cfc
nop
jmp 0x140043d01
lea rcx, [rsp + 0x38]
call fcn.14008dc44
nop
jmp 0x140043d19
cmp dword [rsi + 0x138], 6
jb 0x140043d2a
mov rcx, rsi
call fcn.1400425e4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140043fdb
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PagingFiles
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov word [rsp + 0x38], di
mov edx, dword [rsp + 0x30]
shr rdx, 1
inc rdx
lea r8, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140044d08
nop
test ebx, ebx
jne 0x140043dd5
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.PagingFiles
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], rdi
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0x108], r15
mov word [rsp + 0xf0], di
mov r14d, edi
cmp dword [rsp + 0x30], edi
jbe 0x140043fb7
mov r12, rbx
cmp word [rbx], di
jne 0x140043fa5
mov rcx, r12
call fcn.1400bd3e0
mov r8, r12
sub r8, rbx
sar r8, 1
inc r8
cmp rax, r8
cmovb r8, rax
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], rdi
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], r15
mov word [rsp + 0xd0], di
mov rdx, r12
lea rcx, [rsp + 0xd0]
call fcn.140005dd4
nop
lea rcx, [rsp + 0xf0]
call fcn.140005cfc
movups xmm0, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0xf0], xmm0
movups xmm1, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x100], xmm1
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xe8], r15
mov word [rsp + 0xd0], di
lea rcx, [rsp + 0xd0]
call fcn.140005cfc
nop
cmp qword [rsp + 0x100], rdi
je 0x140043fb7
lea r12, [rbx + 2]
mov ecx, 0x28
call fcn.140095434
mov qword [rsp + 0x50], rax
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov word [rax], di
mov qword [rsp + 0x38], rax
mov dword [rax + 0x20], edi
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x24], edi
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x330]
call fcn.1400b4430
mov rax, qword [rsp + 0x38]
lea rdx, [rax + 0x24]
lea r9, [rax + 0x20]
lea rcx, [rsp + 0xf0]
cmp qword [rsp + 0x108], 8
cmovae rcx, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rdx
lea r8, [rsp + 0x330]
lea rdx, str._s__d__d
call fcn.14004019c
lea rax, [rsp + 0x330]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140043f5f
lea rdx, [rsp + 0x330]
mov rcx, qword [rsp + 0x38]
call fcn.140005dd4
lea rcx, [rsi + 0x2270]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x140043f9b
mov rax, qword [rsp + 0x38]
mov qword [rdx], rax
add qword [rcx + 8], 8
jmp 0x140043fa5
lea r8, [rsp + 0x38]
call fcn.14003f8ec
add rbx, 2
inc r14d
cmp r14d, dword [rsp + 0x30]
jb 0x140043e12
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0xf0]
call fcn.140005cfc
nop
lea rcx, [rsp + 0x58]
call fcn.140044f6c
mov rcx, qword [rsi + 0x150]
shr rcx, 0xa
mov eax, ecx
shr eax, 1
add eax, ecx
mov dword [rsi + 0x2264], eax
lea rcx, [rsp + 0x80]
call fcn.140046598
nop
lea r8, str.Select_AllocatedBaseSize_From_Win32_PageFileUsage
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x80]
call fcn.1400466e8
test al, al
jne 0x140044042
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Failed_to_initialize_WMIHelper_inWin32_PageFileUsage::AllocatedBaseSize
mov edx, 1
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
jmp 0x14004407e
mov dword [rsp + 0x38], edi
lea r8, [rsp + 0x38]
lea rdx, str.AllocatedBaseSize
lea rcx, [rsp + 0x80]
call fcn.140046f64
test al, al
je 0x14004406d
mov eax, dword [rsp + 0x38]
add dword [rsi + 0x2268], eax
lea rcx, [rsp + 0x80]
call fcn.1400471dc
test al, al
jne 0x140044042
lea rcx, [rsp + 0x80]
call fcn.140046660
mov ecx, 0x43
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x2248], eax
mov ecx, 0x2001
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x224c], eax
mov ecx, 0x1000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x2250], eax
mov ecx, 0x2000
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rsi + 0x2254], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
shr edx, 6
mov dword [rsi + 0x2258], edx
call fcn.14008b144
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_updtShimAPIClass::DetectOSInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x14007c430.0]
nop
lea rcx, [rsp + 0x80]
call fcn.140046624
xor eax, eax
mov rcx, qword [rsp + 0x540]
xor rcx, rsp
call fcn.140095410
lea r11, [rsp + 0x550]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret