Function at 0x1400e67a0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov rax, qword [0x1401970d0]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rdi, r8
mov rsi, rdx
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], r8
xor r12d, r12d
mov byte [rbp + 0x20], r12b
xor edx, edx
mov r8d, 0x10f
lea rcx, [rbp + 0x21]
call fcn.14010eb70
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e6803
mov r8, qword [rsi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
lea ecx, [rdx + 1]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r15d, eax
mov ecx, eax
call fcn.14010a9b4
mov r14, rax
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.14010eb70
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e684d
mov r8, qword [rsi]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r14
xor edx, edx
lea ecx, [rdx + 1]
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x1400e68a4
call fcn.1400647c0
mov rcx, rax
mov r8b, 1
lea rdx, str.WideCharToMultiByte_Error
call fcn.140063fc0
nop
mov rcx, rsi
call fcn.14000e6a0
nop
mov rcx, rdi
call fcn.14000e6a0
xor al, al
jmp 0x1400e6bcb
mov r9d, 0xff
mov r8, r14
lea edx, [r9 + 0x11]
lea rcx, [rbp + 0x20]
call fcn.140126c34
mov byte [rbp + 0x120], 0
mov rcx, r14
call fcn.14010a970
lea rcx, [rbp - 0x20]
call qword [sym.imp.zlibwapi.dll_Ordinal_110]
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.zlibwapi.dll_Ordinal_77]
mov r14, rax
test rax, rax
jne 0x1400e6a4c
lea r8, [0x14016f528]
mov edx, 0x110
lea rcx, [rbp + 0x20]
call fcn.140126d24
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.zlibwapi.dll_Ordinal_77]
mov r14, rax
test rax, rax
jne 0x1400e6a4c
mov r8, rsi
lea rdx, str.Cannot_open
lea rcx, [rbp - 0x58]
call fcn.14001ddc0
nop
lea r8d, [r14 + 4]
lea rdx, str._or
mov rcx, rax
call fcn.14001f890
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov ebx, 7
mov qword [rax + 0x18], rbx
mov word [rax], r12w
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e6983
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.14001f890
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov word [rax], r12w
mov r8d, 4
lea rdx, str..zip
lea rcx, [rsp + 0x40]
call fcn.14001f890
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rbx
mov word [rax], r12w
lea rbx, [rbp - 0x78]
movq rcx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 8
cmovae rbx, rcx
call fcn.1400647c0
mov rcx, rax
mov rdx, rbx
call fcn.140064190
nop
lea rcx, [rbp - 0x78]
call fcn.14000e6a0
nop
lea rcx, [rsp + 0x40]
call fcn.14000e6a0
nop
lea rcx, [rsp + 0x68]
call fcn.14000e6a0
nop
lea rcx, [rbp - 0x58]
call fcn.14000e6a0
jmp 0x1400e688c
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e6a59
mov rcx, qword [rdi]
xor edx, edx
call fcn.140126b74
cmp eax, 0xffffffff
jne 0x1400e6a7a
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e6a72
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e6a87
mov rcx, qword [rdi]
call fcn.1401249d4
test eax, eax
je 0x1400e6b9a
mov r13, qword [rdi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 0x14
jb 0x1400e6bf5
mov qword [rsp + 0x60], rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e6ac6
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
lea r12, [r13 + 0x14]
mov ebx, 7
lea r15, [rsp + 0x40]
cmp r12, rbx
jbe 0x1400e6b14
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x1400e6af2
mov rbx, rcx
jmp 0x1400e6afe
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14000ed80
mov r15, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [str.Error_changing_into]
movups xmmword [r15], xmm0
movups xmm1, xmmword [0x14016f5b0]
movups xmmword [r15 + 0x10], xmm1
movsd xmm0, qword [0x14016f5c0]
movsd qword [r15 + 0x20], xmm0
lea rcx, [r15 + 0x28]
lea r8, [r13*2]
mov rdx, qword [rsp + 0x60]
call fcn.14010e4d0
xor eax, eax
mov word [r15 + r12*2], ax
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rbx, qword [rsp + 0x40]
call fcn.1400647c0
mov rcx, rax
mov rdx, rbx
call fcn.140064190
nop
lea rcx, [rsp + 0x40]
call fcn.14000e6a0
mov rcx, r14
call qword [sym.imp.zlibwapi.dll_Ordinal_62]
jmp 0x1400e688c
mov rdx, r14
call fcn.1400e7750
mov rcx, r14
call qword [sym.imp.zlibwapi.dll_Ordinal_62]
lea rcx, [0x14016f524]
call fcn.1401248a0
nop
mov rcx, rsi
call fcn.14000e6a0
nop
mov rcx, rdi
call fcn.14000e6a0
mov al, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.14010a950
mov rbx, qword [rsp + 0x280]
add rsp, 0x240
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14000e0c0
nop
int3