Function at 0x14003e8a0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
mov rax, qword [0x1400f0180]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rbx, rdx
mov r14, rcx
xor r15d, r15d
xor sil, sil
lea rdi, [rdx + 0x10]
cmp qword [rdi], r15
je 0x14003eb69
mov r8b, 0x5c
lea edx, [r15 + 1]
lea rcx, [rbp - 0x31]
call fcn.140048f70
nop
mov r8, rax
mov rdx, r14
lea rcx, [rbp - 0x51]
call fcn.14004a930
nop
cmp qword [rbx + 0x18], 0x10
jb 0x14003e90a
mov rbx, qword [rbx]
mov r8, qword [rdi]
mov rdx, rbx
mov rcx, rax
call fcn.140006310
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 1], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x39]
cmp rdx, 0x10
jb 0x14003e983
inc rdx
mov rcx, qword [rbp - 0x51]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e97e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e97e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdad4
movdqa xmm0, xmmword [0x1400dac10]
movdqu xmmword [rbp - 0x41], xmm0
mov byte [rbp - 0x51], 0
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x14003e9d2
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003e9cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003e9cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdad4
movdqa xmm0, xmmword [0x1400dac10]
movdqu xmmword [rbp - 0x21], xmm0
mov byte [rbp - 0x31], 0
xor sil, sil
mov rax, qword [rbp - 1]
test rax, rax
sete cl
test rax, rax
je 0x14003eb2b
test cl, cl
jne 0x14003ea7c
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
call fcn.140035650
mov rdi, rax
test rax, rax
je 0x14003ea6d
mov rbx, qword [rax + 0x128]
test rbx, rbx
jne 0x14003ea2f
lea ecx, [rbx + 9]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_errno]
jmp 0x14003ea58
mov rcx, qword [rbx + 0x480]
cmp rcx, 0xffffffffffffffff
je 0x14003ea42
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbx + 0x488]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rdi + 0x128], r15
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003eb2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 2
jne 0x14003eb2b
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 0xf]
call fcn.140035c60
nop
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rcx, qword [rbp + 0xf]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14003eaa9
mov sil, 1
jmp 0x14003eae7
lea rdx, str.Error_creating_directory
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006530
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rdx, qword [rbp - 0x11]
mov r8, qword [rbp - 1]
mov rcx, rax
call fcn.14004d490
mov rcx, rax
lea rdx, [0x14004a8f0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14003eb2b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eb25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003eb25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdad4
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x14003eb69
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003eb64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003eb64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bdad4
movzx eax, sil
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400bd590
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret