Function at 0x1400035c0
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 0x140003797
mov r13, qword [rcx + 0x10]
mov r14, rcx
mov r15, qword [rcx + 0x18]
cmp r15, 0x10
jb 0x140003609
mov r14, qword [rcx]
test r13, r13
je 0x14000389a
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rsi, [0x1400df180]
mov rcx, rsi
lea rdx, [0x1400df182]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rsp + rax + 0x40], 1
inc rcx
cmp rcx, rdx
jne 0x140003640
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 0x140003686
nop dword [rax + rax]
cmp rcx, r14
je 0x14000389a
dec rcx
movzx eax, byte [rcx]
cmp byte [rsp + rax + 0x40], 0
je 0x140003670
sub rcx, r14
cmp rcx, rbx
je 0x14000389a
mov r14, rdi
cmp r15, 0x10
jb 0x14000369e
mov r14, qword [rdi]
xor edx, edx
mov r8d, 0x100
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400df182]
nop word [rax + rax]
movzx eax, byte [rsi]
mov byte [rsp + rax + 0x40], 1
inc rsi
cmp rsi, rcx
jne 0x1400036c0
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 0x140003707
nop dword [rax]
cmp r8, r14
je 0x14000378a
dec r8
movzx eax, byte [r8]
cmp byte [rsp + rax + 0x40], 0
je 0x1400036f0
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 0x140003738
mov rdx, qword [rdi]
lea rcx, [rsp + 0x20]
call fcn.140004420
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003130
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140003797
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003792
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, rbx
jmp 0x14000370a
call fcn.1400953e4
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400037a4
mov r8, qword [rdi]
mov edx, 0x104
mov r9d, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
lea rax, [rsp + 0x40]
nop dword [rax]
lea rbx, [rbx + 1]
cmp byte [rax + rbx], 0
jne 0x1400037c0
cmp byte [rsp + rbx + 0x3f], 0x2f
jne 0x1400037d6
mov byte [rsp + rbx + 0x3f], 0
lea rbx, [rsp + 0x40]
movzx eax, byte [rsp + 0x40]
test al, al
je 0x140003818
cmp al, 0x2f
je 0x1400037ec
cmp al, 0x5c
jne 0x14000380e
mov byte [rbx], 0
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x14000380b
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
mov byte [rbx], 0x5c
inc rbx
movzx eax, byte [rbx]
test al, al
jne 0x1400037e4
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access]
test eax, eax
je 0x140003835
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x14000386b
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140003866
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400038a6
mov rcx, r8
call fcn.1400953e4
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 0x14000386b
lea rdx, [r15 + 1]
jmp 0x140003842
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3