Function at 0x14004d4e0
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 [0x140073040]
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 0x14004d536
lea rdi, [r13 + 1]
mov r14d, 0x200
cmp rdi, r14
jbe 0x14004d559
mov eax, 0xfffffffe
jmp 0x14004d8f0
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 0x14004d5a3
cmp al, 0x5c
je 0x14004d5a3
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 0x14004d8d2
mov r14d, dword [r12 + 0x10]
lea rdi, [r12 + 0x10]
mov qword [rsp + 0x8f0], r15
xor r15d, r15d
test r14d, r14d
je 0x14004d8ca
xor eax, eax
mov dword [rsp + 0x30], eax
xor ebx, ebx
mov rcx, qword [r12 + 0x68]
test rcx, rcx
je 0x14004d600
cmp r15d, dword [rdi]
jae 0x14004d600
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + rbx]
add r8, qword [rcx]
jmp 0x14004d603
xor r8d, r8d
lea r9, [rsp + 0x60]
mov edx, r15d
mov rcx, r12
call fcn.14004ca50
test eax, eax
je 0x14004d8c2
lea rax, [rbp - 0x48]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x14004d626
xor r10d, r10d
lea r11, [rbp - 0x48]
xor edx, edx
xor r8d, r8d
test r9, r9
je 0x14004d8b8
movzx eax, byte [r11]
cmp al, 0x2f
je 0x14004d651
cmp al, 0x5c
jne 0x14004d656
inc r11
jmp 0x14004d645
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
movzx ecx, byte [r11 + r10]
cmp cl, 0x2f
je 0x14004d681
cmp cl, 0x5c
je 0x14004d681
lea rax, [r8 + rdx]
inc r8
mov byte [rbp + rax - 0x48], cl
jmp 0x14004d6b6
test r8, r8
je 0x14004d6b3
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d6a9
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d6b3
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d6a9
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d6a9
cmp byte [rbp + rdx - 0x46], 0
je 0x14004d6b3
add rdx, r8
mov byte [rbp + rdx - 0x48], cl
inc rdx
xor r8d, r8d
inc r10
cmp r10, r9
jb 0x14004d665
test r8, r8
je 0x14004d6e6
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d6eb
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d6e6
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d6eb
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d6eb
cmp byte [rbp + rdx - 0x46], 0
jne 0x14004d6eb
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 0x14004d721
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x14004d734
cmp sil, 0x3a
jne 0x14004d734
mov ebx, 1
mov r14d, 1
jmp 0x14004d739
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 0x14004d75f
mov byte [rbp + 0x5d0], dil
mov byte [rbp + 0x5d1], sil
add rbx, rbx
cmp byte [rbp + rbx + 0x3c0], 0
je 0x14004d7ee
cmp rbx, 0x200
jge 0x14004d7ee
movzx eax, byte [rbp + rbx + 0x3c0]
cmp al, 0x2f
je 0x14004d789
cmp al, 0x5c
jne 0x14004d7d2
test r14, r14
jne 0x14004d795
test rbx, rbx
jg 0x14004d79b
jmp 0x14004d7d2
cmp rbx, 2
jle 0x14004d7d2
lea rcx, [rbp + 0x5d0]
call fcn.14004ba70
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 0x14004d7d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x14004d8a4
movzx eax, byte [rbp + rbx + 0x3c0]
mov byte [rbp + rbx + 0x5d0], al
inc rbx
cmp byte [rbp + rbx + 0x3c0], 0
jne 0x14004d770
movzx eax, word [rsp + 0x70]
mov ecx, 0xffef
shr ax, 8
sub ax, 3
test cx, ax
jne 0x14004d80e
test dword [rbp - 0x64], 0x20000000
jne 0x14004d86a
mov rdx, qword [r12 + 0x68]
test rdx, rdx
je 0x14004d84b
mov rax, qword [rsp + 0x40]
cmp r15d, dword [rax]
jae 0x14004d84b
mov rax, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rax + rcx]
add rcx, qword [rdx]
je 0x14004d84b
movzx eax, word [rcx + 0x1c]
test ax, ax
je 0x14004d843
cmp byte [rax + rcx + 0x2d], 0x2f
je 0x14004d86a
test byte [rcx + 0x26], 0x10
je 0x14004d854
jmp 0x14004d86a
mov dword [r12 + 0x1c], 0x18
lea r8, [rbp + 0x3c0]
mov edx, r15d
mov rcx, r12
call fcn.14004d340
test eax, eax
je 0x14004d8ae
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x3c0]
call fcn.14004e520
test eax, eax
js 0x14004d8ca
mov rbx, qword [rsp + 0x38]
inc r15d
mov r14d, dword [rsp + 0x34]
add rbx, 4
cmp r15d, r14d
jae 0x14004d8ca
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x14004d5e4
mov dword [rsp + 0x30], 0xffffffe9
jmp 0x14004d8ca
mov dword [rsp + 0x30], 0xffffffed
jmp 0x14004d8ca
mov dword [rsp + 0x30], 0xfffffffe
jmp 0x14004d8ca
mov dword [rsp + 0x30], 0xfffffffd
mov r15, qword [rsp + 0x8f0]
mov rcx, r12
call fcn.14004c6a0
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.14005c420
add rsp, 0x8f8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret