Function at 0x140008190
Capabilities:
Check os version
Contain obfuscated stackstrings
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x428]
sub rsp, 0x4f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140052a10]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rdx
mov rdi, rcx
xor r12d, r12d
mov dword [rsp + 0x50], r12d
mov esi, VarUI4FromDisp
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x1d0]
call fcn.1400221f0
mov dword [rbp + 0x1d0], esi
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rbp + 0x1d4], 6
jb 0x140008421
mov dword [rbp + 0x1a0], 0x680053
mov dword [rbp + reloc.OLEAUT32.dll_OleTranslateColor], 0x6c0065
mov dword [rbp + 0x1a8], 0x33006c
mov dword [rbp + 0x1ac], 0x2e0032
mov dword [rbp + 0x1b0], 0x6c0064
mov dword [rbp + 0x1b4], 0x6c
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000859d
movdqa xmm0, xmmword [0x140048bc0]
movdqu xmmword [rbp + 0x1b8], xmm0
mov dword [rbp + 0x1c8], 0x68746150
mov byte [rbp + 0x1cc], r12b
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x630], rax
test rax, rax
je 0x140008413
lea r9, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
lea rcx, [0x14003d8e0]
call rax
test eax, eax
js 0x140008413
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call fcn.1400221f0
lea rcx, [rsp + 0x70]
call fcn.14000a790
nop
movdqa xmm0, xmmword [0x140048a50]
movdqu xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x140048a40]
movdqu xmmword [rbp + 0x180], xmm1
mov dword [rbp + 0x190], 0x39334338
mov dword [rbp + 0x194], 0x7d314132
mov byte [rbp + 0x198], r12b
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.14000e8e4
mov rcx, rax
lea rdx, [rbp + 0x170]
call fcn.14000eb10
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000aab8
cmp qword [rax + 0x18], 8
jb 0x14000834d
mov rax, qword [rax]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x14000836c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dil, r12b
jne 0x14000836f
mov dil, 1
cmp qword [rsp + 0x48], 8
jb 0x140008381
mov rcx, qword [rsp + 0x30]
call fcn.140021758
test dil, dil
je 0x1400083ea
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14000aab8
nop
mov r8, rax
mov rdx, rbx
call fcn.140008078
nop
cmp qword [rsp + 0x48], 8
jb 0x1400083b4
mov rcx, qword [rsp + 0x30]
call fcn.140021758
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
lea rcx, [rbp + 8]
call fcn.14000a9e8
lea rcx, vtable.std::ios_base.0
mov qword [rbp + 8], rcx
lea rcx, [rbp + 8]
call fcn.140021380
jmp 0x1400085ac
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop
lea rcx, [rbp + 8]
call fcn.14000a9e8
lea rcx, vtable.std::ios_base.0
mov qword [rbp + 8], rcx
lea rcx, [rbp + 8]
call fcn.140021380
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x14000859d
lea rax, [rbp + 0x1d0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14000859d
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x70]
call fcn.1400221f0
lea rcx, [rbp + 0x70]
call fcn.14000a790
nop
movdqa xmm0, xmmword [0x140048a50]
movdqu xmmword [rbp + 0x170], xmm0
movdqa xmm1, xmmword [0x140048a40]
movdqu xmmword [rbp + 0x180], xmm1
mov dword [rbp + 0x190], 0x39334338
mov dword [rbp + 0x194], 0x7d314132
mov byte [rbp + 0x198], r12b
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x80]
call fcn.14000e8e4
mov rcx, rax
lea rdx, [rbp + 0x170]
call fcn.14000eb10
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.14000aab8
cmp qword [rax + 0x18], 8
jb 0x1400084d7
mov rax, qword [rax]
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x1400084f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
mov dil, r12b
jne 0x1400084f9
mov dil, 1
cmp qword [rsp + 0x48], 8
jb 0x14000850b
mov rcx, qword [rsp + 0x30]
call fcn.140021758
test dil, dil
je 0x140008577
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x70]
call fcn.14000aab8
nop
mov r8, rax
mov rdx, rbx
call fcn.140008078
nop
cmp qword [rsp + 0x48], 8
jb 0x14000853d
mov rcx, qword [rsp + 0x30]
call fcn.140021758
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
lea rcx, [rbp + 0x108]
call fcn.14000a9e8
lea rcx, vtable.std::ios_base.0
mov qword [rbp + 0x108], rcx
lea rcx, [rbp + 0x108]
jmp 0x1400083e0
lea rcx, [rbp + 0x108]
call fcn.14000a9e8
lea rcx, vtable.std::ios_base.0
mov qword [rbp + 0x108], rcx
lea rcx, [rbp + 0x108]
call fcn.140021380
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r12
mov byte [rbx], r12b
mov rax, rbx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140021770
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret