Function at 0x140002dcc
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 [0x1400110e0]
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 0x140002e53
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 0x140002f59
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 0x140002edf
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140002ed0
movabs r10, 0xe19427051a512170
call qword [0x14000c660]
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 0x140002f36
add eax, 0xfffffffe
mov ecx, eax
add rcx, rcx
cmp rcx, 0x802
jae 0x14000315e
mov word [rbp + rcx + 0x90], r15w
jmp 0x140002f59
mov r9d, ebx
lea r8, str.Install_error__i
mov edx, 0x401
lea rcx, [rbp + 0x90]
call fcn.140009eec
test eax, eax
js 0x140003131
cmp dword [0x1400120ec], r15d
mov rcx, qword [0x140011dd0]
jne 0x1400030c2
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1400030c2
lea rax, [rsp + 0x68]
mov esi, 1
xor edx, edx
mov dword [rsp + 0x60], esi
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 0x14000307d
cmp dword [rsp + 0x74], 6
jb 0x14000307d
mov edx, 0x200
lea ecx, [rsi + 0x3f]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x14000307d
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x140003009
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
mov r9d, 0x100
mov qword [rsp + 0x58], rbx
mov r8, rbx
mov dword [rsp + 0x60], r9d
mov edx, 0x1c
mov word [rsp + 0x20], r15w
or rcx, 0xffffffffffffffff
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
nop dword [rax + rax]
test eax, eax
je 0x14000307d
movabs r10, 0xee7916a71a5b2370
mov r8, qword [rsp + 0x58]
lea r9, [rbp + 0x90]
mov rax, qword [0x140010050]
xor edx, edx
mov qword [rsp + 0x38], r15
xor ecx, ecx
mov qword [rsp + 0x30], 0xfffe
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
call qword [0x14000c660]
test eax, eax
jns 0x1400030a5
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], esi
jle 0x140003131
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x140003131
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140003131
lea rcx, [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax + rax]
mov rcx, qword [0x140011dd0]
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 [0x140011dd0]
lea r9, [rsp + 0x50]
mov r8d, 4
mov qword [rsp + 0x20], r15
lea rdx, [0x14000dcb0]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.1400014c0
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
call fcn.140001698
int3