Function at 0x1400281b0
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push r13
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14005a018]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov r13d, r8d
mov qword [rsp + 0x58], rdx
mov r15, rcx
mov qword [rsp + 0x68], rcx
call fcn.14002fc44
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.14002fc44
cdq
xor esi, esi
idiv ebx
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x40], edx
test ebx, ebx
jle 0x1400286f6
mov qword [rsp + 0x1c0], rdi
mov qword [rsp + 0x178], r12
mov qword [rsp + 0x170], r14
nop dword [rax + rax]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x28], r14
cmp r13d, 1
jne 0x140028269
lea rcx, [rsp + 0x28]
call fcn.140027ee0
mov r14, qword [rsp + 0x28]
mov qword [rsp + 0x50], r14
jmp 0x1400282e7
cmp r13d, 2
jne 0x1400282e7
movaps xmm0, xmmword [0x140051bb0]
lea edx, [r13 - 1]
movaps xmm1, xmmword [0x140051bc0]
lea ecx, [rdx + 0x14]
movzx eax, byte [0x140051bf0]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm0, xmmword [0x140051bd0]
movaps xmmword [rbp - 0x80], xmm1
movaps xmm1, xmmword [0x140051be0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm1
mov byte [rbp - 0x50], al
call fcn.14002f9e8
mov r14, rax
mov qword [rsp + 0x50], rax
xor ebx, ebx
nop dword [rax]
call fcn.14002fc44
and eax, 0x8000003f
jge 0x1400282d3
dec eax
or eax, 0xffffffc0
inc eax
cdqe
movzx ecx, byte [rsp + rax + 0x70]
mov byte [rbx + r14], cl
inc rbx
cmp rbx, 0x14
jl 0x1400282c0
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [r15 + rcx], 0
jne 0x1400282f0
mov rax, 0xffffffffffffffff
cmp byte [r14 + rax + 1], 0
lea rax, [rax + 1]
jne 0x140028301
lea rbx, [rax + 3]
mov edx, 1
add rbx, rcx
mov rcx, rbx
call fcn.14002f9e8
mov r8, r15
mov qword [rsp + 0x60], rax
mov rdx, rbx
mov rcx, rax
mov rdi, rax
call fcn.14002fbc8
lea r8, [0x140051644]
mov rdx, rbx
mov rcx, rdi
call fcn.1400337a0
mov r8, r14
mov rdx, rbx
mov rcx, rdi
call fcn.1400337a0
mov rcx, rdi
call fcn.140033bc0
test eax, eax
jne 0x1400286be
call fcn.14002fc44
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.14002fc44
cdq
mov dword [rsp + 0x20], 0
idiv ebx
mov dword [rsp + 0x44], edx
test ebx, ebx
jle 0x1400286be
nop dword [rax]
nop dword [rax + rax]
xor r12d, r12d
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x38], r12
cmp r13d, 1
jne 0x1400283d9
lea rcx, [rsp + 0x38]
call fcn.140027ee0
mov r12, qword [rsp + 0x38]
mov qword [rsp + 0x28], r12
jmp 0x140028457
cmp r13d, 2
jne 0x140028457
movaps xmm0, xmmword [0x140051bb0]
lea edx, [r13 - 1]
movaps xmm1, xmmword [0x140051bc0]
lea ecx, [rdx + 0x14]
movzx eax, byte [0x140051bf0]
movaps xmmword [rbp - 0x40], xmm0
movaps xmm0, xmmword [0x140051bd0]
movaps xmmword [rbp - 0x30], xmm1
movaps xmm1, xmmword [0x140051be0]
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x10], xmm1
mov byte [rbp], al
call fcn.14002f9e8
mov r12, rax
mov qword [rsp + 0x28], rax
xor ebx, ebx
nop dword [rax + rax]
call fcn.14002fc44
and eax, 0x8000003f
jge 0x140028443
dec eax
or eax, 0xffffffc0
inc eax
cdqe
movzx ecx, byte [rbp + rax - 0x40]
mov byte [rbx + r12], cl
inc rbx
cmp rbx, 0x14
jl 0x140028430
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [r12 + rcx], 0
jne 0x140028460
mov rax, 0xffffffffffffffff
cmp byte [rdi + rax + 1], 0
lea rax, [rax + 1]
jne 0x140028471
lea rbx, [rax + 3]
mov edx, 1
add rbx, rcx
mov rcx, rbx
call fcn.14002f9e8
mov r8, rdi
mov rdx, rbx
mov rcx, rax
mov r14, rax
call fcn.14002fbc8
lea r8, [0x140051644]
mov rdx, rbx
mov rcx, r14
call fcn.1400337a0
mov r8, r12
mov rdx, rbx
mov rcx, r14
call fcn.1400337a0
mov rcx, r14
call fcn.140033bc0
test eax, eax
jne 0x14002868c
call fcn.14002fc44
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 + 0x38], ebx
call fcn.14002fc44
cdq
xor r15d, r15d
idiv ebx
test ebx, ebx
jle 0x14002868c
mov r12d, edx
nop dword [rax + rax]
xor edi, edi
mov qword [rsp + 0x30], rdi
cmp r13d, 1
jne 0x14002852e
lea rcx, [rsp + 0x30]
call fcn.140027ee0
mov rdi, qword [rsp + 0x30]
jmp 0x1400285a7
cmp r13d, 2
jne 0x1400285a7
movaps xmm0, xmmword [0x140051bb0]
lea edx, [r13 - 1]
movaps xmm1, xmmword [0x140051bc0]
lea ecx, [rdx + 0x14]
movzx eax, byte [0x140051bf0]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm0, xmmword [0x140051bd0]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm1, xmmword [0x140051be0]
movaps xmmword [rbp + 0x30], xmm0
movaps xmmword [rbp + 0x40], xmm1
mov byte [rbp + 0x50], al
call fcn.14002f9e8
mov rdi, rax
xor ebx, ebx
nop dword [rax + rax]
call fcn.14002fc44
and eax, 0x8000003f
jge 0x140028593
dec eax
or eax, 0xffffffc0
inc eax
movsxd rcx, eax
movzx eax, byte [rbp + rcx + 0x10]
mov byte [rbx + rdi], al
inc rbx
cmp rbx, 0x14
jl 0x140028580
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rdi + rcx], 0
jne 0x1400285b0
mov rax, 0xffffffffffffffff
cmp byte [r14 + rax + 1], 0
lea rax, [rax + 1]
jne 0x1400285c0
lea rsi, [rax + 3]
mov edx, 1
add rsi, rcx
mov rcx, rsi
call fcn.14002f9e8
mov r8, r14
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.14002fbc8
lea r8, [0x140051644]
mov rdx, rsi
mov rcx, rbx
call fcn.1400337a0
mov r8, rdi
mov rdx, rsi
mov rcx, rbx
call fcn.1400337a0
mov rcx, rbx
call fcn.140033bc0
test eax, eax
jne 0x140028664
mov eax, dword [rsp + 0x40]
cmp eax, dword [rsp + 0x24]
jne 0x140028664
mov eax, dword [rsp + 0x44]
cmp eax, dword [rsp + 0x20]
jne 0x140028664
cmp r12d, r15d
jne 0x140028664
mov rax, qword [rsp + 0x58]
cmp qword [rax], 0
jne 0x140028664
mov edx, 1
mov rcx, rsi
call fcn.14002f9e8
mov rcx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, rsi
mov qword [rcx], rax
mov rcx, rax
call fcn.14002fbc8
mov rcx, rdi
call fcn.14002fc28
mov rcx, rbx
call fcn.14002fc28
inc r15d
cmp r15d, dword [rsp + 0x38]
jl 0x140028510
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x60]
mov rcx, r12
call fcn.14002fc28
mov rcx, r14
call fcn.14002fc28
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp eax, dword [rsp + 0x48]
jl 0x1400283b0
mov esi, dword [rsp + 0x24]
mov r14, qword [rsp + 0x50]
mov r15, qword [rsp + 0x68]
mov rcx, r14
call fcn.14002fc28
mov rcx, rdi
call fcn.14002fc28
inc esi
mov dword [rsp + 0x24], esi
cmp esi, dword [rsp + 0x4c]
jl 0x140028240
mov r14, qword [rsp + 0x170]
mov r12, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14002d5c0
add rsp, 0x180
pop r15
pop r13
pop rsi
pop rbx
pop rbp
ret