Function at 0x14000536c
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x788]
sub rsp, 0x880
mov rax, qword [0x14003a010]
xor rax, rsp
mov qword [rbp + 0x770], rax
mov r14d, 0x104
lea rdx, [rsp + 0x30]
mov r8d, r14d
lea rcx, [0x14003d6d0]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
test eax, eax
jne 0x1400053c8
mov eax, 0x22
jmp 0x140005608
lea r9, [rsp + 0x30]
mov rdx, r14
lea r8, str._s.bak
lea rcx, [rbp + 0x140]
call fcn.1400025a4
lea r9, [0x14003d6d0]
mov rdx, r14
lea r8, str._s.bak_updated
lea rcx, [rbp + 0x560]
call fcn.1400025a4
xor edx, edx
lea rcx, [rbp + 0x140]
call fcn.1400029fc
call fcn.140002608
mov rcx, rax
lea r9, [rbp + 0x140]
lea r8, [rsp + 0x30]
lea rdx, str.Begin_moving_destDir___S__to_tmpDir___S_
call fcn.14000a0ec
mov r8b, 1
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.140002d2c
xor esi, esi
jmp 0x14000549a
mov ecx, esi
inc esi
cmp ecx, 0xa
jge 0x1400054a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call fcn.140002608
mov rcx, rax
mov dword [rsp + 0x28], edi
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], ebx
mov r8d, esi
lea rdx, str.PerformReplaceRequest:_destDir_rename_attempt__d_failed._File:__S._Last_error:__d__err:__d
call fcn.14000a0ec
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8b, 1
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call fcn.140002d2c
mov edi, eax
cmp eax, 7
je 0x140005446
call fcn.140002608
mov rcx, rax
test edi, edi
je 0x1400054c3
mov r8d, edi
lea rdx, str.Moving_destDir_to_tmpDir_failed__err:__d
call fcn.14000a0ec
mov eax, edi
jmp 0x140005608
lea r9, [rsp + 0x30]
lea r8, [rbp + 0x560]
lea rdx, str.Begin_moving_newDir___S__to_destDir___S_
call fcn.14000a0ec
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x560]
call fcn.140002d2c
mov ebx, eax
call fcn.140002608
mov rcx, rax
test ebx, ebx
je 0x140005564
mov r8d, ebx
lea rdx, str.Moving_newDir_to_destDir_failed__err:__d
call fcn.14000a0ec
call fcn.140002608
mov rcx, rax
lea rdx, str.Now__try_to_move_tmpDir_back_to_destDir
call fcn.14000a0ec
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400029fc
mov r8b, 1
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x140]
call fcn.140002d2c
mov edi, eax
test eax, eax
je 0x14000555d
call fcn.140002608
mov rcx, rax
lea rdx, str.Moving_tmpDir_back_to_destDir_failed__err:__d
mov r8d, edi
call fcn.14000a0ec
mov eax, ebx
jmp 0x140005608
lea rdx, str.Now__remove_the_tmpDir
call fcn.14000a0ec
mov dl, 1
lea rcx, [rbp + 0x140]
call fcn.1400029fc
mov ebx, eax
test eax, eax
je 0x1400055ff
call fcn.140002608
mov rcx, rax
lea rdx, str.Removing_tmpDir_failed__err:__d
mov r8d, ebx
call fcn.14000a0ec
lea rax, str.tobedeleted
mov rdx, r14
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r8, [0x1400336a8]
lea rcx, [rbp + 0x350]
call fcn.1400025a4
lea rcx, [rbp + 0x350]
call fcn.1400129d0
xor edx, edx
lea rcx, [rbp + 0x350]
call fcn.140012210
test eax, eax
je 0x1400055ec
lea rcx, [rbp + 0x350]
call fcn.1400122d0
lea rdx, [rbp + 0x350]
lea rcx, [rbp + 0x140]
call fcn.140002e9c
mov byte [0x14003c180], 1
xor eax, eax
mov rcx, qword [rbp + 0x770]
xor rcx, rsp
call fcn.14000d4c0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret