Function at 0x140097e3c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov al, dl
mov byte [rbp - 0x40], 1
xor edx, edx
xor ecx, ecx
or r12, 0xffffffffffffffff
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x30], rdx
xorps xmm0, xmm0
mov qword [rbp - 0x38], rdx
mov rdi, r9
mov qword [rbp - 0x20], rdx
mov ebx, edx
mov dword [rbp - 0x3c], edx
mov r15d, edx
mov qword [rbp - 8], rcx
mov r14d, edx
mov esi, edx
mov r13d, edx
movups xmmword [rbp - 0x18], xmm0
test al, al
je 0x140097fa7
test r8b, r8b
je 0x140097f90
test r9, r9
jne 0x140097ec6
lea r8, str.wszUserName
mov edx, 0x80
lea rcx, str.base_stor_blbutil_fileutils.cpp
call fcn.1400906e0
mov rcx, qword [rbp + 0x40]
lea rdx, [rbp - 0x20]
call fcn.140090cf4
mov r13, qword [rbp - 0x20]
mov ebx, eax
test eax, eax
js 0x14009803a
lea r8, [rbp - 0x40]
mov rdx, r13
mov rcx, rdi
call fcn.14009e490
mov ebx, eax
test eax, eax
js 0x14009803a
mov rcx, rdi
cmp byte [rbp - 0x40], sil
jne 0x140097f47
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x28]
call fcn.14009ef60
mov r15, qword [rbp - 0x28]
xor edi, edi
mov ebx, eax
test eax, eax
js 0x140097f3e
xor r8d, r8d
lea rdx, [rbp - 0x38]
mov rcx, r15
call fcn.140091bf0
mov r14, qword [rbp - 0x30]
mov ebx, eax
test eax, eax
jns 0x140097f5b
mov rsi, qword [rbp - 0x38]
jmp 0x140097fe4
mov r14, qword [rbp - 0x30]
jmp 0x140097fe4
xor r8d, r8d
lea rdx, [rbp - 0x38]
call fcn.140091bf0
xor edi, edi
mov ebx, eax
test eax, eax
js 0x140097f87
mov rsi, qword [rbp - 0x38]
lea rax, [rbp - 0x3c]
mov r8b, byte [rbp - 0x40]
lea r9, [rbp - 0x18]
mov rcx, qword [rbp + 0x40]
mov rdx, rsi
mov qword [rsp + 0x20], rax
call fcn.14009df24
mov ebx, eax
test eax, eax
js 0x140097fe4
mov al, byte [rbp + 0x48]
jmp 0x140097fa9
mov rsi, qword [rbp - 0x38]
jmp 0x140098020
lea rcx, [rbp - 0x18]
call fcn.14009dea8
xor edi, edi
mov ebx, eax
test eax, eax
js 0x14009808a
jmp 0x140097f82
xor edi, edi
mov rcx, qword [rbp + 0x40]
neg al
lea rax, [rbp - 0x18]
sbb rdx, rdx
and rdx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x140097fe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140097fe4
movzx ebx, ax
or ebx, 0x80070000
test r15, r15
je 0x140098002
mov rcx, r12
inc rcx
cmp word [r15 + rcx*2], di
jne 0x140097fec
add rcx, rcx
xor eax, eax
mov rdi, r15
rep stosb byte [rdi], al
xor edi, edi
test r14, r14
je 0x140098020
mov rcx, r12
inc rcx
cmp word [r14 + rcx*2], di
jne 0x14009800a
add rcx, rcx
xor eax, eax
mov rdi, r14
rep stosb byte [rdi], al
xor edi, edi
test rsi, rsi
je 0x14009803a
inc r12
cmp word [rsi + r12*2], di
jne 0x140098025
lea rcx, [r12 + r12]
mov rdi, rsi
xor eax, eax
rep stosb byte [rdi], al
test r13, r13
je 0x14009804e
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r15, r15
je 0x140098062
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x140098076
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x14009808a
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
lea rcx, [rbp - 0x18]
call fcn.14009e45c
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret