Function at 0x140003090
Capabilities:
Set current directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8b8]
sub rsp, 0x980
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x140051040]
xor rax, rsp
mov qword [rbp + 0x850], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x18], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r12d, r12d
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], r12
xor r8d, r8d
lea rdx, [0x1400490d0]
call fcn.140002530
nop
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
mov r8d, 2
cmp qword [rbx + 0x10], r8
cmovb r8, qword [rbx + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140003131
mov rdx, qword [rbx]
lea rcx, [rsp + 0x28]
call fcn.140002530
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x28]
mov rsi, qword [rsp + 0x28]
mov r14, qword [rsp + 0x40]
cmp r14, 0xf
cmova rcx, rsi
mov r8, qword [rsp + 0x38]
cmp r8, 2
jne 0x14000317a
lea rdx, [0x140049238]
call fcn.14003bcd0
test eax, eax
jne 0x14000317a
mov r15b, 1
jmp 0x14000317d
xor r15b, r15b
cmp r14, 0xf
jbe 0x1400031b4
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400031ac
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b76
mov rcx, rsi
call fcn.140015660
test r15b, r15b
je 0x140003705
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
mov rax, qword [rbx + 0x10]
cmp rax, 3
jb 0x140003b9a
add rax, 0xfffffffffffffffd
mov rsi, 0xffffffffffffffff
mov r8, rsi
cmp rax, rsi
cmovb r8, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x1400031f9
mov rbx, qword [rbx]
lea rdx, [rbx + 3]
lea rcx, [rbp + 0x10]
call fcn.140002530
mov dword [rsp + 0x20], 7
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
call fcn.140020fd4
test eax, eax
jne 0x1400034ae
mov edx, 0x400
lea rcx, [rbp + 0x50]
call fcn.140021bf0
lea rax, [rbp + 0x50]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140003240
mov rax, qword [0x140051c98]
lea r15, [0x140051c80]
cmp rsi, rax
ja 0x140003287
mov rbx, r15
cmp rax, 0xf
cmova rbx, qword [0x140051c80]
mov qword [0x140051c90], rsi
mov r8, rsi
lea rdx, [rbp + 0x50]
mov rcx, rbx
call fcn.14003b280
mov byte [rbx + rsi], 0
jmp 0x140003296
lea r9, [rbp + 0x50]
mov rdx, rsi
mov rcx, r15
call fcn.1400063b0
mov r13, qword [0x140051c90]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x15
jb 0x140003ba0
cmp qword [0x140051c98], 0xf
cmova r15, qword [0x140051c80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea r12, [r13 + 0x15]
mov esi, 0xf
mov ebx, esi
lea r14, [rsp + 0x68]
cmp r12, rsi
jbe 0x140003367
mov rbx, r12
or rbx, rsi
cmp rbx, rcx
jbe 0x140003328
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140015668
test rax, rax
je 0x140003b82
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140003362
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003350
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003b7c
jmp 0x140003309
test rcx, rcx
je 0x14000335f
call fcn.140015668
mov r14, rax
jmp 0x140003362
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], rbx
movups xmm0, xmmword [str.Changed_directory_to]
movups xmmword [r14], xmm0
mov eax, dword [0x140049250]
mov dword [r14 + 0x10], eax
movzx eax, byte [0x140049254]
mov byte [r14 + 0x14], al
lea rcx, [r14 + 0x15]
mov r8, r13
mov rdx, r15
call fcn.14003b280
mov byte [r14 + r12], 0
mov dword [rsp + 0x20], 0x47
mov r8d, 1
lea rdx, [0x14004923c]
lea rcx, [rsp + 0x68]
call fcn.140005110
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x58], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm7
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov byte [rax], bl
lea rax, [rbp - 0x58]
cmp rdi, rax
je 0x14000342d
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x140003421
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x14000341c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003ba6
mov rcx, r8
call fcn.140015660
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov byte [rbp - 0x58], bl
jmp 0x140003431
mov rsi, qword [rbp - 0x40]
cmp rsi, 0xf
jbe 0x14000346a
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003464
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003ba6
call fcn.140015660
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400036c2
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b82
jmp 0x1400036bc
mov r13, qword [rbp + 0x20]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 0x1e
jb 0x140003bac
lea r12, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova r12, qword [rbp + 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea r15, [r13 + 0x1e]
mov esi, 0xf
mov ebx, esi
lea r14, [rbp - 0x78]
cmp r15, rsi
jbe 0x140003576
mov rbx, r15
or rbx, rsi
cmp rbx, rcx
jbe 0x140003538
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140015668
test rax, rax
je 0x140003bb8
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x140003572
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003560
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003b88
jmp 0x140003519
test rcx, rcx
je 0x14000356f
call fcn.140015668
mov r14, rax
jmp 0x140003572
xor r14d, r14d
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x68], r15
mov qword [rbp - 0x60], rbx
movups xmm0, xmmword [str.Failed_to_change_directory_to]
movups xmmword [r14], xmm0
movsd xmm0, qword [0x140049268]
movsd qword [r14 + 0x10], xmm0
mov eax, dword [0x140049270]
mov dword [r14 + 0x18], eax
movzx eax, word [0x140049274]
mov word [r14 + 0x1c], ax
lea rcx, [r14 + 0x1e]
mov r8, r13
mov rdx, r12
call fcn.14003b280
mov byte [r14 + r15], 0
mov dword [rsp + 0x20], 0x107
mov r8d, 1
lea rdx, [0x14004923c]
lea rcx, [rbp - 0x78]
call fcn.140005110
movups xmm6, xmmword [rax]
movups xmmword [rbp - 0x38], xmm6
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x28], xmm7
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov byte [rax], bl
lea rax, [rbp - 0x38]
cmp rdi, rax
je 0x140003649
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14000363d
mov rcx, qword [rdi]
inc rdx
cmp rdx, 0x1000
jb 0x140003638
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003bb2
mov rcx, r8
call fcn.140015660
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
mov byte [rbp - 0x38], bl
jmp 0x14000364d
mov rsi, qword [rbp - 0x20]
cmp rsi, 0xf
jbe 0x140003686
lea rdx, [rsi + 1]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003680
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bb2
call fcn.140015660
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x1400036c2
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400036bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bb8
call fcn.140015660
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x140003b3f
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b8e
jmp 0x140003b39
mov rdx, rbx
lea rcx, [rbp - 0x10]
call fcn.140005200
nop
lea rcx, [rbp - 0x10]
mov r14, qword [rbp - 0x10]
mov rsi, qword [rbp + 8]
cmp rsi, 0xf
cmova rcx, r14
mov r8, qword [rbp]
cmp r8, 3
jne 0x140003788
lea rdx, [0x140049278]
call fcn.14003bcd0
test eax, eax
jne 0x140003788
cmp rsi, 0xa
jb 0x140003773
lea rbx, [rbp - 0x10]
cmp rsi, 0xf
cmova rbx, r14
mov qword [rbp], 0xa
lea r8d, [rax + 0xa]
lea rdx, str.tree__F__A
mov rcx, rbx
call fcn.14003b280
mov byte [rbx + 0xa], 0
jmp 0x140003788
lea r9, str.tree__F__A
mov edx, 0xa
lea rcx, [rbp - 0x10]
call fcn.1400063b0
mov r13, qword [0x140051c90]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, r13
cmp rax, 7
jb 0x140003bbe
lea r15, [0x140051c80]
cmp qword [0x140051c98], 0xf
cmova r15, qword [0x140051c80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
lea r12, [r13 + 7]
mov esi, 0xf
mov ebx, esi
lea r14, [rsp + 0x48]
cmp r12, rsi
jbe 0x140003860
mov rbx, r12
or rbx, rsi
cmp rbx, rcx
jbe 0x140003821
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140015668
test rax, rax
je 0x140003bc4
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14000385b
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x140003849
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003b94
jmp 0x140003802
test rcx, rcx
je 0x140003858
call fcn.140015668
mov r14, rax
jmp 0x14000385b
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], rbx
mov rax, qword [str.cd__d__]
mov dword [r14], eax
movzx eax, word [0x14004929c]
mov word [r14 + 4], ax
movzx eax, byte [0x14004929e]
mov byte [r14 + 6], al
lea rcx, [r14 + 7]
mov r8, r13
mov rdx, r15
call fcn.14003b280
mov byte [r14 + r12], 0
mov ebx, 0xb
mov dword [rsp + 0x20], ebx
lea r8d, [rbx - 6]
lea rdx, str.__
lea rcx, [rsp + 0x48]
call fcn.140005110
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
xor r14d, r14d
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov byte [rax], r14b
or ebx, 0x10
mov dword [rsp + 0x20], ebx
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
lea rcx, [rsp + 0x28]
call fcn.140005110
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x40], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], rsi
mov byte [rax], r14b
or ebx, 0x20
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000397d
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003978
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bca
call fcn.140015660
movdqa xmm0, xmmword [0x14004a4c0]
movdqu xmmword [rsp + 0x38], xmm0
mov byte [rsp + 0x28], 0
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x1400039cd
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400039c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bd0
call fcn.140015660
movdqa xmm0, xmmword [0x14004a4c0]
movdqu xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x48], 0
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0xf
cmova rcx, qword [rbp + 0x30]
lea rdx, [0x1400492a0]
call fcn.140020adc
mov rbx, rax
test rax, rax
jne 0x140003a46
cmp qword [rdi + 0x18], 0x1b
jb 0x140003a30
mov rbx, qword [rdi]
mov qword [rdi + 0x10], 0x1b
lea r8d, [rax + 0x1b]
lea rdx, str.Failed_to_execute_command._n
mov rcx, rbx
call fcn.14003b280
mov byte [rbx + 0x1b], 0
jmp 0x140003abb
lea r9, str.Failed_to_execute_command._n
mov edx, 0x1b
mov rcx, rdi
call fcn.1400063b0
jmp 0x140003abb
mov r8, rbx
mov edx, 0x400
lea rcx, [rbp + 0x450]
call fcn.140020c58
test rax, rax
je 0x140003ab2
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
lea rax, [rbp + 0x450]
mov r8, rsi
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003a80
lea rdx, [rbp + 0x450]
mov rcx, rdi
call fcn.140005110
mov r8, rbx
mov edx, 0x400
lea rcx, [rbp + 0x450]
call fcn.140020c58
test rax, rax
jne 0x140003a70
mov rcx, rbx
call fcn.140020a04
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x140003af6
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003af1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003bd6
call fcn.140015660
movdqa xmm0, xmmword [0x14004a4c0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140003b3f
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b76
call fcn.140015660
nop
mov rax, rdi
mov rcx, qword [rbp + 0x850]
xor rcx, rsp
call fcn.140015640
lea r11, [rsp + 0x980]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140023f68
nop
call fcn.1400012c0
int3
call fcn.140023f68
int3
call fcn.1400012c0
nop
call fcn.140023f68
nop
call fcn.1400012c0
nop
call fcn.140005950
nop
call fcn.140001360
nop
call fcn.140023f68
nop
call fcn.140001360
nop
call fcn.140023f68
nop
call fcn.140023f68
nop
call fcn.140001360
int3
call fcn.140023f68
nop
call fcn.140023f68
nop
call fcn.140023f68
nop
call fcn.140023f68
int3