Function at 0x140114fd0
Capabilities:
Check os version

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, r9
mov qword [rsp + 0x38], r8
mov r15d, edx
mov r14, rcx
mov eax, dword [rbp + 0xf8]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], rcx
mov rdi, qword [rbp + 0xe8]
mov r8, qword [rbp + 0xf0]
xor edx, edx
call fcn.14010c63c
nop
lea rax, vtable.CFileDialog.0
mov qword [r14], rax
lea r13, [r14 + 0x160]
call fcn.1400f9930
mov r12, rax
test rax, rax
je 0x14011539e
mov rax, qword [rax]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call fcn.14029e28c
mov rcx, r12
call rbx
add rax, 0x18
mov qword [r13], rax
xor r12d, r12d
mov qword [r14 + 0x580], r12
mov qword [r14 + 0x588], r12
mov ebx, 0x114
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.14029ff20
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, r12d
cmp dword [rsp + 0x54], 6
cmovae eax, dword [rbp + 0x100]
mov dword [r14 + 0x138], eax
mov qword [r14 + 0x13c], r12
lea eax, [rbx - 0x7c]
mov ecx, dword [rsp + 0x30]
test ecx, ecx
cmovne eax, ecx
mov r12d, eax
mov ecx, eax
call fcn.1402a7088
mov qword [r14 + 0x130], rax
test rax, rax
je 0x1401153a9
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.14029ff20
lea rbx, [r14 + 0x368]
xor eax, eax
mov word [rbx], ax
lea rcx, [r14 + 0x168]
mov word [rcx], ax
mov qword [r14 + 0x570], rax
mov dword [r14 + 0x158], r15d
mov dword [r14 + 0x578], eax
neg r15d
sbb eax, eax
add eax, 0x7005
mov dword [r14 + 0xe8], eax
mov rax, qword [r14 + 0x130]
mov dword [rax], r12d
mov rax, qword [r14 + 0x130]
mov qword [rax + 0x30], rbx
mov rax, qword [r14 + 0x130]
mov r15d, 0x104
mov dword [rax + 0x38], r15d
mov rax, qword [r14 + 0x130]
mov rdx, qword [rsp + 0x38]
mov qword [rax + 0x68], rdx
mov rax, qword [r14 + 0x130]
mov qword [rax + 0x40], rcx
mov rax, qword [r14 + 0x130]
mov dword [rax + 0x48], 0x100
mov rcx, qword [r14 + 0x130]
mov eax, dword [rbp + 0xe0]
or eax, 0x80020
or dword [rcx + 0x60], eax
test byte [rbp + 0xe0], 0x40
je 0x1401151af
mov rax, qword [r14 + 0x130]
btr dword [rax + 0x60], 0x17
call fcn.1401098dc
mov r9, qword [rax + 0x18]
mov rax, qword [r14 + 0x130]
mov qword [rax + 0x10], r9
mov rax, qword [r14 + 0x130]
lea rcx, [0x140114d6c]
mov qword [rax + 0x78], rcx
xor r12d, r12d
test rsi, rsi
je 0x140115217
or r9, 0xffffffffffffffff
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1402a88a4
test eax, eax
je 0x140115217
cmp eax, 0xc
je 0x1401153bb
cmp eax, 0x16
je 0x1401153b5
cmp eax, 0x22
je 0x1401153b5
cmp eax, 0x50
jne 0x1401153af
mov esi, 1
test rdi, rdi
je 0x140115288
mov rcx, rdi
call fcn.1402a577c
mov r8d, eax
mov rdx, rdi
mov rcx, r13
call fcn.1400105e0
lea rbx, [r14 + 0x160]
mov r8, qword [rbx]
mov ecx, esi
sub ecx, dword [r8 - 8]
mov eax, dword [r8 - 0xc]
or eax, ecx
jge 0x14011525c
xor edx, edx
mov rcx, rbx
call fcn.14000ddb0
mov r8, qword [rbx]
mov edi, 0x7c
mov rcx, r8
jmp 0x14011526e
mov word [rax], r12w
lea rcx, [rax + 2]
mov edx, edi
call fcn.14029fc6c
test rax, rax
jne 0x140115266
mov rcx, qword [rbx]
mov rax, qword [r14 + 0x130]
mov qword [rax + 0x18], rcx
cmp dword [r14 + 0x138], esi
jne 0x140115374
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14011536d
lea r15, [r14 + 0x580]
lea rax, vtable.CFileDialog::XFileDialogEvents.0
mov qword [r15], rax
lea rax, vtable.CFileDialog::XFileDialogControlEvents.0
mov qword [r14 + 0x588], rax
lea rax, [rsp + 0x30]
lea r9, [0x1402e4610]
mov r8d, esi
xor edx, edx
mov qword [rsp + 0x20], rax
cmp dword [r14 + 0x158], r12d
lea rcx, [0x140336c10]
jne 0x1401152f6
lea rcx, [0x140336bf0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14011536d
mov rdi, qword [rsp + 0x30]
mov rax, qword [rdi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.14029e28c
lea r8, [rsp + 0x38]
lea rdx, [0x1402e4620]
mov rcx, rdi
call rbx
test eax, eax
js 0x1401153c1
mov rsi, qword [rsp + 0x30]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x38]
mov rcx, rdi
call fcn.14029e28c
lea r8, [r14 + 0x144]
mov rdx, r15
mov rcx, rsi
call rdi
test eax, eax
js 0x1401153c7
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x148], rax
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x150], rax
jmp 0x140115374
mov dword [r14 + 0x138], r12d
mov rax, r14
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.14029d880
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
call fcn.1400f91c4
int3
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3
call fcn.1400f91c4
int3
call fcn.1400f91a0
int3
call fcn.1400f91a0
int3