Function at 0x14002b5d0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rdi
push r12
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x140064018]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov edi, r8d
mov dword [rsp + 0x30], r8d
mov qword [rsp + 0x60], rdx
mov r12, rcx
mov qword [rsp + 0x70], rcx
call fcn.140038b98
mov ebx, eax
mov eax, 0x55555556
imul ebx
mov r9d, edx
shr r9d, 0x1f
add edx, r9d
lea ecx, [rdx + rdx*2]
sub ebx, ecx
add ebx, 2
mov dword [rsp + 0x4c], ebx
call fcn.140038b98
cdq
xor r15d, r15d
idiv ebx
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x40], edx
test ebx, ebx
jle 0x14002bb79
mov qword [rsp + 0x1d0], rsi
mov qword [rsp + 0x188], r13
mov qword [rsp + 0x180], r14
nop dword [rax]
nop word [rax + rax]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x28], r14
cmp edi, 1
jne 0x14002b698
lea rcx, [rsp + 0x28]
call fcn.14002b2e0
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x50], r14
jmp 0x14002b717
cmp edi, 2
jne 0x14002b717
movaps xmm0, xmmword [0x14005e3d0]
lea edx, [rdi - 1]
movaps xmm1, xmmword [0x14005e3e0]
lea ecx, [rdi + 0x13]
movzx eax, byte [0x14005e410]
movaps xmmword [rbp - 0x80], xmm0
movaps xmm0, xmmword [0x14005e3f0]
movaps xmmword [rbp - 0x70], xmm1
movaps xmm1, xmmword [0x14005e400]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
mov byte [rbp - 0x40], al
call fcn.14003853c
mov qword [rsp + 0x50], rax
mov r14, rax
test rax, rax
je 0x14002b717
xor ebx, ebx
nop dword [rax]
call fcn.140038b98
and eax, 0x8000003f
jge 0x14002b703
dec eax
or eax, 0xffffffc0
inc eax
cdqe
movzx ecx, byte [rbp + rax - 0x80]
mov byte [rbx + r14], cl
inc rbx
cmp rbx, 0x14
jl 0x14002b6f0
xor ebx, ebx
test r12, r12
je 0x14002b752
test r14, r14
je 0x14002b752
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r12 + rcx], bl
jne 0x14002b730
mov rax, 0xffffffffffffffff
cmp byte [r14 + rax + 1], bl
lea rax, [rax + 1]
jne 0x14002b740
lea rbx, [rax + 3]
add rbx, rcx
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov qword [rsp + 0x68], rax
mov rsi, rax
test rax, rax
je 0x14002bb3c
cmp rbx, 3
jbe 0x14002b7a4
mov r8, r12
mov rdx, rbx
mov rcx, rax
call fcn.140038690
lea r8, [0x14005e050]
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
mov r8, r14
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
mov rcx, rsi
call fcn.14003a25c
test eax, eax
jne 0x14002bb3c
call fcn.140038b98
mov ebx, eax
mov eax, 0x55555556
imul ebx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub ebx, ecx
add ebx, 2
mov dword [rsp + 0x48], ebx
call fcn.140038b98
cdq
mov dword [rsp + 0x20], 0
idiv ebx
mov dword [rsp + 0x44], edx
test ebx, ebx
jle 0x14002bb3c
nop dword [rax]
nop word [rax + rax]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
cmp edi, 1
jne 0x14002b828
lea rcx, [rsp + 0x38]
call fcn.14002b2e0
mov r12, qword [rsp + 0x38]
mov qword [rsp + 0x28], r12
jmp 0x14002b8a7
cmp edi, 2
jne 0x14002b8a7
movaps xmm0, xmmword [0x14005e3d0]
lea edx, [rdi - 1]
movaps xmm1, xmmword [0x14005e3e0]
lea ecx, [rdi + 0x13]
movzx eax, byte [0x14005e410]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm0, xmmword [0x14005e3f0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm1, xmmword [0x14005e400]
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
mov byte [rbp + 0x10], al
call fcn.14003853c
mov qword [rsp + 0x28], rax
mov r12, rax
test rax, rax
je 0x14002b8a7
xor ebx, ebx
nop dword [rax]
call fcn.140038b98
and eax, 0x8000003f
jge 0x14002b893
dec eax
or eax, 0xffffffc0
inc eax
cdqe
movzx ecx, byte [rbp + rax - 0x30]
mov byte [rbx + r12], cl
inc rbx
cmp rbx, 0x14
jl 0x14002b880
xor ebx, ebx
test r12, r12
je 0x14002b8d6
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r12 + rcx], bl
jne 0x14002b8b5
mov rax, 0xffffffffffffffff
cmp byte [rsi + rax + 1], bl
lea rax, [rax + 1]
jne 0x14002b8c5
lea rbx, [rax + 3]
add rbx, rcx
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov r14, rax
test rax, rax
je 0x14002bb0e
cmp rbx, 3
jbe 0x14002b923
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.140038690
lea r8, [0x14005e050]
mov rdx, rbx
mov rcx, r14
call fcn.1400386f0
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.1400386f0
mov rcx, r14
call fcn.14003a25c
test eax, eax
jne 0x14002bb0e
call fcn.140038b98
mov r13d, eax
mov eax, 0x55555556
imul r13d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r13d, ecx
add r13d, 2
call fcn.140038b98
cdq
xor r15d, r15d
idiv r13d
mov dword [rsp + 0x38], edx
test r13d, r13d
jle 0x14002bb0e
mov r12d, dword [rsp + 0x30]
xor edi, edi
mov qword [rsp + 0x58], rdi
cmp r12d, 1
jne 0x14002b990
lea rcx, [rsp + 0x58]
call fcn.14002b2e0
mov rdi, qword [rsp + 0x58]
jmp 0x14002ba0a
cmp r12d, 2
jne 0x14002ba0a
movaps xmm0, xmmword [0x14005e3d0]
lea edx, [r12 - 1]
movaps xmm1, xmmword [0x14005e3e0]
lea ecx, [rdx + 0x14]
movzx eax, byte [0x14005e410]
movaps xmmword [rbp + 0x20], xmm0
movaps xmm0, xmmword [0x14005e3f0]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x14005e400]
movaps xmmword [rbp + 0x40], xmm0
movaps xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x60], al
call fcn.14003853c
mov rdi, rax
test rax, rax
je 0x14002ba0a
xor ebx, ebx
call fcn.140038b98
and eax, 0x8000003f
jge 0x14002b9f6
dec eax
or eax, 0xffffffc0
inc eax
movsxd rcx, eax
movzx eax, byte [rbp + rcx + 0x20]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, 0x14
jl 0x14002b9e3
xor ebx, ebx
test rdi, rdi
je 0x14002ba42
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdi + rcx], bl
jne 0x14002ba18
mov rax, 0xffffffffffffffff
nop word [rax + rax]
cmp byte [r14 + rax + 1], bl
lea rax, [rax + 1]
jne 0x14002ba30
lea rbx, [rax + 3]
add rbx, rcx
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov rsi, rax
test rax, rax
je 0x14002bae4
cmp rbx, 3
jbe 0x14002ba8f
mov r8, r14
mov rdx, rbx
mov rcx, rax
call fcn.140038690
lea r8, [0x14005e050]
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.1400386f0
mov rcx, rsi
call fcn.14003a25c
test eax, eax
jne 0x14002bae4
mov eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0x24]
jne 0x14002bae4
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x20]
jne 0x14002bae4
cmp dword [rsp + 0x38], r15d
jne 0x14002bae4
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
jne 0x14002bae4
mov edx, 1
mov rcx, rbx
call fcn.14003853c
mov rcx, qword [rsp + 0x60]
mov r8, rsi
mov rdx, rbx
mov qword [rcx], rax
mov rcx, rax
call fcn.140038690
mov rcx, rdi
call fcn.140038520
mov rcx, rsi
call fcn.140038520
inc r15d
cmp r15d, r13d
jl 0x14002b972
mov r12, qword [rsp + 0x28]
mov edi, dword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rcx, r12
call fcn.140038520
mov rcx, r14
call fcn.140038520
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp eax, dword [rsp + 0x48]
jl 0x14002b800
mov r15d, dword [rsp + 0x24]
mov r12, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x50]
call fcn.140038520
mov rcx, rsi
call fcn.140038520
inc r15d
mov dword [rsp + 0x24], r15d
cmp r15d, dword [rsp + 0x4c]
jl 0x14002b670
mov r14, qword [rsp + 0x180]
mov r13, qword [rsp + 0x188]
mov rsi, qword [rsp + 0x1d0]
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140036180
add rsp, 0x190
pop r15
pop r12
pop rdi
pop rbx
pop rbp
ret