Function at 0x1400f6cb0
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1402a6808]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, r8
mov ebp, edx
mov rdi, rcx
call fcn.14000c980
mov rsi, rax
xor r14d, r14d
mov r15d, 0x1911
sub ebp, 0x110
je 0x1400f6d17
cmp ebp, 1
je 0x1400f6dee
xor eax, eax
jmp 0x1400f705e
mov ecx, dword [rax + 0x3fc]
sub ecx, 1
je 0x1400f6d3a
cmp ecx, 1
je 0x1400f6d2e
mov edx, 0x190e
jmp 0x1400f6d3f
mov edx, 0x1910
mov ebp, 1
jmp 0x1400f6d42
mov edx, 0x190f
mov ebp, r14d
mov qword [rsp + 0x20], r14
mov r9d, 1
mov r8d, 0xf1
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea rax, [rsi + 0x400]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0xc]
mov edx, r15d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov edx, r15d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x1912
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, ebp
call qword [sym.imp.USER32.dll_EnableWindow]
mov rax, qword [rsi + 0x32e60]
test rax, rax
je 0x1400f6dc6
mov edx, 6
mov rcx, qword [rdi + 0x18]
call rax
mov r9, r14
cmp byte [rsi + 0x888], r9b
setne r9b
mov qword [rsp + 0x20], r14
mov edx, 0x191f
mov r8d, 0xf1
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov rax, rbx
shr rax, 0x10
mov ecx, 0x300
cmp ax, cx
jne 0x1400f6e72
cmp bx, r15w
jne 0x1400f6e72
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x104
mov r8d, InitCommonControls
mov edx, r15d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_SendDlgItemMessageW]
lea r8, [rsp + 0x80]
mov edx, 0x104
lea rcx, [rsi + 0x400]
call fcn.1401a66e0
mov r8d, 0x104
lea rdx, [rsi + 0x608]
lea rcx, [rsi + 0x400]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rsi + 0x608]
mov rcx, rsi
call fcn.1400e9710
jmp 0x1400f7059
sub rbx, 0x190e
je 0x1400f7020
sub rbx, 1
je 0x1400f7014
sub rbx, 1
je 0x1400f6fd9
sub rbx, 2
je 0x1400f6ed8
cmp rbx, 0xd
jne 0x1400f6d10
mov edx, 0x191f
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf0
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 1
sete al
mov byte [rsi + 0x888], al
jmp 0x1400f7059
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x48], xmm1
mov word [rsp + 0x38], r14w
mov r8d, 0x24
lea rdx, str.Select_a_folder_as_default_directory
lea rcx, [rsp + 0x38]
call fcn.140006d60
nop
mov qword [rsp + 0x20], r14
mov r9d, r15d
lea r8, [rsp + 0x38]
mov rdx, qword [rdi + 0x18]
lea rcx, [rsp + 0x58]
call fcn.140028e30
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400f6f6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6f65
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f7091
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400f6fc0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f6fbb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f708b
call fcn.14017f5e4
movdqa xmm0, xmmword [0x1401e3030]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
jmp 0x1400f7059
mov dword [rsi + 0x3fc], 2
mov edx, r15d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 1
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x1912
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 1
jmp 0x1400f7050
mov dword [rsi + 0x3fc], 1
jmp 0x1400f7027
mov dword [rsi + 0x3fc], r14d
mov edx, r15d
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov edx, 0x1912
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_EnableWindow]
mov eax, 1
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14017f700
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1401a10ac
nop
call fcn.1401a10ac
nop
int3