Function at 0x14004d470
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 [0x140071040]
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 0x14004d4c6
lea rdi, [r13 + 1]
mov r14d, 0x200
cmp rdi, r14
jbe 0x14004d4e9
mov eax, 0xfffffffe
jmp 0x14004d880
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 0x14004d533
cmp al, 0x5c
je 0x14004d533
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 0x14004d862
mov r14d, dword [r12 + 0x10]
lea rdi, [r12 + 0x10]
mov qword [rsp + 0x8f0], r15
xor r15d, r15d
test r14d, r14d
je 0x14004d85a
xor eax, eax
mov dword [rsp + 0x30], eax
xor ebx, ebx
mov rcx, qword [r12 + 0x68]
test rcx, rcx
je 0x14004d590
cmp r15d, dword [rdi]
jae 0x14004d590
mov rax, qword [rcx + 0x20]
mov r8d, dword [rax + rbx]
add r8, qword [rcx]
jmp 0x14004d593
xor r8d, r8d
lea r9, [rsp + 0x60]
mov edx, r15d
mov rcx, r12
call fcn.14004c9e0
test eax, eax
je 0x14004d852
lea rax, [rbp - 0x48]
mov r9, 0xffffffffffffffff
inc r9
cmp byte [rax + r9], 0
jne 0x14004d5b6
xor r10d, r10d
lea r11, [rbp - 0x48]
xor edx, edx
xor r8d, r8d
test r9, r9
je 0x14004d848
movzx eax, byte [r11]
cmp al, 0x2f
je 0x14004d5e1
cmp al, 0x5c
jne 0x14004d5e6
inc r11
jmp 0x14004d5d5
mov dword [rsp + 0x34], r14d
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rbx
movzx ecx, byte [r11 + r10]
cmp cl, 0x2f
je 0x14004d611
cmp cl, 0x5c
je 0x14004d611
lea rax, [r8 + rdx]
inc r8
mov byte [rbp + rax - 0x48], cl
jmp 0x14004d646
test r8, r8
je 0x14004d643
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d639
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d643
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d639
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d639
cmp byte [rbp + rdx - 0x46], 0
je 0x14004d643
add rdx, r8
mov byte [rbp + rdx - 0x48], cl
inc rdx
xor r8d, r8d
inc r10
cmp r10, r9
jb 0x14004d5f5
test r8, r8
je 0x14004d676
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d67b
cmp byte [rbp + rdx - 0x47], 0
je 0x14004d676
cmp byte [rbp + rdx - 0x48], 0x2e
jne 0x14004d67b
cmp byte [rbp + rdx - 0x47], 0x2e
jne 0x14004d67b
cmp byte [rbp + rdx - 0x46], 0
jne 0x14004d67b
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 0x14004d6b1
lea eax, [rdi - 0x61]
cmp al, 0x19
ja 0x14004d6c4
cmp sil, 0x3a
jne 0x14004d6c4
mov ebx, 1
mov r14d, 1
jmp 0x14004d6c9
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 0x14004d6ef
mov byte [rbp + 0x5d0], dil
mov byte [rbp + 0x5d1], sil
add rbx, rbx
cmp byte [rbp + rbx + 0x3c0], 0
je 0x14004d77e
cmp rbx, 0x200
jge 0x14004d77e
movzx eax, byte [rbp + rbx + 0x3c0]
cmp al, 0x2f
je 0x14004d719
cmp al, 0x5c
jne 0x14004d762
test r14, r14
jne 0x14004d725
test rbx, rbx
jg 0x14004d72b
jmp 0x14004d762
cmp rbx, 2
jle 0x14004d762
lea rcx, [rbp + 0x5d0]
call fcn.14004ba00
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 0x14004d762
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x14004d834
movzx eax, byte [rbp + rbx + 0x3c0]
mov byte [rbp + rbx + 0x5d0], al
inc rbx
cmp byte [rbp + rbx + 0x3c0], 0
jne 0x14004d700
movzx eax, word [rsp + 0x70]
mov ecx, 0xffef
shr ax, 8
sub ax, 3
test cx, ax
jne 0x14004d79e
test dword [rbp - 0x64], 0x20000000
jne 0x14004d7fa
mov rdx, qword [r12 + 0x68]
test rdx, rdx
je 0x14004d7db
mov rax, qword [rsp + 0x40]
cmp r15d, dword [rax]
jae 0x14004d7db
mov rax, qword [rdx + 0x20]
mov rcx, qword [rsp + 0x38]
mov ecx, dword [rax + rcx]
add rcx, qword [rdx]
je 0x14004d7db
movzx eax, word [rcx + 0x1c]
test ax, ax
je 0x14004d7d3
cmp byte [rax + rcx + 0x2d], 0x2f
je 0x14004d7fa
test byte [rcx + 0x26], 0x10
je 0x14004d7e4
jmp 0x14004d7fa
mov dword [r12 + 0x1c], 0x18
lea r8, [rbp + 0x3c0]
mov edx, r15d
mov rcx, r12
call fcn.14004d2d0
test eax, eax
je 0x14004d83e
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x3c0]
call fcn.14004e500
test eax, eax
js 0x14004d85a
mov rbx, qword [rsp + 0x38]
inc r15d
mov r14d, dword [rsp + 0x34]
add rbx, 4
cmp r15d, r14d
jae 0x14004d85a
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
jmp 0x14004d574
mov dword [rsp + 0x30], 0xffffffe9
jmp 0x14004d85a
mov dword [rsp + 0x30], 0xffffffed
jmp 0x14004d85a
mov dword [rsp + 0x30], 0xfffffffe
jmp 0x14004d85a
mov dword [rsp + 0x30], 0xfffffffd
mov r15, qword [rsp + 0x8f0]
mov rcx, r12
call fcn.14004c630
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.14005b360
add rsp, 0x8f8
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret