Function at 0x1400275d0
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x840
mov rax, qword [0x14007f080]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rsi, rdx
call fcn.140001a70
mov rcx, rax
test rax, rax
je 0x1400278a4
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, 0xffffffff80000002
call fcn.1400278c0
mov rbp, 0xffffffffffffffff
mov r15d, 1
cmp al, r15b
je 0x140027754
lea r8, [rsp + 0x20]
mov rdx, 0xffffffff80000001
call fcn.1400278c0
cmp al, r15b
je 0x140027754
call fcn.14002fc90
movzx ebx, al
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14005fd20
mov eax, 0x23
mov r8d, 0x1c
test bl, bl
cmovne r8d, eax
mov r9d, r15d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140027742
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rcx, [rsp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400276c0
movups xmm0, xmmword [0x14006f420]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x14006f430]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x14006f438]
mov dword [rcx + 0x18], eax
xor r8d, r8d
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rax, [rsp + 0x30]
sub rax, 2
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140027703
movups xmm0, xmmword [str.config]
movups xmmword [rax], xmm0
lea rax, [rsp + 0x30]
mov r8, rbp
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140027720
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140002da0
mov rbx, qword [rsp + 0x20]
jmp 0x1400277fc
mov rcx, rsi
call fcn.140002ef0
mov rbx, qword [rsp + 0x20]
jmp 0x1400277fc
mov rbx, qword [rsp + 0x20]
lea rdi, str.config
cmp dword [rbx - 0x10], 0
jl 0x140027780
mov rdx, rdi
mov rcx, rbx
call fcn.1400407c8
test rax, rax
je 0x140027780
sub rax, rbx
sar rax, 1
cmp eax, ebp
jne 0x1400277a0
mov r8, rbp
inc r8
cmp word [rdi + r8*2], 0
jne 0x140027783
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140002b60
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x18]
mov rdi, qword [rsi]
sub rdi, 0x18
cmp rcx, rdi
je 0x1400277fc
cmp dword [rdi + 0x10], 0
jl 0x1400277ed
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x1400277ed
call fcn.140004a00
mov rbx, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
sub ecx, r15d
jg 0x1400277df
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [rsi], rax
mov rbx, qword [rsp + 0x20]
jmp 0x1400277fc
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.140002da0
mov rcx, qword [rsi]
movsxd rax, dword [rcx - 0x10]
test eax, eax
je 0x140027860
lea edi, [rax - 1]
test edi, edi
js 0x1400278af
cmp edi, eax
jg 0x1400278af
lea r14, [rax*2 - 2]
movzx eax, word [r14 + rcx]
cmp ax, 0x5c
je 0x140027833
cmp ax, 0x2f
jne 0x140027860
sub r15d, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, r15d
jge 0x14002784b
mov edx, edi
mov rcx, rsi
call fcn.140002b00
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x1400278af
mov dword [rax - 0x10], edi
mov rax, qword [rsi]
xor ecx, ecx
mov word [r14 + rax], cx
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x140027877
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.14003f1d0
lea r11, [rsp + 0x840]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.1400018b0
nop
mov ecx, 0x80070057
call fcn.1400018b0
int3