Function at 0x140159710
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x2130]
mov eax, 0x2230
call fcn.140191890
sub rsp, rax
mov rax, qword [0x1402d6010]
xor rax, rsp
mov qword [rbp + 0x2120], rax
mov rbx, rdx
mov rdi, rcx
xor ecx, ecx
call fcn.1401727cc
mov rcx, rax
call fcn.14016f8f4
call fcn.140157b10
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0xfb0]
call fcn.140157ee0
xor r8d, r8d
lea rcx, [rbp + 0x10b4]
call fcn.140159440
xor r8d, r8d
lea rcx, [rbp + 0x10bd]
call fcn.140159440
lea rax, [rbp + 0x10bd]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10b4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfb0]
lea r8, [0x1402b5690]
mov edx, 0x104
lea rcx, [rbp + 0x10c6]
call fcn.140157ee0
call fcn.140156b00
lea rax, [rbp + 0x10bd]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10b4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfb0]
lea r8, [0x1402b5690]
mov edx, 0x104
lea rcx, [rbp + 0x11ca]
call fcn.140157ee0
call fcn.140157b10
lea rax, [rbp + 0x10b4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfb0]
lea r8, str._s_s_
mov edx, 0x104
lea rcx, [rbp + 0x12ce]
call fcn.140157ee0
call fcn.140156b00
lea rax, [rbp + 0x10b4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfb0]
lea r8, str._s_s_
mov edx, 0x104
lea rcx, [rbp + 0x13d2]
call fcn.140157ee0
call fcn.140157b10
mov r8d, 1
lea rdx, [rbp + 0xfb0]
lea rcx, [rsp + 0x30]
call fcn.140159540
xorps xmm0, xmm0
movups xmmword [rbp + 0xf88], xmm0
mov qword [rbp + 0xfa0], 0xf
mov qword [rbp + 0xf98], 4
mov dword [rbp + 0xf88], 0x7461642e
mov byte [rbp + 0xf8c], 0
lea r8, [rbp + 0xf88]
mov edx, 0x104
lea rcx, [rbp + 0x11ca]
call fcn.140173060
nop
mov rdx, qword [rbp + 0xfa0]
cmp rdx, 0x10
jb 0x140159907
inc rdx
mov rcx, qword [rbp + 0xf88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159902
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159abc
call fcn.14015b380
xorps xmm0, xmm0
movups xmmword [rbp + 0xf88], xmm0
mov qword [rbp + 0xfa0], 0xf
mov qword [rbp + 0xf98], 8
movabs rax, 0x6c6d782e65676465
mov qword [rbp + 0xf88], rax
mov byte [rbp + 0xf90], 0
lea r8, [rbp + 0xf88]
mov edx, 0x104
lea rcx, [rbp + 0x12ce]
call fcn.140173060
nop
mov rdx, qword [rbp + 0xfa0]
cmp rdx, 0x10
jb 0x140159999
inc rdx
mov rcx, qword [rbp + 0xf88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159994
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159ac2
call fcn.14015b380
xorps xmm0, xmm0
movups xmmword [rbp + 0xf88], xmm0
mov qword [rbp + 0xfa0], 0xf
mov qword [rbp + 0xf98], 8
movabs rax, 0x67706a2e65676465
mov qword [rbp + 0xf88], rax
mov byte [rbp + 0xf90], 0
lea r8, [rbp + 0xf88]
mov edx, 0x104
lea rcx, [rbp + 0x13d2]
call fcn.140173060
nop
mov rdx, qword [rbp + 0xfa0]
cmp rdx, 0x10
jb 0x140159a2b
inc rdx
mov rcx, qword [rbp + 0xf88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140159a26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140159ab6
call fcn.14015b380
lea rax, [rbp + 0x10b4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xfb0]
lea r8, str._s_s_
mov edx, 0x104
lea rcx, [rbp + 0x2010]
call fcn.140157ee0
lea rcx, [rbp + 0x2010]
call fcn.1401732e4
test eax, eax
lea rcx, [rbp + 0xfb0]
jne 0x140159a74
lea rcx, [rbp + 0x2010]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov r8d, 0x1052
lea rdx, [rbp + 0xfb0]
mov rcx, rdi
call fcn.14016b740
mov rax, rdi
mov rcx, qword [rbp + 0x2120]
xor rcx, rsp
call fcn.14015b360
lea r11, [rsp + 0x2230]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.140178d04
int3
call fcn.140178d04
int3
call fcn.140178d04
int3