Function at 0x1001e532
Capabilities:
Check os version

Disassembly:
push 0x130
mov eax, 0x10140286
call fcn.101237d7
mov esi, ecx
mov dword [ebp - 0x138], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x20]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov dword [ebp - 0x13c], esi
call fcn.1001bd51
and dword [ebp - 4], 0
lea ebx, [esi + 0xc8]
mov dword [esi], vtable.CFileDialog.0
call fcn.100051d1
push eax
mov ecx, ebx
call fcn.100025d0
xor ecx, ecx
mov byte [ebp - 4], 1
push 0x114
push ecx
lea eax, [ebp - 0x124]
mov dword [esi + 0x4dc], ecx
push eax
mov dword [esi + 0x4e0], ecx
call fcn.10125f90
add esp, 0xc
mov dword [ebp - 0x124], 0x114
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x120], 6
jb 0x1001e5de
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xac], eax
jmp 0x1001e5e5
and dword [esi + 0xac], 0
and dword [esi + 0xb0], 0
and dword [esi + 0xb4], 0
test edi, edi
jne 0x1001e5fa
push 0x58
pop edi
push edi
call fcn.10128e70
mov dword [esi + 0xa8], eax
pop ecx
test eax, eax
jne 0x1001e610
call fcn.10004c0f
push edi
push 0
push eax
call fcn.10125f90
xor eax, eax
lea ecx, [esi + 0x2cc]
mov word [ecx], ax
lea edx, [esi + 0xcc]
mov word [edx], ax
add esp, 0xc
and dword [esi + 0x4d4], eax
and dword [esi + 0x4d8], 0
mov eax, dword [ebp + 8]
mov dword [esi + 0xc4], eax
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0xa8]
mov dword [eax], edi
mov edi, 0x104
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x1c], ecx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x20], edi
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x3c], eax
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x24], edx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x28], 0x100
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebp + 0x14]
or eax, 0x80020
or dword [ecx + 0x34], eax
test byte [ebp + 0x14], 0x40
je 0x1001e6ba
mov eax, dword [esi + 0xa8]
and dword [eax + 0x34], 0xff7fffff
call fcn.1000827c
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xa8]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x44], 0x10022199
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x1001e6fb
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x2cc]
push edi
push eax
call fcn.1012adaf
push eax
call fcn.100026a0
add esp, 0x14
mov eax, dword [ebp - 0x130]
test eax, eax
je 0x1001e739
push eax
mov ecx, ebx
call fcn.10002ca0
push 0
mov ecx, ebx
call fcn.10002a30
jmp 0x1001e720
xor ecx, ecx
mov word [eax], cx
add eax, 2
push 0x7c
push eax
call fcn.10126566
pop ecx
pop ecx
test eax, eax
jne 0x1001e718
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebx]
mov dword [ecx + 0xc], eax
cmp dword [esi + 0xac], 1
jne 0x1001e7f4
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1001e7ee
lea eax, [ebp - 0x128]
mov dword [esi + 0x4e0], 0x101533b0
lea edi, [esi + 0x4dc]
push eax
push 0x1015358c
push 1
mov dword [edi], vtable.CFileDialog::XFileDialogEvents.0
push ebx
cmp dword [esi + 0xc4], ebx
je 0x1001e78d
push 0x1017a97c
jmp 0x1001e792
push 0x1017a98c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1001e7ee
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x134]
push edx
push 0x1015359c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x1001e7bc
call fcn.10004bf5
mov ecx, dword [ebp - 0x128]
lea eax, [esi + 0xb8]
push eax
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
test eax, eax
js 0x1001e7b7
mov eax, dword [ebp - 0x128]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0x134]
mov dword [esi + 0xc0], eax
jmp 0x1001e7f4
mov dword [esi + 0xac], ebx
mov eax, esi
call fcn.10123781
ret 0x20