Function at 0x14008c750
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1990
call fcn.1400ba8b0
sub rsp, rax
mov rax, qword [0x1400e0920]
xor rax, rsp
mov qword [rsp + 0x1980], rax
mov dil, cl
lea r15, [0x140105fb0]
mov r12b, r9b
mov rcx, r15
mov sil, r8b
mov bpl, dl
call fcn.140010f84
xor r14d, r14d
mov ebx, 1
cmp bpl, r14b
je 0x14008c7ba
test bl, al
jne 0x14008c7ba
xor al, al
jmp 0x14008cb91
call fcn.14008efb0
mov word [0x140126e10], r14w
mov r13d, eax
call fcn.140082880
lea rdx, [rsp + 0x30]
mov rcx, r15
call fcn.1400129f0
lea rdx, [0x14010e6bc]
mov r8d, 0x400
mov rcx, r15
call fcn.1400129d4
mov edx, dword [rsp + 0xb0]
mov cl, bl
mov byte [0x14010bd72], bpl
mov dword [0x14010c234], ebx
mov dword [0x14010bd18], r14d
mov dword [0x14010c654], edx
mov dword [0x14010bd3c], r14d
call fcn.14008a778
cmp dword [rsp + 0x158], r14d
lea r8, [0x14010e6bc]
lea rdx, [0x1400c3f4c]
setne al
lea rcx, [0x140126e10]
mov r9b, dil
mov byte [rsp + 0x28], r12b
mov byte [rsp + 0x20], al
call fcn.14008b6a0
cmp dil, r14b
je 0x14008c867
mov rcx, rbx
call fcn.14008c5ac
cmp al, r14b
je 0x14008c7b3
lea rdx, [rsp + 0x980]
mov r8d, 0x400
mov rcx, r15
call fcn.1400129b4
lea r12, [0x140105570]
cmp word [rsp + 0x980], r14w
jne 0x14008c8bc
mov rcx, r12
call fcn.140040564
mov rcx, r12
mov edi, eax
call fcn.1400405d0
cmp edi, eax
jne 0x14008c8bc
cmp dword [rsp + 0x158], r14d
je 0x14008c8b9
cmp byte [rsp + 0x179], r14b
je 0x14008c8bc
mov sil, bl
lea r15, [0x1400c3120]
cmp sil, r14b
je 0x14008c91b
mov rcx, qword [0x14010eec0]
lea rdx, [rsp + 0x180]
mov r9d, 0x3ff
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call fcn.14006bb54
cmp al, r14b
je 0x14008c907
lea rsi, [rsp + 0x180]
mov rdi, r15
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x14008c9a9
mov rcx, qword [0x14010eec0]
mov rdx, r15
call fcn.14006ba48
jmp 0x14008c9a9
mov rdx, qword [0x14010eec0]
xor r8d, r8d
mov rcx, r12
call fcn.140040774
cmp al, r14b
je 0x14008c7b3
mov rsi, qword [0x14010eec0]
cmp dword [rsi + 0x40], r14d
jne 0x14008c9a9
mov rcx, r14
movzx eax, word [rsp + rcx + 0x980]
add rcx, 2
mov word [rsp + rcx + 0x17e], ax
cmp ax, r14w
jne 0x14008c946
cmp word [rsp + 0x180], r14w
je 0x14008c97f
lea rcx, [rsp + 0x180]
call fcn.14005254c
mov rsi, qword [0x14010eec0]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x180]
repne scasw ax, word [rdi]
mov eax, dword [0x1400c42d4]
lea rdx, [rsp + 0x180]
mov rcx, rsi
mov dword [rdi - 2], eax
call fcn.14006ba5c
cmp dword [rsp + 0x158], r14d
je 0x14008ca2f
cmp byte [rsp + 0x179], r14b
jne 0x14008ca2f
mov rcx, r12
call fcn.140040564
mov edi, eax
cmp eax, r14d
je 0x14008ca20
cmp word [rsp + 0x980], r14w
jne 0x14008ca2f
mov rcx, r12
call fcn.1400405d0
cmp edi, eax
jne 0x14008ca2f
mov r8, qword [0x1400ffd80]
mov rcx, qword [0x1400ec660]
lea rax, [0x14010e6bc]
lea r9, [0x14008b5e8]
lea rdx, str.ASKPROCESSVOLDLG
mov qword [rsp + 0x20], rax
call qword [sym.imp.USER32.dll_DialogBoxParamW]
cmp rax, 0xffffffffffffffff
je 0x14008c7b3
cmp rax, rbx
jne 0x14008ca2f
mov rcx, qword [0x14010eec0]
mov rdx, r15
call fcn.14006ba48
mov word [rsp + 0x1180], r14w
cmp bpl, r14b
jne 0x14008caab
cmp word [0x140126e10], r14w
je 0x14008caab
cmp dword [0x14010bc78], 4
je 0x14008caab
lea rcx, [rsp + 0x1180]
mov edx, 0x400
call fcn.140087408
lea rcx, [0x140126e10]
xor edx, edx
call fcn.140031ba4
lea rcx, [0x140126e10]
call fcn.1400873f0
cmp al, r14b
jne 0x14008caab
mov ecx, 0x1f7
call fcn.140061d2c
lea rdx, [0x140126e10]
mov rcx, rax
call fcn.140095e68
lea rcx, [0x1400ec668]
call fcn.1400286c0
jmp 0x14008c7b3
mov dl, byte [0x14010d65b]
lea rcx, [0x140105fb0]
xor r8d, r8d
call fcn.14001731c
cmp word [rsp + 0x1180], r14w
je 0x14008cad9
lea rcx, [rsp + 0x1180]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.14008efb0
cmp r13d, eax
jne 0x14008cb56
cmp byte [0x1400fec04], r14b
jne 0x14008cb56
cmp bpl, r14b
je 0x14008cb23
mov ecx, 0x3a7
call fcn.140061d2c
mov ecx, 0x3a8
mov rdi, rax
call fcn.140061d2c
mov rcx, qword [0x1400ffd80]
mov r9d, 0x40
mov r8, rdi
mov rdx, rax
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14008cb59
cmp dword [0x14010d66c], r14d
je 0x14008cb59
lea rcx, [0x14010e6bc]
call fcn.140031110
cmp al, r14b
jne 0x14008cb59
mov rcx, r12
call fcn.140042c50
cmp al, r14b
je 0x14008cb59
xor edx, edx
mov rcx, r12
call fcn.140043330
jmp 0x14008cb59
mov bl, r14b
lea rcx, [0x1400ffda0]
mov byte [0x1400ffdd0], r14b
call fcn.14006b22c
cmp bpl, r14b
jne 0x14008cb8f
cmp byte [0x1400fec04], r14b
jne 0x14008cb8f
cmp byte [0x140126e08], r14b
je 0x14008cb8f
lea rcx, [0x140126e10]
call fcn.14008b8e8
mov al, bl
mov rcx, qword [rsp + 0x1980]
xor rcx, rsp
call fcn.1400a8530
lea r11, [rsp + 0x1990]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret