Function at 0x14001c046
Capabilities:
Create directory

Disassembly:
cmp byte [rcx], 0
jne 0x14001c0bb
mov rcx, rdx
mov rdx, r8
jmp 0x14001c05a
push rsi
push rdi
push rbx
sub rsp, 0x40
mov r8, rdx
mov rdx, rcx
lea rsi, [rsp + 0x28]
mov rcx, rsi
call fcn.14001afc4
mov rdi, qword [rsi]
mov rsi, qword [rsi + 8]
movabs rax, 0x8000000000000000
cmp rdi, rax
je 0x14001c0b0
xor ebx, ebx
mov rcx, rsi
xor edx, edx
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x14001c0a2
call fcn.1400168d2
mov rbx, rax
mov rcx, rdi
mov rdx, rsi
call fcn.140015e8a
mov rsi, rbx
mov rax, rsi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x248
mov rsi, r8
mov rdi, rdx
mov r12, rcx
lea rbx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400160ac
lea r15, [rsp + 0x70]
mov edx, 1
mov rcx, r15
xor r8d, r8d
call fcn.1400160ac
mov r14, qword [rbx + 8]
mov rbx, qword [r15 + 8]
cmp r14, rbx
jne 0x14001c158
mov al, byte [rsp + 0x68]
cmp al, byte [rsp + 0xa8]
jne 0x14001c158
cmp byte [rsp + 0x69], 2
jne 0x14001c158
cmp byte [rsp + 0xa9], 2
jne 0x14001c158
cmp byte [rsp + 0x40], 3
setb al
cmp byte [rsp + 0x80], 3
setb cl
xor cl, al
jne 0x14001c158
mov rcx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x70]
mov rdx, r14
mov r9, r14
call fcn.14001662e
test al, al
jne 0x14001c3b8
mov rcx, qword [rsp + 0x30]
mov al, byte [rsp + 0x40]
cmp al, 6
je 0x14001c18c
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x13f], rdx
movups xmm0, xmmword [rsp + 0x41]
movups xmm1, xmmword [rsp + 0x51]
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x28], r12
mov dl, byte [rsp + 0x6a]
movzx r8d, word [rsp + 0x68]
mov qword [rsp + 0xe0], rcx
mov qword [rsp + 0xe8], r14
mov byte [rsp + 0xf0], al
movaps xmm0, xmmword [rsp + 0x120]
movaps xmm1, xmmword [rsp + 0x130]
movups xmmword [rsp + 0xf1], xmm0
movups xmmword [rsp + 0x101], xmm1
mov rax, qword [rsp + 0x13f]
mov qword [rsp + 0x110], rax
mov byte [rsp + 0x11a], dl
mov word [rsp + 0x118], r8w
mov rcx, qword [rsp + 0x70]
mov al, byte [rsp + 0x80]
cmp al, 6
je 0x14001c232
mov rdx, qword [rsp + 0xa0]
mov qword [rsp + 0xcf], rdx
movups xmm0, xmmword [rsp + 0x81]
movups xmm1, xmmword [rsp + 0x91]
movaps xmmword [rsp + 0xc0], xmm1
movaps xmmword [rsp + 0xb0], xmm0
mov dl, byte [rsp + 0xaa]
movzx r8d, word [rsp + 0xa8]
lea r14, [rsp + 0x208]
mov qword [r14], rcx
mov qword [r14 + 8], rbx
mov byte [r14 + 0x10], al
movaps xmm0, xmmword [rsp + 0xb0]
movaps xmm1, xmmword [rsp + 0xc0]
movups xmmword [r14 + 0x11], xmm0
movups xmmword [r14 + 0x21], xmm1
mov rax, qword [rsp + 0xcf]
mov qword [r14 + 0x30], rax
mov word [r14 + 0x38], r8w
mov byte [r14 + 0x3a], dl
lea r15, [rsp + 0x158]
lea r12, [rsp + 0x198]
lea r13, [rsp + 0xe0]
lea rbp, [rsp + 0x1d0]
lea rbx, [rsp + 0x120]
mov rcx, r12
mov rdx, r13
call fcn.14001728a
cmp byte [rsp + 0x198], 0xa
je 0x14001c365
mov rcx, rbp
mov rdx, r14
call fcn.14001728a
cmp byte [rsp + 0x1d0], 0xa
je 0x14001c382
mov rax, qword [rsp + 0x1c8]
mov qword [rsp + 0x150], rax
movups xmm0, xmmword [rsp + 0x198]
movups xmm1, xmmword [rsp + 0x1a8]
movups xmm2, xmmword [rsp + 0x1b8]
movaps xmmword [rsp + 0x140], xmm2
movaps xmmword [rsp + 0x130], xmm1
movaps xmmword [rsp + 0x120], xmm0
mov rax, qword [rsp + 0x200]
mov qword [r15 + 0x30], rax
movups xmm0, xmmword [rsp + 0x1d0]
movups xmm1, xmmword [rsp + 0x1e0]
movups xmm2, xmmword [rsp + 0x1f0]
movups xmmword [r15 + 0x20], xmm2
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15], xmm0
mov rcx, rbx
mov rdx, r15
call fcn.140016560
test al, al
jne 0x14001c2ac
jmp 0x14001c382
lea rbx, [rsp + 0x120]
lea rdx, [rsp + 0x208]
mov rcx, rbx
call fcn.14001728a
cmp byte [rbx], 0xa
je 0x14001c3b8
mov rcx, rdi
mov rdx, rsi
call 0x14001c05a
test rax, rax
je 0x14001c3b8
mov r14, rax
mov rcx, rax
call fcn.14001a340
test al, al
je 0x14001c3d2
mov rcx, rdi
mov rdx, rsi
call fcn.14001c420
test al, al
je 0x14001c3bb
mov rcx, r14
call fcn.140015bb8
xor r14d, r14d
mov rax, r14
add rsp, 0x248
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r14
call fcn.140016ad1
mov rcx, rdi
mov rdx, rsi
call fcn.14001c477
test rax, rax
je 0x14001c417
mov r8, rdx
mov rcx, qword [rsp + 0x28]
mov rdx, rax
call 0x14001c0bb
mov r14, rax
test rax, rax
jne 0x14001c3bb
mov rcx, rdi
mov rdx, rsi
call 0x14001c05a
test rax, rax
je 0x14001c3b8
mov r14, rax
jmp 0x14001c3a1
lea r14, [0x1414eb590]
jmp 0x14001c3bb