Function at 0x7ff7ec564620
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rdi, rcx
mov rbx, 0xffffffffffffffff
test dl, dl
je 0x7ff7ec5647f7
mov r13, qword [rcx + 0x10]
mov r14, rcx
mov r15, qword [rcx + 0x18]
cmp r15, 0x10
jb 0x7ff7ec564669
mov r14, qword [rcx]
test r13, r13
je 0x7ff7ec5648fa
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rsi, [0x7ff7ec66a440]
mov rcx, rsi
lea rdx, [0x7ff7ec66a442]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x40], 1
inc rcx
cmp rcx, rdx
jne 0x7ff7ec5646a0
lea rax, [r13 - 1]
mov rcx, rbx
cmp rax, rbx
cmovb rcx, rax
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x40], 0
jne 0x7ff7ec5646e6
nop dword [rax + rax]
cmp rcx, r14
je 0x7ff7ec5648fa
dec rcx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x40], 0
je 0x7ff7ec5646d0
sub rcx, r14
cmp rcx, rbx
je 0x7ff7ec5648fa
mov r14, rdi
cmp r15, 0x10
jb 0x7ff7ec5646fe
mov r14, qword [rdi]
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x7ff7ec66a442]
nop word [rax + rax]
movzx eax, byte [rsi]
mov byte [rsp + rax + 0x40], 1
inc rsi
cmp rsi, rcx
jne 0x7ff7ec564720
lea rax, [r13 - 1]
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
add r8, r14
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
jne 0x7ff7ec564767
nop dword [rax]
cmp r8, r14
je 0x7ff7ec5647ea
dec r8
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
je 0x7ff7ec564750
sub r8, r14
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
cmp r13, r8
cmovb r8, r13
mov rdx, rdi
cmp r15, 0x10
jb 0x7ff7ec564798
mov rdx, qword [rdi]
lea rcx, [rsp + 0x20]
call fcn.7ff7ec5666c0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.7ff7ec5642f0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x7ff7ec5647f7
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7ec5647f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7ec5647f2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, rbx
jmp 0x7ff7ec56476a
call fcn.7ff7ec61e988
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x7ff7ec564804
mov r8, qword [rdi]
mov edx, 0x104
mov r9d, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll_strncpy_s]
lea rax, [rsp + 0x40]
nop dword [rax]
lea rbx, [rbx + 1]
cmp byte [rax + rbx], 0
jne 0x7ff7ec564820
cmp byte [rsp + rbx + 0x3f], 0x2f
jne 0x7ff7ec564836
mov byte [rsp + rbx + 0x3f], 0
lea rbx, [rsp + 0x40]
movzx eax, byte [rsp + 0x40]
test al, al
je 0x7ff7ec564878
cmp al, 0x2f
je 0x7ff7ec56484c
cmp al, 0x5c
jne 0x7ff7ec56486e
mov byte [rbx], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll__access]
test eax, eax
je 0x7ff7ec56486b
lea rcx, [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll__mkdir]
mov byte [rbx], 0x5c
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x7ff7ec564844
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll__access]
test eax, eax
je 0x7ff7ec564895
lea rcx, [rsp + 0x40]
call qword [sym.imp.ucrtbase.dll__mkdir]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x7ff7ec5648cb
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x7ff7ec5648c6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff7ec564906
mov rcx, r8
call fcn.7ff7ec61e988
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
cmp r15, 0x10
jb 0x7ff7ec5648cb
lea rdx, [r15 + 1]
jmp 0x7ff7ec5648a2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3