Function at 0x140003330
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x150]
sub rsp, 0x250
mov rdi, rcx
mov rbx, 0xffffffffffffffff
test dl, dl
je 0x1400034ea
mov r13, qword [rcx + 0x10]
mov r14, rcx
mov r15, qword [rcx + 0x18]
cmp r15, 0xf
jbe 0x14000337a
mov r14, qword [rcx]
test r13, r13
je 0x1400035f1
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rsi, [0x1400c71f0]
mov rcx, rsi
lea r12, [0x1400c71f2]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x50], 1
inc rcx
cmp rcx, r12
jne 0x1400033b0
lea rax, [r13 - 1]
mov rcx, rbx
cmp rax, rbx
cmovb rcx, rax
add rcx, r14
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x50], 0
jne 0x1400033f6
nop dword [rax + rax]
cmp rcx, r14
je 0x1400035f1
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax + 0x50], 0
je 0x1400033e0
sub rcx, r14
cmp rcx, rbx
je 0x1400035f1
mov r14, rdi
cmp r15, 0xf
jbe 0x14000340e
mov r14, qword [rdi]
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
nop
movzx eax, byte [rsi]
mov byte [rbp + rax + 0x50], 1
inc rsi
cmp rsi, r12
jne 0x140003420
lea rax, [r13 - 1]
mov r8, rbx
cmp rax, rbx
cmovb r8, rax
add r8, r14
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x50], 0
jne 0x140003467
nop dword [rax]
cmp r8, r14
je 0x1400034e0
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x50], 0
je 0x140003450
sub r8, r14
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
cmp r13, r8
cmovb r8, r13
mov rdx, rdi
cmp r15, 0xf
jbe 0x14000348e
mov rdx, qword [rdi]
lea rcx, [rsp + 0x20]
call fcn.140002540
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140003100
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400034ea
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400034e5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400034e5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r8, rbx
jmp 0x14000346a
call fcn.14007b868
mov r8, rdi
lea rsi, [rdi + 0x18]
cmp qword [rsi], 0xf
jbe 0x1400034fa
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]
lea rbx, [rbx + 1]
cmp byte [rax + rbx], 0
jne 0x140003512
cmp byte [rsp + rbx + 0x3f], 0x2f
jne 0x140003528
mov byte [rsp + rbx + 0x3f], 0
lea rbx, [rsp + 0x40]
movzx eax, byte [rsp + 0x40]
test al, al
je 0x14000356e
cmp al, 0x2f
je 0x14000353e
cmp al, 0x5c
jne 0x140003560
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 0x14000355d
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 0x140003536
lea rsi, [rdi + 0x18]
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 0x14000358b
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__mkdir]
nop
mov rdx, qword [rsi]
cmp rdx, 0xf
jbe 0x1400035c4
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400035bf
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000362e
mov rcx, r8
lea rsi, [rdi + 0x18]
call fcn.14007b868
mov qword [rsi], 0xf
mov byte [rdi], 0
mov qword [rdi + 0x10], 0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp r15, 0xf
jbe 0x140003624
lea rdx, [r15 + 1]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000361f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000362e
mov rcx, r8
call fcn.14007b868
mov qword [rdi + 0x18], 0xf
jmp 0x1400035cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3