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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x8a0]
sub rsp, 0x9a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov ebx, ecx
lea rcx, [rbp + 0x82]
xor r12d, r12d
xor edx, edx
mov r8d, 0x800
mov word [rbp + 0x80], r12w
call sub.msvcrt.dll_memset
movzx r15d, r12w
cmp ebx, 0x641
jb 0x140006194
lea r8, [rbp + 0x80]
mov r9d, 0x401
mov edx, ebx
or rcx, 0xffffffffffffffff
mov word [rsp + 0x20], r12w
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
mov esi, eax
test eax, eax
jne 0x140006275
call qword [sym.imp.KERNEL32.dll_GetACP]
lea rcx, [0x140001530]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140006201
lea rdx, [0x140001548]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400061f8
mov rcx, rax
call qword [0x140010410]
call r14
lea r8, [rsp + 0x48]
movzx ecx, ax
mov r9d, 0xa
mov edx, 0x20001004
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
cmovne esi, dword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], r12
movzx r9d, r15w
mov r8d, ebx
xor edx, edx
mov ecx, 0x1000
mov dword [rsp + 0x28], 0x401
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x140006252
add eax, 0xfffffffe
mov ecx, eax
add rcx, rcx
cmp rcx, 0x802
jae 0x140006433
mov word [rbp + rcx + 0x80], r12w
jmp 0x140006275
lea r8, [0x140001568]
lea rcx, [rbp + 0x80]
mov r9d, ebx
mov edx, 0x401
call fcn.140002810
test eax, eax
js 0x140006408
cmp dword [0x14000d780], r12d
mov rcx, qword [0x14000d6e8]
jne 0x1400063ab
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x1400063ab
lea rax, [rsp + 0x58]
mov ebx, 0x11c
lea rcx, [rsp + 0x60]
mov edi, 1
xor edx, edx
mov r8d, ebx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edi
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140006376
cmp dword [rsp + 0x64], 6
jb 0x140006376
lea ecx, [rdi + 0x3f]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140006376
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x14000630d
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov r9d, 0x100
mov r8, rbx
mov edx, 0x1c
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x48], rbx
mov word [rsp + 0x20], r12w
mov dword [rsp + 0x50], r9d
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
test eax, eax
je 0x140006376
mov rbx, qword [0x14000c070]
mov rcx, rbx
call qword [0x140010410]
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], 0xfffe
lea r9, [rbp + 0x80]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r12
call rbx
test eax, eax
jns 0x140006398
lea rdx, [rbp + 0x80]
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
mov word [rsp + 0x28], r12w
mov dword [rsp + 0x20], esi
call qword [sym.imp.msi.dll_MsiProvideQualifiedComponentExW]
cmp dword [rsp + 0x50], edi
jle 0x140006408
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140006408
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140006408
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x14000d6e8]
lea r9, [rsp + 0x40]
lea rdx, [rbp + 0x80]
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14000d6e8]
lea r9, [rsp + 0x40]
lea rdx, [0x1400021f0]
mov r8d, 4
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.14000a620
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14000a8c8
int3