Function at 0x14000b9e0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x228]
sub rsp, 0x328
mov rax, qword [0x14003f0b8]
xor rax, rsp
mov qword [rbp + 0x210], rax
xor eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
mov r13d, r8d
mov dword [rsp + 0x44], eax
mov r12, rdx
mov r14d, ecx
mov r15d, eax
mov esi, eax
test cl, 0x10
je 0x14000ba3f
mov eax, ecx
and al, 0x40
neg al
sbb ecx, ecx
not ecx
and ecx, 3
call fcn.14000f3b0
mov ebx, 0x104
lea rcx, [rbp]
mov edx, ebx
mov r8, r12
call qword [sym.imp.msvcrt.dll_wcscpy_s]
nop dword [rax + rax]
lea r8, str.Logs_bfsvc_repair.log
mov edx, ebx
lea rcx, [rbp]
call qword [sym.imp.msvcrt.dll_wcscat_s]
nop dword [rax + rax]
xor r8d, r8d
mov eax, 1
cmp dword [0x14003f878], r8d
jne 0x14000bb14
lea rcx, [rbp]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rcx + rbx*2], r8w
jne 0x14000ba8f
sub rbx, rax
je 0x14000bb14
mov ecx, 0x5c
cmp word [rbp + rbx*2], cx
je 0x14000baaf
sub rbx, rax
jne 0x14000baa3
test rbx, rbx
je 0x14000bb14
xor edx, edx
mov word [rbp + rbx*2], r8w
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop dword [rax + rax]
mov eax, 0x5c
lea r8, [0x1400326bc]
lea rdx, [rbp]
mov word [rbp + rbx*2], ax
lea rcx, [0x14003f888]
call qword [sym.imp.msvcrt.dll__wfopen_s]
nop dword [rax + rax]
mov eax, dword [0x14003f878]
xor r8d, r8d
cmp qword [0x14003f888], r8
lea r9d, [r8 + 1]
cmovne eax, r9d
mov dword [0x14003f878], eax
jmp 0x14000bb17
mov r9, rax
mov dword [rsp + 0x30], r9d
lea rdx, str.True
test rdi, rdi
lea rcx, str.None
lea rax, str.False
mov r9, r12
cmovne rcx, rdi
mov r8d, r14d
mov qword [rsp + 0x28], rcx
test r13d, r13d
mov ecx, 2
cmovne rax, rdx
lea rdx, str.BfsRepairSystemPartition_flags_0x_08x___system_root:__ws__online:__ws__boot_files:__ws__caller:__d
mov qword [rsp + 0x20], rax
call fcn.14000f424
lea rdx, [rsp + 0x40]
call fcn.14000b634
xor r14d, r14d
mov ebx, eax
cmp dword [rsp + 0x40], esi
cmovne r14d, eax
call fcn.14000b3fc
test eax, eax
jne 0x14000bbe1
lea rdx, str.BfsRepair:_BCD_failed_validation_check_after_file_system_repair.
mov dword [rsp + 0x44], 1
lea ecx, [rax + 3]
call fcn.14000f424
neg r13d
mov rcx, r12
sbb edx, edx
xor r9d, r9d
and edx, 0x8000
xor r8d, r8d
add edx, 0x5144
call fcn.14000b018
xor r13d, r13d
test eax, eax
jne 0x14000bbe4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, str.BfsRepair:_Failed_to_repair_BCD_store._Error:__08x
lea ecx, [r13 + 4]
mov r15d, eax
call fcn.14000f424
jmp 0x14000bbe4
xor r13d, r13d
test rdi, rdi
je 0x14000bc24
mov edx, 0x10c
mov rcx, rdi
mov r12d, 1
call fcn.14000c050
test eax, eax
jne 0x14000bc27
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov r8d, eax
lea rdx, str.BfsRepair:_Failed_to_service_boot_files._Error:__08x
lea ecx, [r12 + 3]
mov esi, eax
call fcn.14000f424
jmp 0x14000bc27
mov r12d, esi
call fcn.140010360
test eax, eax
js 0x14000bd5e
cmp dword [0x14003f020], 5
jbe 0x14000bd3d
movabs rdx, 0x800000000000
test qword [0x14003f030], rdx
je 0x14000bd3d
mov rax, qword [0x14003f038]
and rax, rdx
cmp rax, qword [0x14003f038]
jne 0x14000bd3d
mov eax, 1
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x70], rax
lea rax, [rsp + 0x4c]
mov qword [rbp - 0x60], rax
lea rax, [rsp + 0x44]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rbp - 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rbp - 0x20], rax
lea rax, [rsp + 0x5c]
mov qword [rbp - 0x10], rax
mov dword [rsp + 0x50], r15d
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x5c], ebx
mov qword [rbp - 0x78], 4
mov qword [rbp - 0x68], 4
mov qword [rbp - 0x58], 4
mov qword [rbp - 0x48], 4
mov qword [rbp - 0x38], 4
mov qword [rbp - 0x28], 4
mov qword [rbp - 0x18], 4
mov qword [rbp - 8], 4
lea rax, [rsp + 0x60]
lea rdx, [0x14003aca9]
mov qword [rsp + 0x28], rax
call fcn.140004008
mov rcx, qword [0x14003f040]
call qword [sym.imp.ADVAPI32.dll_EventUnregister]
nop dword [rax + rax]
mov qword [0x14003f040], r13
mov dword [0x14003f020], r13d
cmp dword [0x14003f878], r13d
je 0x14000bd88
mov rcx, qword [0x14003f888]
call qword [sym.imp.msvcrt.dll_fclose]
nop dword [rax + rax]
mov qword [0x14003f888], r13
mov dword [0x14003f878], r13d
call fcn.14000f358
test ebx, ebx
je 0x14000bda3
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
jmp 0x14000bda8
mov eax, 1
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140026f10
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret