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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov dil, r8b
mov r14, rdx
and qword [rdx], 0
and qword [rbp - 0x48], 0
xor ebx, ebx
and dword [rbp + 0x30], ebx
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea rcx, [rbp + 0x30]
mov rax, qword [rax + 0x98]
call fcn.1400fece0
nop
test eax, eax
js 0x14006f345
cmp dword [rbp + 0x30], ebx
je 0x14006f345
and qword [rbp - 0x50], rbx
lea rdx, [rbp - 0x50]
lea rcx, str.Miscellaneous_Configuration
call qword [sym.imp.mpclient.dll_MpConfigOpen]
mov esi, eax
mov rcx, qword [rbp - 0x50]
test eax, eax
js 0x14006f2ea
and qword [rbp - 0x40], rbx
mov dword [rbp + 0x48], 2
and dword [rbp + 0x38], ebx
and 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 esi, eax
cmp eax, 0x80070002
jne 0x14006f2d3
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006f336
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14006f336
test eax, eax
jns 0x14006f32d
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006f2e6
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14006f2f5
call qword [sym.imp.mpclient.dll_MpConfigClose]
lea rdi, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f326
test byte [rcx + 0x1c], 1
je 0x14006f326
mov edx, 0xd
mov r9d, esi
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov eax, esi
jmp 0x14006f50a
mov rbx, qword [rbp - 0x40]
and qword [rbp - 0x40], 0
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14006f345
call qword [sym.imp.mpclient.dll_MpConfigClose]
test rbx, rbx
je 0x14006f3f0
lea rdi, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f37f
test byte [rcx + 0x1c], 4
je 0x14006f37f
mov edx, 0xe
mov r9, rbx
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044708
mov rdx, rbx
lea rcx, [rbp - 0x48]
call fcn.1400f0f10
mov esi, eax
test eax, eax
jns 0x14006f3db
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f3bb
test byte [rcx + 0x1c], 1
je 0x14006f3bb
mov edx, 0xf
mov r9d, eax
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14006f326
call fcn.140030c60
jmp 0x14006f326
mov rax, qword [rbp - 0x48]
mov qword [r14], rax
mov rcx, rbx
call qword [sym.imp.mpclient.dll_MpFreeMemory]
jmp 0x14006f508
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 0x14006f430
cmp eax, 9
je 0x14006f420
mov eax, 0x80070032
jmp 0x14006f50a
lea rax, str.https:__go.microsoft.com_fwlink__LinkId246445
lea rbx, str.https:__go.microsoft.com_fwlink__LinkID518968
jmp 0x14006f43e
lea rbx, str.https:__go.microsoft.com_fwlink__LinkID518969
lea rax, str.https:__go.microsoft.com_fwlink__LinkId246444
test dil, dil
cmove rbx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
lea rdi, [0x140162280]
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f47f
test byte [rcx + 0x1c], 4
je 0x14006f47f
mov r9d, esi
mov edx, 0x10
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov r9d, esi
mov r8, rbx
lea rdx, str._lsclcid_04X
lea rcx, [rbp - 0x48]
call fcn.1400f23a4
mov ebx, eax
test eax, eax
jns 0x14006f4d7
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f4c5
test byte [rcx + 0x1c], 1
je 0x14006f4c5
mov edx, 0x11
mov r9d, eax
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14006f4d3
call fcn.140030c60
mov eax, ebx
jmp 0x14006f50a
mov rbx, qword [rbp - 0x48]
mov rcx, qword [0x140162280]
cmp rcx, rdi
je 0x14006f505
test byte [rcx + 0x1c], 4
je 0x14006f505
mov edx, 0x12
mov r9, rbx
lea r8, [0x140133710]
mov rcx, qword [rcx + 0x10]
call fcn.140044708
mov qword [r14], rbx
xor eax, eax
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret