Function at 0x140002f1c
Capabilities:
Check os version
Get geographical location
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x8c8]
sub rsp, 0x9b0
mov rax, qword [0x1400100e0]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
mov ebx, ecx
xor edx, edx
lea rcx, [rbp + 0x90]
mov r8d, 0x802
call sub.msvcrt.dll_memset
xor r15d, r15d
movzx r14d, r15w
cmp ebx, 0x641
jb 0x140002fa3
mov r9d, 0x401
mov word [rsp + 0x20], r15w
lea r8, [rbp + 0x90]
mov edx, ebx
or rcx, 0xffffffffffffffff
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x1400030ab
call qword [sym.imp.KERNEL32.dll_GetACP]
nop dword [rax + rax]
lea rcx, str.KERNEL32
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14000302f
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140003020
movabs r10, 0xe19427051a512170
call qword [0x14000b670]
movzx ecx, ax
mov r9d, 0xa
lea r8, [rsp + 0x58]
mov edx, 0x20001004
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
nop dword [rax + rax]
test eax, eax
cmovne edi, dword [rsp + 0x58]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0x90]
mov dword [rsp + 0x28], 0x401
mov r8d, ebx
movzx r9d, r14w
xor edx, edx
mov ecx, 0x1000
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
nop dword [rax + rax]
test eax, eax
je 0x140003088
add eax, 0xfffffffe
mov ecx, eax
add rcx, rcx
cmp rcx, 0x802
jae 0x140003082
mov word [rbp + rcx + 0x90], r15w
jmp 0x1400030ab
call fcn.140001668
int3
mov r9d, ebx
lea r8, str.Install_error__i
mov edx, 0x401
lea rcx, [rbp + 0x90]
call fcn.1400093d0
test eax, eax
js 0x14000324c
cmp dword [0x1400110ec], r15d
mov rcx, qword [0x140010dd0]
jne 0x1400031dd
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1400031dd
lea rax, [rsp + 0x68]
mov ebx, 1
xor edx, edx
mov dword [rsp + 0x60], ebx
mov r8d, 0x118
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x74]
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
test eax, eax
je 0x140003198
cmp dword [rsp + 0x74], 6
jb 0x140003198
mov edx, 0x100
lea rcx, [rsp + 0x58]
call fcn.140008ae4
test al, al
je 0x140003198
mov r9d, dword [rsp + 0x60]
lea edx, [rbx + 0x1b]
mov r8, qword [rsp + 0x58]
or rcx, 0xffffffffffffffff
mov word [rsp + 0x20], r15w
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
nop dword [rax + rax]
test eax, eax
je 0x140003198
movabs r10, 0xee7916a71a5b2370
mov r8, qword [rsp + 0x58]
lea r9, [rbp + 0x90]
mov rax, qword [0x14000f050]
xor edx, edx
mov qword [rsp + 0x38], r15
xor ecx, ecx
mov qword [rsp + 0x30], 0xfffe
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r15
call qword [0x14000b670]
test eax, eax
jns 0x1400031c0
mov word [rsp + 0x28], r15w
lea rdx, [rbp + 0x90]
mov r9d, 0x10
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.msi.dll_MsiProvideQualifiedComponentExW]
nop dword [rax + rax]
cmp dword [rsp + 0x60], ebx
jle 0x14000324c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x14000324c
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14000324c
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax + rax]
mov rcx, qword [0x140010dd0]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x20], r15
lea r8d, [rax + rax]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [0x140010dd0]
lea r9, [rsp + 0x50]
mov r8d, 4
mov qword [rsp + 0x20], r15
lea rdx, [0x14000ccd0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140001490
lea r11, [rsp + 0x9b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret