Function at 0x1401354c4
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x68
xor r14d, r14d
lea rbx, str.base_stor_blbengine_blbengutils_blbnetworkutils.cpp
mov qword [rbp + 0x50], r14
mov r12, r8
mov qword [rbp + 0x58], r14
mov r13, rdx
mov qword [rbp + 0x60], r14
mov r15, rcx
mov edi, r14d
test rcx, rcx
jne 0x140135513
lea r8, str.wszDeviceName___NULL
mov edx, 0x239
mov rcx, rbx
call fcn.14008ac24
test r13, r13
jne 0x14013552c
lea r8, str.wszVolumeGuid___NULL
mov edx, 0x23a
mov rcx, rbx
call fcn.14008ac24
test r12, r12
jne 0x140135545
lea r8, str.pwszNetShareName___NULL
mov edx, 0x23b
mov rcx, rbx
call fcn.14008ac24
lea r8, [rbp + 0x58]
mov qword [r12], r14
mov rdx, r13
mov rcx, r15
call fcn.1401148b0
mov rsi, qword [rbp + 0x58]
mov ebx, eax
test eax, eax
js 0x140135976
lea rcx, [rbp - 0x20]
call fcn.140098724
mov ebx, eax
test eax, eax
js 0x140135976
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x18]
mov ebx, eax
test rcx, rcx
je 0x1401355a7
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov qword [rbp - 0x18], r14
test ebx, ebx
jne 0x140135609
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1401355c6
movzx ebx, ax
or ebx, 0x80070000
cmp ebx, 0x800700b7
jne 0x1401356d7
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140135609
test byte [rcx + 0x1c], 1
je 0x140135609
cmp byte [rcx + 0x19], 3
jb 0x140135609
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x1e
mov r9, rsi
call fcn.1400112c8
lea r8, [rbp + 0x50]
mov rcx, r15
lea rdx, [0x140157a78]
call fcn.14008bdcc
mov ebx, eax
test eax, eax
js 0x140135955
mov rax, qword [rbp + 0x50]
or rcx, 0xffffffffffffffff
mov rbx, rcx
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140135631
mov qword [rsp + 0x30], rcx
mov eax, 3
mov r8d, eax
mov dword [rsp + 0x28], 0x2200080
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov edx, 0xc0000000
mov rcx, rsi
add bx, bx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbp - 0x28], rax
cmp rax, 0xffffffffffffffff
jne 0x140135726
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
cmp rcx, r12
je 0x1401356b3
test byte [rcx + 0x1c], 1
je 0x1401356b3
lea edx, [rax + 3]
cmp byte [rcx + 0x19], dl
jb 0x1401356b3
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x21]
mov r9, rsi
lea r8, [0x140169608]
call fcn.1400112c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x14013595c
movzx ebx, ax
or ebx, 0x80070000
jmp 0x14013595c
mov rcx, qword [0x14017a048]
lea r12, [0x14017a048]
mov edi, 2
cmp rcx, r12
je 0x140135989
test byte [rcx + 0x1c], 1
je 0x140135989
cmp byte [rcx + 0x19], dil
jb 0x140135989
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x1d]
mov r9, rsi
mov dword [rsp + 0x20], ebx
lea r8, [0x140169608]
call fcn.140011330
jmp 0x140135982
mov ecx, 0x4000
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
xor ecx, ecx
mov r14, rax
test rax, rax
jne 0x14013574b
mov ebx, 0x8007000e
jmp 0x140135931
mov rdx, qword [rbp + 0x50]
mov dword [rax], 0xa0000003
lea eax, [rbx + 0xc]
mov word [r14 + 4], ax
mov eax, 2
add eax, ebx
mov word [r14 + 0xa], bx
mov dword [r14 + 6], ecx
mov word [r14 + 0xe], cx
lea rcx, [r14 + 0x10]
movzx ebx, bx
mov r8d, ebx
mov word [r14 + 0xc], ax
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbp - 0x28]
mov eax, 0x3f
mov word [r14 + 0x12], ax
mov r8, r14
xor eax, eax
shr rbx, 1
mov edx, 0x900a4
mov dword [r14 + rbx*2 + 0x10], eax
xor ebx, ebx
movzx r9d, word [r14 + 4]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], rbx
add r9d, 8
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x14013583d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1401357f3
movzx ebx, bx
or ebx, 0x80070000
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140135922
test byte [rcx + 0x1c], 1
je 0x140135922
mov eax, 2
cmp byte [rcx + 0x19], al
jb 0x140135922
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1f]
mov r9d, ebx
lea r8, [0x140169608]
call fcn.140006bc4
jmp 0x140135922
mov ecx, 0x208
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x140135860
mov ebx, 0x8007000e
jmp 0x140135922
xor edx, edx
mov r8d, 0x208
mov rcx, rdi
call sub.msvcrt.dll_memset
mov r9d, 0x104
lea r8, str.WsbMountedVolumes
mov edx, r9d
sub r8, rdi
mov rcx, rdi
mov esi, 2
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1401358ad
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1401358ad
mov word [rcx], ax
add rcx, rsi
sub rdx, 1
jne 0x14013588b
mov rsi, qword [rbp + 0x58]
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bx
mov rax, rdx
neg rax
sbb ebx, ebx
not ebx
and ebx, 0x8007007a
test rdx, rdx
je 0x140135922
lea r8, [0x140157a78]
mov rdx, r9
mov rcx, rdi
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135922
lea r8, [rbp + 0x60]
mov rdx, r13
mov rcx, r15
call fcn.1401145b4
xor r13d, r13d
mov ebx, eax
test eax, eax
js 0x140135922
mov r8, qword [rbp + 0x60]
mov edx, 0x104
mov rcx, rdi
call fcn.14005485c
mov ebx, eax
test eax, eax
js 0x140135922
mov qword [r12], rdi
mov edi, r13d
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test rdi, rdi
je 0x140135955
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea r12, [0x14017a048]
mov rax, qword [rbp + 0x50]
test rax, rax
je 0x140135976
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
jmp 0x14013597d
lea r12, [0x14017a048]
mov edi, 2
mov rcx, qword [0x14017a048]
test rsi, rsi
je 0x1401359a4
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
mov rax, qword [rbp + 0x60]
test rax, rax
je 0x1401359c3
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x1401359f4
cmp rcx, r12
je 0x1401359f4
test byte [rcx + 0x1c], 1
je 0x1401359f4
cmp byte [rcx + 0x19], dil
jb 0x1401359f4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140169608]
mov edx, 0x22
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140011330
mov eax, ebx
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret