Function at 0x1400e1680
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 [0x1401900d0]
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.140109a40
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e16e3
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.140105884
mov r14, rax
mov r8d, r15d
xor edx, edx
mov rcx, rax
call fcn.140109a40
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x1400e172d
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 0x1400e1784
call fcn.140061ec0
mov rcx, rax
mov r8b, 1
lea rdx, str.WideCharToMultiByte_Error
call fcn.1400616d0
nop
mov rcx, rsi
call fcn.14000d260
nop
mov rcx, rdi
call fcn.14000d260
xor al, al
jmp 0x1400e1a93
mov r9d, 0xff
mov r8, r14
lea edx, [r9 + 0x11]
lea rcx, [rbp + 0x20]
call fcn.140121778
mov byte [rbp + 0x120], 0
mov rcx, r14
call fcn.140105840
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 0x1400e1914
lea r8, [0x140168aac]
mov edx, 0x110
lea rcx, [rbp + 0x20]
call fcn.140121ce0
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x20]
call qword [sym.imp.zlibwapi.dll_Ordinal_77]
mov r14, rax
test rax, rax
jne 0x1400e1914
mov r8, rsi
lea rdx, str.Cannot_open
lea rcx, [rbp - 0x58]
call fcn.14001bdf0
nop
lea rdx, str._or
mov rcx, rax
call fcn.14001d3f0
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
lea rcx, [rsp + 0x68]
call fcn.14001d480
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
lea rdx, str..zip
lea rcx, [rsp + 0x40]
call fcn.14001d3f0
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.140061ec0
mov rcx, rax
mov rdx, rbx
call fcn.1400618a0
nop
lea rcx, [rbp - 0x78]
call fcn.14000d260
nop
lea rcx, [rsp + 0x40]
call fcn.14000d260
nop
lea rcx, [rsp + 0x68]
call fcn.14000d260
nop
lea rcx, [rbp - 0x58]
call fcn.14000d260
jmp 0x1400e176c
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e1921
mov rcx, qword [rdi]
xor edx, edx
call fcn.1401216b8
cmp eax, 0xffffffff
jne 0x1400e1942
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e193a
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e194f
mov rcx, qword [rdi]
call fcn.140121b84
test eax, eax
je 0x1400e1a62
mov r13, qword [rdi + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r13
cmp rax, 0x14
jb 0x1400e1abd
mov qword [rsp + 0x60], rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e198e
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 0x1400e19dc
mov rbx, r12
or rbx, 7
cmp rbx, rcx
jbe 0x1400e19ba
mov rbx, rcx
jmp 0x1400e19c6
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x40]
call fcn.14000d940
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 [0x140168ad8]
movups xmmword [r15 + 0x10], xmm1
movsd xmm0, qword [0x140168ae8]
movsd qword [r15 + 0x20], xmm0
lea rcx, [r15 + 0x28]
lea r8, [r13*2]
mov rdx, qword [rsp + 0x60]
call fcn.1401093a0
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.140061ec0
mov rcx, rax
mov rdx, rbx
call fcn.1400618a0
nop
lea rcx, [rsp + 0x40]
call fcn.14000d260
mov rcx, r14
call qword [sym.imp.zlibwapi.dll_Ordinal_62]
jmp 0x1400e176c
mov rdx, r14
call fcn.1400e2620
mov rcx, r14
call qword [sym.imp.zlibwapi.dll_Ordinal_62]
lea rcx, [0x140168a34]
call fcn.140121a50
nop
mov rcx, rsi
call fcn.14000d260
nop
mov rcx, rdi
call fcn.14000d260
mov al, 1
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.140105820
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.14000cc90
nop
int3