Function at 0x140015050
Capabilities:
Create directory
Delete directory

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40b0]
mov eax, 0x41b0
call fcn.140039d50
sub rsp, rax
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x41f8], rbx
mov rax, qword [0x140079258]
xor rax, rsp
mov qword [rbp + 0x40a0], rax
mov rsi, r8
mov rdi, rcx
mov qword [rbp + 0x98], 7
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov word [rbp + 0x80], r15w
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
xor r9d, r9d
mov r8, rdx
lea rdx, [rbp + 0x80]
add rcx, 0xfffffffffffffff0
call fcn.1400181b0
test al, al
je 0x1400156ef
xor r9d, r9d
mov r8, rsi
lea rdx, [rbp + 0x40]
lea rcx, [rdi - 0x10]
call fcn.1400181b0
test al, al
je 0x1400156ef
xor r9d, r9d
mov r8, rsi
lea rdx, [rbp + 0x60]
lea rcx, [rdi - 0x10]
call fcn.140010a00
test al, al
je 0x1400156ef
cmp qword [rbp + 0x70], 3
jne 0x1400151e1
or rax, 0xffffffffffffffff
sub rax, qword [rbp + 0x50]
cmp rax, 1
ja 0x14001514d
lea rcx, str.string_too_long
call fcn.14004b72c
int3
mov rbx, qword [rbp + 0x50]
inc rbx
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x140015170
lea rcx, str.string_too_long
call fcn.14004b72c
int3
mov rdx, qword [rbp + 0x58]
cmp rdx, rbx
jae 0x14001518b
mov r8, qword [rbp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x40]
call fcn.140003f40
jmp 0x1400151a5
test rbx, rbx
jne 0x1400151ae
mov qword [rbp + 0x50], r15
lea rax, [rbp + 0x40]
cmp rdx, 8
cmovae rax, qword [rbp + 0x40]
mov word [rax], r15w
mov rdx, qword [rbp + 0x58]
test rbx, rbx
je 0x140015217
lea rcx, [rbp + 0x40]
cmp rdx, 8
cmovae rcx, qword [rbp + 0x40]
mov edx, 0x5c
mov rax, qword [rbp + 0x50]
mov word [rcx + rax*2], dx
mov qword [rbp + 0x50], rbx
lea rax, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rax, qword [rbp + 0x40]
mov word [rax + rbx*2], r15w
jmp 0x140015217
mov rax, qword [rbp + 0x70]
lea rdx, [rax - 1]
cmp rdx, rax
ja 0x140015207
mov qword [rbp + 0x70], rdx
lea rax, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rax, qword [rbp + 0x60]
mov word [rax + rdx*2], r15w
jmp 0x140015217
xor r8d, r8d
sub rdx, qword [rbp + 0x70]
lea rcx, [rbp + 0x60]
call fcn.140009d70
mov rcx, qword [rbp + 0x50]
add rcx, qword [rbp + 0x70]
lea r14, [rcx*2 + 0x14]
cmp r14, 0x4000
jbe 0x1400152e0
movabs rax, 0xf35f747b3b21fa3e
mov qword [rsp + 0x40], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x48], rax
lea rax, str.winnt_dir::CreateSymLink
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x335
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x10], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov r9, rax
mov r8d, 0x4000a
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.140033ba0
nop
mov rcx, qword [rdi - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400157ad
nop dword [rax]
lock dec dword [rcx]
jne 0x1400157ad
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400152c0
jmp 0x1400157ad
mov rax, qword [rdi - 8]
movsxd r8, dword [rax + 4]
add r8, rdi
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x70]
call fcn.14002f550
nop
mov rax, qword [rdi - 8]
movsxd rcx, dword [rax + 4]
mov rax, qword [rcx + rdi]
test rax, rax
je 0x140015318
cmp dword [rax + 4], 0
jne 0x1400156e0
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140015407
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140015407
movabs rax, 0xf35f747b3b21fa49
mov qword [rsp + 0x40], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x48], rax
lea rax, str.winnt_dir::CreateSymLink
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x340
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x50], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4000a
lea r9, [rbp + 0x80]
lea r8, [0x14005afa8]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.1400147a0
nop
mov rcx, qword [rdi - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400156e0
lock dec dword [rcx]
jne 0x1400156e0
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400153e7
jmp 0x1400156e0
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2200000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140015510
movabs rax, 0xf35f747b3b21fa50
mov qword [rsp + 0x40], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x48], rax
lea rax, str.winnt_dir::CreateSymLink
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x347
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x10], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4000a
lea r9, [rbp + 0x80]
lea r8, str.OpenDirectoryW
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x78]
call fcn.1400147a0
nop
mov rcx, qword [rdi - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400156a0
nop word [rax + rax]
lock dec dword [rcx]
jne 0x1400156a0
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x1400154f0
jmp 0x1400156a0
xor edx, edx
mov r8d, 0x4000
lea rcx, [rbp + 0xa0]
call fcn.140038e90
mov dword [rbp + 0xa0], 0xa0000003
lea eax, [r14 - 8]
mov word [rbp + 0xa4], ax
movzx eax, word [rbp + 0x50]
add ax, ax
mov word [rbp + 0xaa], ax
add ax, 2
mov word [rbp + 0xac], ax
movzx eax, word [rbp + 0x70]
add ax, ax
mov word [rbp + 0xae], ax
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
mov rbx, qword [rbp + 0x50]
lea r8, [rbx + rbx]
lea rcx, [rbp + 0xb0]
call fcn.140037ce0
mov eax, 0x3f
mov word [rbp + 0xb2], ax
lea rdx, [rbp + 0x60]
cmp qword [rbp + 0x78], 8
cmovae rdx, qword [rbp + 0x60]
mov r8, qword [rbp + 0x70]
add r8, r8
lea rcx, [rbp + 0xb2]
lea rcx, [rcx + rbx*2]
call fcn.140037ce0
mov qword [rsp + 0x38], r15
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, r14d
lea r8, [rbp + 0xa0]
mov edx, 0x900a4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400156bf
movabs rax, 0xf35f747b3b21fa63
mov qword [rsp + 0x40], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x48], rax
lea rax, str.winnt_dir::CreateSymLink
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x35a
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x30], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x4000a
lea r9, [rbp + 0x80]
lea r8, str.FSCTL_SET_REPARSE_POINT
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x68]
call fcn.1400147a0
nop
mov rcx, qword [rdi - 8]
movsxd rcx, dword [rcx + 4]
add rcx, rdi
mov rdx, rax
call fcn.1400064c0
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140015697
lock dec dword [rcx]
jne 0x140015697
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140015680
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rcx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400156e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rdi - 8]
movsxd rcx, dword [rax + 4]
add rcx, rdi
lea rdx, [0x14007bf60]
call fcn.1400064c0
nop
lea rcx, [rsp + 0x70]
call fcn.14002f6c0
jmp 0x1400157ad
movabs rax, 0xf35f747b3b21fa33
mov qword [rsp + 0x40], rax
lea rax, str.c:jaworkspacecommon_ati_cdp4443product_filewindowswinnt_dir.cpp
mov qword [rsp + 0x48], rax
lea rax, str.winnt_dir::CreateSymLink
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x32a
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x40], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x30], xmm1
lea rcx, method.i_file.virtual_0
call fcn.140005930
mov r9, rax
mov r8d, 0x4000a
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140033ba0
nop
mov rcx, qword [rdi - 8]
movsxd rsi, dword [rcx + 4]
add rsi, rdi
mov rdi, qword [rax]
test rdi, rdi
je 0x14001576a
lock inc dword [rdi]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140015789
lock dec dword [rcx]
jne 0x140015789
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140015772
mov qword [rsi], rdi
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400157ad
lock dec dword [rcx]
jne 0x1400157ad
mov rbx, qword [rcx + 8]
mov rax, qword [rcx + 0x10]
call qword [rax]
mov rcx, rbx
test rbx, rbx
jne 0x140015796
cmp qword [rbp + 0x78], 8
jb 0x1400157bd
mov rcx, qword [rbp + 0x60]
call fcn.1400376e4
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
cmp qword [rbp + 0x58], 8
jb 0x1400157de
mov rcx, qword [rbp + 0x40]
call fcn.1400376e4
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
cmp qword [rbp + 0x98], 8
jb 0x140015805
mov rcx, qword [rbp + 0x80]
call fcn.1400376e4
mov rcx, qword [rbp + 0x40a0]
xor rcx, rsp
call fcn.140038d80
mov rbx, qword [rsp + 0x41f8]
add rsp, 0x41b0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret