Function at 0x1400259d0
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 [0x140077040]
xor rax, rsp
mov qword [rsp + 0x830], rax
mov rsi, rdx
call fcn.140002ed0
mov rcx, rax
test rax, rax
je 0x140025ca4
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.140025cc0
mov rbp, 0xffffffffffffffff
mov r15d, 1
cmp al, r15b
je 0x140025b54
lea r8, [rsp + 0x20]
mov rdx, 0xffffffff80000001
call fcn.140025cc0
cmp al, r15b
je 0x140025b54
call fcn.140013c30
movzx ebx, al
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x30]
call fcn.14005af20
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 0x140025b42
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 0x140025ac0
movups xmm0, xmmword [0x140069420]
movups xmmword [rcx], xmm0
movsd xmm0, qword [0x140069430]
movsd qword [rcx + 0x10], xmm0
mov eax, dword [0x140069438]
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 0x140025b03
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 0x140025b20
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140002210
mov rbx, qword [rsp + 0x20]
jmp 0x140025bfc
mov rcx, rsi
call fcn.140002ba0
mov rbx, qword [rsp + 0x20]
jmp 0x140025bfc
mov rbx, qword [rsp + 0x20]
lea rdi, str.config
cmp dword [rbx - 0x10], 0
jl 0x140025b80
mov rdx, rdi
mov rcx, rbx
call fcn.14003b83c
test rax, rax
je 0x140025b80
sub rax, rbx
sar rax, 1
cmp eax, ebp
jne 0x140025ba0
mov r8, rbp
inc r8
cmp word [rdi + r8*2], 0
jne 0x140025b83
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.140004940
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x18]
mov rdi, qword [rsi]
sub rdi, 0x18
cmp rcx, rdi
je 0x140025bfc
cmp dword [rdi + 0x10], 0
jl 0x140025bed
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140025bed
call fcn.140002120
mov rbx, rax
mov ecx, ebp
lock xadd dword [rdi + 0x10], ecx
sub ecx, r15d
jg 0x140025bdf
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rVariantCopy + 8]
lea rax, [rbx + 0x18]
mov qword [rsi], rax
mov rbx, qword [rsp + 0x20]
jmp 0x140025bfc
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.140002210
mov rcx, qword [rsi]
movsxd rax, dword [rcx - 0x10]
test eax, eax
je 0x140025c60
lea edi, [rax - 1]
test edi, edi
js 0x140025caf
cmp edi, eax
jg 0x140025caf
lea r14, [rax*2 - 2]
movzx eax, word [r14 + rcx]
cmp ax, 0x5c
je 0x140025c33
cmp ax, 0x2f
jne 0x140025c60
sub r15d, dword [rcx - 8]
mov eax, dword [rcx - 0xc]
sub eax, edi
or eax, r15d
jge 0x140025c4b
mov edx, edi
mov rcx, rsi
call fcn.140002b40
mov rax, qword [rsi]
cmp edi, dword [rax - 0xc]
jg 0x140025caf
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 0x140025c77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov rcx, qword [rsp + 0x830]
xor rcx, rsp
call fcn.1400398f0
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.140002c40
nop
mov ecx, 0x80070057
call fcn.140002c40
int3