Function at 0x140004f58
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 0x140004fdf
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 0x1400050db
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 0x140005061
lea rdx, str.GetUserDefaultUILanguage
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
test rax, rax
je 0x140005052
call qword [0x14000b638]
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 0x1400050b8
add eax, 0xfffffffe
mov ecx, eax
add rcx, rcx
cmp rcx, 0x802
jae 0x1400052d6
mov word [rbp + rcx + 0x90], r15w
jmp 0x1400050db
mov r9d, ebx
lea r8, str.Install_error__i
mov edx, 0x401
lea rcx, [rbp + 0x90]
call fcn.140001340
test eax, eax
js 0x1400052a9
cmp dword [0x1400110ec], r15d
mov rcx, qword [0x140010dd0]
jne 0x14000523a
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x14000523a
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 0x1400051f5
cmp dword [rsp + 0x74], 6
jb 0x1400051f5
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 0x1400051f5
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x68]
cmp rcx, rax
je 0x14000518b
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 0x1400051f5
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], esi
mov qword [rsp + 0x20], r15
call qword [0x14000b638]
test eax, eax
jns 0x14000521d
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 0x1400052a9
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop dword [rax + rax]
jmp 0x1400052a9
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400052a9
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, [0x14000cc40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140009a90
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.140009c68
int3