Function at 0x1400f8450
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 [0x1402a98a8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rbx, r8
mov ebp, edx
mov rdi, rcx
call fcn.14000c990
mov rsi, rax
xor r14d, r14d
mov r15d, 0x1911
sub ebp, 0x110
je 0x1400f84b7
cmp ebp, 1
je 0x1400f858e
xor eax, eax
jmp 0x1400f87fe
mov ecx, dword [rax + 0x3fc]
sub ecx, 1
je 0x1400f84da
cmp ecx, 1
je 0x1400f84ce
mov edx, 0x190e
jmp 0x1400f84df
mov edx, 0x1910
mov ebp, 1
jmp 0x1400f84e2
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 + 0x32e68]
test rax, rax
je 0x1400f8566
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 0x1400f8612
cmp bx, r15w
jne 0x1400f8612
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.1401a83c0
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.1400eae30
jmp 0x1400f87f9
sub rbx, 0x190e
je 0x1400f87c0
sub rbx, 1
je 0x1400f87b4
sub rbx, 1
je 0x1400f8779
sub rbx, 2
je 0x1400f8678
cmp rbx, 0xd
jne 0x1400f84b0
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 0x1400f87f9
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x1401e5030]
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.140006d70
nop
mov qword [rsp + 0x20], r14
mov r9d, r15d
lea r8, [rsp + 0x38]
mov rdx, qword [rdi + 0x18]
lea rcx, [rsp + 0x58]
call fcn.140028e90
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400f870a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f8705
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f8831
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x68], xmm0
mov word [rsp + 0x58], r14w
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400f8760
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400f875b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400f882b
call fcn.1401812c4
movdqa xmm0, xmmword [0x1401e5030]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r14w
jmp 0x1400f87f9
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 0x1400f87f0
mov dword [rsi + 0x3fc], 1
jmp 0x1400f87c7
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.1401813e0
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.1401a2d8c
nop
call fcn.1401a2d8c
nop
int3