Function at 0x1400067f4
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
sub rsp, 0x20
mov rax, qword [section..data]
mov rdi, rcx
lea rcx, section..data
call qword [rax + 0x18]
mov r8d, 1
mov edx, 0x104
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov eax, dword [rbx - 0xc]
sub r8d, dword [rbx - 8]
sub eax, edx
or r8d, eax
jge 0x14000684b
lea rcx, [rsp + 0x50]
call fcn.14000422c
mov rbx, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
test eax, eax
sete dil
test rbx, rbx
jne 0x140006866
xor eax, eax
jmp 0x140006876
mov rcx, rbx
call fcn.14001be70
test eax, eax
js 0x140006a65
cmp eax, dword [rbx - 0xc]
jg 0x140006a65
mov dword [rbx - 0x10], eax
cdqe
and word [rbx + rax*2], 0
test dil, dil
je 0x1400068c3
or ebp, 0xffffffff
lea rdx, [rbx - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x1400068ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, 0x80004005
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r12
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x50]
call fcn.14000705c
mov rbx, qword [rsp + 0x50]
or ebp, 0xffffffff
lea r12, [rbx - 0x10]
cmp dword [r12], 0
jle 0x14000690c
movzx eax, word [rbx]
mov rsi, rbx
jmp 0x1400068f5
cmp ax, 0x5c
je 0x140006907
add rsi, 2
mov ax, word [rsi]
test ax, ax
jne 0x1400068e8
xor eax, eax
cmp word [rsi], 0x5c
cmove rax, rsi
mov rsi, rax
test rsi, rsi
jne 0x140006910
mov esi, ebp
jmp 0x140006916
sub rsi, rbx
sar rsi, 1
cmp esi, ebp
jne 0x140006920
mov r8d, dword [r12]
jmp 0x140006923
mov r8d, esi
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1400071c4
mov rdi, qword [rsp + 0x58]
mov rcx, rdi
call fcn.1400055e0
test al, al
jne 0x140006964
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140006964
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140006964
cmp eax, 0xb7
jne 0x1400069d6
cmp esi, ebp
je 0x140006a25
lea eax, [rsi + 1]
test eax, eax
js 0x140006984
cmp eax, dword [r12]
jge 0x140006984
cdqe
lea rsi, [rbx + rax*2]
test rsi, rsi
jne 0x1400069b4
mov esi, ebp
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x1400069a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x50]
jmp 0x140006916
cmp ax, 0x5c
je 0x1400069c9
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x1400069aa
xor eax, eax
cmp word [rsi], 0x5c
cmove rax, rsi
mov rsi, rax
test rsi, rsi
je 0x140006984
sub rsi, rbx
sar rsi, 1
jmp 0x140006986
movzx ebx, ax
lea rdx, [rdi - 0x18]
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x1400069fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x50]
mov ecx, ebp
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, ebp
test ecx, ecx
jg 0x140006a1e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, ebx
jmp 0x1400068b0
lea rdx, [rdi - 0x18]
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x140006a3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x50]
mov eax, ebp
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], eax
add eax, ebp
test eax, eax
jg 0x140006a5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x1400068b0
mov ecx, 0x80070057
call fcn.140001000
int3