Function at 0x14004d450
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x7f8]
sub rsp, 0x8f8
mov rax, qword [0x14006e040]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rbx, rdx
mov qword [rsp + 0x48], r9
mov r12, rcx
xor eax, eax
xor edx, edx
mov dword [rsp + 0x30], eax
lea rcx, [rbp + 0x3c0]
mov r8d, 0x201
call sub.VCRUNTIME140.dll_memset
mov r13, 0xffffffffffffffff
inc r13
cmp byte [rbx + r13], 0
jne 0x14004d4a6
lea rdi, [r13 + 1]
mov r14d, 0x200
cmp rdi, r14
jbe 0x14004d4c9
mov eax, 0xfffffffe
jmp 0x14004d860
xor edx, edx
mov qword [rsp + 0x940], rsi
mov r8d, 0x458
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8, rbx
lea rcx, [rbp + 0x3c0]
mov rdx, r14
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
movzx eax, byte [rbp + r13 + 0x3bf]
cmp al, 0x2f
je 0x14004d513
cmp al, 0x5c
je 0x14004d513
mov byte [rbp + r13 + 0x3c0], 0x5c
mov r13, rdi
mov rsi, r14
sub rsi, r13
cmp rsi, r14
cmovae rsi, r14
mov qword [rsp + 0x50], rsi
test r12, r12
je 0x14004d842
mov r14d, dword [r12 + 0x10]
lea rdi, [r12 + 0x10]
mov qword [rsp + 0x8f0], r15
xor r15d, r15d
test r14d, r14d
je 0x14004d83a
xor eax, eax
mov dword [rsp + 0x30], eax
xor ebx, ebx
mov rcx, qword [r12 + 0x68]
test rcx, rcx
je 0x14004d570
cmp r15d, dword [rdi]
jae 0x14004d570
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + rbx]
add r8, qword [rcx]
jmp 0x14004d573
xor r8d, r8d
lea r9, [rsp + 0x60]
mov edx, r15d
mov rcx, r12
call fcn.14004c9c0
test eax, eax
je 0x14004d832
lea rax, [rbp - 0x48]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x14004d596
xor r10d, r10d
lea r11, [rbp - 0x48]
xor edx, edx
xor r8d, r8d
test r9, r9
je 0x14004d828
movzx eax, byte [r11]
cmp al, 0x2f
je 0x14004d5c1
cmp al, 0x5c
jne 0x14004d5c6
inc r11
jmp 0x14004d5b5
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
movzx ecx, byte [r11 + r10]
cmp cl, 0x2f
je 0x14004d5f1
cmp cl, 0x5c
je 0x14004d5f1
lea rax, [r8 + rdx]
inc r8
mov byte [rbp + rax - 0x48], cl
jmp 0x14004d626
test r8, r8
je 0x14004d623
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d619
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d623
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d619
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d619
cmp byte [rbp + rdx - 0x46], 0
je 0x14004d623
add rdx, r8
mov byte [rbp + rdx - 0x48], cl
inc rdx
xor r8d, r8d
inc r10
cmp r10, r9
jb 0x14004d5d5
test r8, r8
je 0x14004d656
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d65b
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d656
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d65b
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d65b
cmp byte [rbp + rdx - 0x46], 0
jne 0x14004d65b
mov byte [rbp + rdx - 0x48], 0
lea rcx, [rbp + 0x3c0]
mov r9, rsi
add rcx, r13
lea r8, [rbp - 0x48]
mov rdx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
movzx edi, byte [rbp + 0x3c0]
mov rsi, qword [rbp + 0x3c1]
lea eax, [rdi - 0x41]
cmp al, 0x19
jbe 0x14004d691
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x14004d6a4
cmp sil, 0x3a
jne 0x14004d6a4
mov ebx, 1
mov r14d, 1
jmp 0x14004d6a9
xor ebx, ebx
xor r14d, r14d
xor edx, edx
lea rcx, [rbp + 0x5d0]
mov r8d, 0x201
call sub.VCRUNTIME140.dll_memset
test ebx, ebx
je 0x14004d6cf
mov byte [rbp + 0x5d0], dil
mov byte [rbp + 0x5d1], sil
add rbx, rbx
cmp byte [rbp + rbx + 0x3c0], 0
je 0x14004d75e
cmp rbx, 0x200
jge 0x14004d75e
movzx eax, byte [rbp + rbx + 0x3c0]
cmp al, 0x2f
je 0x14004d6f9
cmp al, 0x5c
jne 0x14004d742
test r14, r14
jne 0x14004d705
test rbx, rbx
jg 0x14004d70b
jmp 0x14004d742
cmp rbx, 2
jle 0x14004d742
lea rcx, [rbp + 0x5d0]
call fcn.14004b9e0
mov rcx, rax
mov rsi, rax
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov rcx, rsi
mov edi, eax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp edi, 0xffffffff
jne 0x14004d742
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x14004d814
movzx eax, byte [rbp + rbx + 0x3c0]
mov byte [rbp + rbx + 0x5d0], al
inc rbx
cmp byte [rbp + rbx + 0x3c0], 0
jne 0x14004d6e0
movzx eax, word [rsp + 0x70]
mov ecx, 0xffef
shr ax, 8
sub ax, 3
test cx, ax
jne 0x14004d77e
test dword [rbp - 0x64], 0x20000000
jne 0x14004d7da
mov rdx, qword [r12 + 0x68]
test rdx, rdx
je 0x14004d7bb
mov rax, qword [rsp + 0x40]
cmp r15d, dword [rax]
jae 0x14004d7bb
mov rax, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rax + rcx]
add rcx, qword [rdx]
je 0x14004d7bb
movzx eax, word [rcx + 0x1c]
test ax, ax
je 0x14004d7b3
cmp byte [rax + rcx + 0x2d], 0x2f
je 0x14004d7da
test byte [rcx + 0x26], 0x10
je 0x14004d7c4
jmp 0x14004d7da
mov dword [r12 + 0x1c], 0x18
lea r8, [rbp + 0x3c0]
mov edx, r15d
mov rcx, r12
call fcn.14004d2b0
test eax, eax
je 0x14004d81e
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x3c0]
call fcn.14004e4e0
test eax, eax
js 0x14004d83a
mov rbx, qword [rsp + 0x38]
inc r15d
mov r14d, dword [rsp + 0x34]
add rbx, 4
cmp r15d, r14d
jae 0x14004d83a
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x14004d554
mov dword [rsp + 0x30], 0xffffffe9
jmp 0x14004d83a
mov dword [rsp + 0x30], 0xffffffed
jmp 0x14004d83a
mov dword [rsp + 0x30], 0xfffffffe
jmp 0x14004d83a
mov dword [rsp + 0x30], 0xfffffffd
mov r15, qword [rsp + 0x8f0]
mov rcx, r12
call fcn.14004c610
mov rsi, qword [rsp + 0x940]
test eax, eax
mov eax, dword [rsp + 0x30]
mov ecx, 0xffffffe7
cmove eax, ecx
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.140058b30
add rsp, 0x8f8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret