Function at 0x140002890
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov rax, qword [0x140041018]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r15d, r15d
test dl, dl
je 0x140002aee
mov rdx, rcx
mov r10, qword [rcx + 0x18]
cmp r10, 0x10
jb 0x1400028e0
mov rdx, qword [rcx]
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x140002915
lea rax, [r9 - 1]
mov rcx, 0xffffffffffffffff
cmp rax, rcx
cmovb rcx, rax
add rcx, rdx
cmp byte [rcx], 0x5c
je 0x140002910
cmp rcx, rdx
je 0x140002915
dec rcx
cmp byte [rcx], 0x5c
jne 0x140002903
sub rcx, rdx
jmp 0x14000291c
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
movsxd r8, ecx
cmp r9, r8
cmovb r8, r9
mov rdx, rdi
cmp r10, 0x10
jb 0x14000294a
mov rdx, qword [rdi]
lea rcx, [rsp + 0x30]
call fcn.1400063c0
nop
mov r8d, 1
lea rdx, [0x14003b83c]
lea rcx, [rsp + 0x30]
call fcn.140006520
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
xor edx, edx
call fcn.140012bf4
cmp eax, 0xffffffff
jne 0x140002ab1
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rbx, qword [rsp + 0x30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x1400029a5
cmp rax, 0x104
jbe 0x1400029cf
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400029c3
mov rdx, qword [rdi]
lea rcx, [0x14003b840]
jmp 0x140002aab
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1400029d6
mov ebp, r15d
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x50]
call fcn.14000c3d0
mov edx, 0x5c
mov rcx, rbx
call fcn.14000bbc4
test rax, rax
je 0x140002a90
mov r14, r15
nop dword [rax]
lea rcx, [r14 + rbx]
mov edx, 0x5c
call fcn.14000bbc4
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], 0
jne 0x140002a25
mov ebp, esi
sub ebp, ecx
inc ebp
movsxd r14, ebp
mov r9, r14
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.140010458
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140012bf4
cmp eax, 0xffffffff
jne 0x140002a7d
lea rcx, [rsp + 0x50]
call fcn.140012de0
cmp eax, 0xffffffff
jne 0x140002a7d
lea rdx, [rsp + 0x50]
lea rcx, [0x14003b828]
call fcn.140001160
lea rcx, [r14 + rbx]
mov edx, 0x5c
call fcn.14000bbc4
test rax, rax
jne 0x140002a10
cmp ebp, esi
jge 0x140002ab1
mov rcx, rbx
call fcn.140012de0
cmp eax, 0xffffffff
jne 0x140002ab1
mov rdx, rbx
lea rcx, [0x14003b828]
call fcn.140001160
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x140002aee
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002ae9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b7c
call fcn.140009e10
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140002afb
mov rcx, qword [rdi]
xor edx, edx
call fcn.140012bf4
test eax, eax
sete bl
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140002b3d
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140002b38
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140002b82
mov rcx, r8
call fcn.140009e10
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
movzx eax, bl
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140009df0
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.140012b7c
nop
call fcn.140012b7c
int3