Function at 0x14002f5e0
Capabilities:
Get system information on windows
Identify system language via api

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov sil, r8b
mov r15, rdx
xor ebx, ebx
mov qword [rdx], rbx
mov qword [rbp - 0x48], rbx
mov dword [rbp + 0x30], ebx
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0x839537915cdcb870
lea rcx, [rbp + 0x30]
mov rax, qword [rax + 0x98]
call qword [case.0x1400bdf0e.0]
nop
test eax, eax
js 0x14002f6b7
cmp dword [rbp + 0x30], ebx
je 0x14002f6b7
mov qword [rbp - 0x50], rbx
lea rdx, [rbp - 0x50]
lea rcx, str.Miscellaneous_Configuration
call qword [sym.imp.mpclient.dll_MpConfigOpen]
mov edi, eax
mov rcx, qword [rbp - 0x50]
test eax, eax
js 0x14002f706
mov qword [rbp - 0x40], rbx
mov dword [rbp + 0x48], 2
mov dword [rbp + 0x38], ebx
mov qword [rsp + 0x28], rbx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x48]
lea rdx, str.OfflineScanner_Url
call qword [sym.imp.mpclient.dll_MpConfigGetValueAlloc]
mov edi, eax
cmp eax, 0x80070002
jne 0x14002f6ef
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002f6a8
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002f6b7
call qword [sym.imp.mpclient.dll_MpConfigClose]
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
lea rcx, [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rbp - 0x38]
test eax, eax
je 0x14002f81b
cmp eax, 9
je 0x14002f80b
mov eax, 0x80070032
jmp 0x14002f8fb
test eax, eax
jns 0x14002f749
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14002f702
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002f711
call qword [sym.imp.mpclient.dll_MpConfigClose]
lea rsi, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f742
test byte [rcx + 0x1c], 1
je 0x14002f742
mov edx, 0xd
mov r9d, edi
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov eax, edi
jmp 0x14002f8fb
mov rdi, qword [rbp - 0x40]
mov qword [rbp - 0x40], rbx
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002f760
call qword [sym.imp.mpclient.dll_MpConfigClose]
test rdi, rdi
je 0x14002f6b7
lea rsi, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f79a
test byte [rcx + 0x1c], 4
je 0x14002f79a
mov edx, 0xe
mov r9, rdi
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.140005570
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.1400b3c30
mov r14d, eax
test eax, eax
jns 0x14002f7f6
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f7d7
test byte [rcx + 0x1c], 1
je 0x14002f7d7
mov edx, 0xf
mov r9d, eax
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002f7ee
call fcn.1400e9470
mov eax, r14d
jmp 0x14002f8fb
mov rax, qword [rbp - 0x48]
mov qword [r15], rax
mov rcx, rdi
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14002f8f9
lea rax, str.https:__go.microsoft.com_fwlink__LinkID518968
lea rdi, str.https:__go.microsoft.com_fwlink__LinkId246445
jmp 0x14002f829
lea rax, str.https:__go.microsoft.com_fwlink__LinkID518969
lea rdi, str.https:__go.microsoft.com_fwlink__LinkId246444
test sil, sil
cmovne rdi, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx r14d, ax
lea rsi, [0x140158280]
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f86b
test byte [rcx + 0x1c], 4
je 0x14002f86b
mov r9d, r14d
mov edx, 0x10
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.140005700
mov r9d, r14d
mov r8, rdi
lea rdx, str._lsclcid_04X
lea rcx, [rbp - 0x48]
call fcn.1400b4ccc
mov edi, eax
test eax, eax
jns 0x14002f8c8
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f8b1
test byte [rcx + 0x1c], 1
je 0x14002f8b1
mov edx, 0x11
mov r9d, eax
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002f742
call fcn.1400e9470
jmp 0x14002f742
mov rbx, qword [rbp - 0x48]
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002f8f6
test byte [rcx + 0x1c], 4
je 0x14002f8f6
mov edx, 0x12
mov r9, rbx
lea r8, [0x14012e230]
mov rcx, qword [rcx + 0x10]
call fcn.140005570
mov qword [r15], rbx
xor eax, eax
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret