Function at 0x140005b44
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 - 0x8b8]
sub rsp, 0x9a0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x890], rax
mov esi, ecx
lea rcx, [rbp + 0x82]
xor r15d, r15d
xor edx, edx
mov r8d, 0x800
mov word [rbp + 0x80], r15w
call sub.msvcrt.dll_memset
movzx r14d, r15w
cmp esi, 0x641
jb 0x140005bcd
lea r8, [rbp + 0x80]
mov r9d, 0x401
mov edx, esi
or rcx, 0xffffffffffffffff
mov word [rsp + 0x20], r15w
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
mov edi, eax
test eax, eax
jne 0x140005ca1
call qword [sym.imp.KERNEL32.dll_GetACP]
lea rcx, [0x1400013f0]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x140005c2d
lea rdx, [0x140001408]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140005c24
call rax
lea r8, [rsp + 0x48]
mov r9d, 0xa
movzx ecx, ax
mov edx, 0x20001004
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
cmovne edi, dword [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rax, [rbp + 0x80]
mov qword [rsp + 0x30], r15
movzx r9d, r14w
mov r8d, esi
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 0x140005c7e
add eax, 0xfffffffe
mov ecx, eax
add rcx, rcx
cmp rcx, 0x802
jae 0x140005e54
mov word [rbp + rcx + 0x80], r15w
jmp 0x140005ca1
lea r8, [0x140001428]
lea rcx, [rbp + 0x80]
mov r9d, esi
mov edx, 0x401
call fcn.1400025e0
test eax, eax
js 0x140005e28
cmp dword [0x14000c820], r15d
mov rcx, qword [0x14000c788]
jne 0x140005dcb
lea rax, [rcx + 1]
test rax, 0xfffffffffffffffe
jne 0x140005dcb
lea rax, [rsp + 0x58]
mov ebx, 0x11c
lea rcx, [rsp + 0x60]
mov esi, 1
xor edx, edx
mov r8d, ebx
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], esi
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 0x140005d96
cmp dword [rsp + 0x64], 6
jb 0x140005d96
lea ecx, [rsi + 0x3f]
mov edx, 0x200
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
test rax, rax
je 0x140005d96
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
cmp rcx, rax
je 0x140005d39
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], r15w
mov dword [rsp + 0x50], r9d
call qword [sym.imp.msi.dll_MsiDecomposeDescriptorW]
test eax, eax
je 0x140005d96
mov r8, qword [rsp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], reloc.msvcrt.dll__unlock
lea r9, [rbp + 0x80]
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
call qword [0x14000b070]
test eax, eax
jns 0x140005db8
lea rdx, [rbp + 0x80]
mov r9d, 0x10
xor r8d, r8d
xor ecx, ecx
mov word [rsp + 0x28], r15w
mov dword [rsp + 0x20], edi
call qword [sym.imp.msi.dll_MsiProvideQualifiedComponentExW]
cmp dword [rsp + 0x50], esi
jle 0x140005e28
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x140005e28
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140005e28
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [0x14000c788]
lea r9, [rsp + 0x40]
lea rdx, [rbp + 0x80]
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [0x14000c788]
lea r9, [rsp + 0x40]
lea rdx, [0x1400020b0]
mov r8d, 4
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.140009b80
lea r11, [rsp + 0x9a0]
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.140009e04
int3