Function at 0x1400067dc
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140050040]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
call fcn.1400014ec
xor r14d, r14d
mov rcx, rax
test rax, rax
je 0x140006abb
mov rax, qword [rax]
call qword [rax + 0x18]
lea r8d, [r14 + 1]
mov edx, 0x104
lea rcx, [rax + 0x18]
mov qword [rbp - 0x40], rcx
mov eax, dword [rcx - 0xc]
sub r8d, dword [rcx - 8]
sub eax, edx
or r8d, eax
jge 0x14000684c
lea rcx, [rbp - 0x40]
call fcn.140001b94
mov rcx, qword [rbp - 0x40]
mov rdx, rbx
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeW]
mov rcx, qword [rbp - 0x40]
mov ebx, eax
test rcx, rcx
jne 0x140006865
mov eax, r14d
jmp 0x14000687a
movsxd rdx, dword [rcx - 0xc]
call fcn.14003042c
test eax, eax
js 0x140006ac6
mov rcx, qword [rbp - 0x40]
cmp eax, dword [rcx - 0xc]
jg 0x140006ac6
mov dword [rcx - 0x10], eax
or r15d, 0xffffffff
mov ecx, eax
mov rax, qword [rbp - 0x40]
mov word [rax + rcx*2], r14w
test ebx, ebx
jne 0x1400068a3
mov edi, 0x80004005
jmp 0x140006a73
mov rax, qword [rbp - 0x40]
mov dil, r14b
mov rdx, rax
mov ecx, r14d
mov r13d, 0x5c
movsxd rbx, dword [rax - 0x10]
test ebx, ebx
jle 0x140006929
movsxd rsi, ecx
cmp word [rdx + rsi*2], 0x2f
jne 0x1400068fc
test dil, dil
jne 0x1400068f3
mov ecx, dword [rax - 0xc]
mov edx, 1
sub edx, dword [rax - 8]
sub ecx, ebx
or edx, ecx
mov dil, 1
jge 0x1400068f0
mov edx, ebx
lea rcx, [rbp - 0x40]
call fcn.140001b94
mov rax, qword [rbp - 0x40]
mov rdx, rax
mov word [rdx + rsi*2], r13w
mov rax, qword [rbp - 0x40]
lea rcx, [rsi*2 + 2]
sar rcx, 1
cmp ecx, ebx
jl 0x1400068be
test dil, dil
je 0x140006929
cmp ebx, dword [rax - 0xc]
jg 0x140006ac6
mov dword [rax - 0x10], ebx
mov rax, qword [rbp - 0x40]
mov word [rax + rbx*2], r14w
mov rax, qword [rbp - 0x40]
cmp dword [rax - 0x10], r14d
jle 0x140006949
movzx ecx, word [rax]
mov rdi, rax
jmp 0x140006944
cmp cx, r13w
je 0x140006957
add rdi, 2
movzx ecx, word [rdi]
test cx, cx
jne 0x140006937
mov edi, r15d
cmp edi, r15d
jne 0x140006964
mov r8d, dword [rax - 0x10]
jmp 0x140006967
test rdi, rdi
je 0x140006949
sub rdi, rax
sar rdi, 1
jmp 0x14000694c
mov r8d, edi
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x40]
call fcn.140005478
mov rbx, qword [rbp - 0x38]
lea r8, [rbp - 0x30]
xorps xmm0, xmm0
xor eax, eax
mov rcx, rbx
mov dword [rbp - 0x10], eax
xor edx, edx
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
jne 0x1400069bc
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1400069bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x1400069bc
cmp eax, 0xb7
jne 0x140006a28
cmp edi, r15d
je 0x140006a54
add edi, 1
js 0x1400069df
mov rax, qword [rbp - 0x40]
cmp edi, dword [rax - 0x10]
jge 0x1400069df
movsxd rcx, edi
lea rdi, [rax + rcx*2]
test rdi, rdi
jne 0x140006a11
mov edi, r15d
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x1400069fe
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rbp - 0x40]
jmp 0x14000694c
cmp cx, r13w
je 0x140006a1b
add rdi, 2
movzx ecx, word [rdi]
test cx, cx
jne 0x140006a07
jmp 0x1400069df
test rdi, rdi
je 0x1400069df
sub rdi, rax
sar rdi, 1
jmp 0x1400069e2
movzx edi, ax
lea rdx, [rbx - 0x18]
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140006a73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140006a73
lea rdx, [rbx - 0x18]
mov eax, r15d
lock xadd dword [rdx + 0x10], eax
add eax, r15d
test eax, eax
jg 0x140006a70
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov edi, r14d
mov rdx, qword [rbp - 0x40]
mov ecx, r15d
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ecx
add ecx, r15d
test ecx, ecx
jg 0x140006a94
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140020030
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400013e0
int3
mov ecx, 0x80070057
call fcn.1400013e0
int3