Function at 0x1400954f0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r13, r9
mov r12, r8
mov esi, edx
mov rbx, rcx
xor r8d, r8d
lea rdx, str.CBaseFuncSub::FS_CopytempDriverSet
lea rcx, [rsp + 0x58]
call fcn.1400075a0
nop
mov qword [rsp + 0x20], r12
mov r9d, esi
lea r8, str.cVersion____d__lpszSrcPath___s
mov edx, 1
lea rcx, [rsp + 0x58]
call fcn.140007780
xor edi, edi
mov word [rbp - 0x80], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x7e]
call fcn.14024b970
mov rcx, qword [0x1403b9750]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0xf0]
mov r14d, eax
test r12, r12
je 0x140095868
test r13, r13
je 0x140095868
mov r9, qword [rbx]
lea r8, [rbp - 0x80]
mov edx, esi
mov rcx, rbx
call qword [r9 + 0x460]
cmp eax, 1
jne 0x140095877
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140095611
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea r9, [rbp - 0x80]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rdi + 7]
lea rcx, [rsp + 0x58]
call fcn.140007780
cmp ebx, 1
je 0x140095611
mov edi, 0x80010009
mov dword [0x1403b95bc], 9
jmp 0x140095877
mov word [rbp + 0x3a0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x3a2]
call fcn.14024b970
mov word [rbp + 0x190], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x192]
call fcn.14024b970
mov word [rbp + 0x5b0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x5b2]
call fcn.14024b970
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0x190]
mov r8d, 0x104
lea rdx, [rbp + 0x3a0]
mov rcx, r12
call fcn.140247424
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x190]
lea r8, [rbp + 0x3a0]
mov edx, 0x104
lea rcx, [rbp + 0x5b0]
call fcn.140248e70
test r14d, r14d
je 0x1400957f3
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x50]
call fcn.140005900
nop
mov edx, 0x5c
mov rcx, qword [rsp + 0x50]
call fcn.140249468
or ebx, 0xffffffff
test rax, rax
jne 0x1400956fa
mov eax, ebx
jmp 0x140095702
sub rax, qword [rsp + 0x50]
sar rax, 1
mov r8d, 1
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.14003fdd0
mov edx, 0x5c
mov rcx, qword [rsp + 0x50]
call fcn.140249468
test rax, rax
jne 0x14009572c
mov eax, ebx
jmp 0x140095734
sub rax, qword [rsp + 0x50]
sar rax, 1
mov r8d, eax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.1400475a0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rsi, qword [rsp + 0x50]
add rsi, 0xffffffffffffffe8
cmp rcx, rsi
je 0x1400957a7
cmp dword [rsi + 0x10], 0
jl 0x140095798
mov rax, qword [rsi]
cmp qword [rcx], rax
jne 0x140095798
call fcn.140006190
mov r12, rax
mov ecx, ebx
lock xadd dword [rsi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14009578c
mov rcx, qword [rsi]
mov r8, qword [rcx]
mov rdx, rsi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r12 + 0x18]
mov qword [rsp + 0x50], rax
jmp 0x1400957a7
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x50]
call fcn.140005d50
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400957c6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400957f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x140095825
lea r9, [rbp - 0x80]
lea r8, str._t_t_tMake_Dir___s.
lea edx, [rax + 7]
lea rcx, [rsp + 0x58]
call fcn.140007780
xor edx, edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, qword [0x1403b9768]
mov rax, qword [rcx]
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x5b0]
call qword [rax + 0xc0]
cmp eax, 1
je 0x140095859
mov edi, 0x8001000c
mov dword [0x1403b95bc], 0xc
jmp 0x140095877
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x140095877
mov edi, 0x80010001
mov dword [0x1403b95bc], 1
mov r9d, edi
lea r8, str.return___08x
mov edx, 2
lea rcx, [rsp + 0x58]
call fcn.140007780
nop
lea rcx, [rsp + 0x58]
call fcn.140007730
mov eax, edi
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140245660
add rsp, 0x8d0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret