Function at 0x100a7784
Capabilities:
Check os version

Disassembly:
push 0xb0
mov eax, 0x101d472a
call fcn.101a7310
mov edi, ecx
mov dword [ebp - 0xb8], edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x20]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
push eax
push 0
mov dword [ebp - 0xbc], edi
call fcn.100758e3
and dword [ebp - 4], 0
lea ebx, [edi + 0xc8]
mov dword [edi], vtable.CFileDialog.0
call fcn.1006591e
push eax
mov ecx, ebx
call fcn.10009460
xor eax, eax
mov byte [ebp - 4], 1
mov dword [edi + 0x2d8], eax
push 0x94
push eax
mov dword [edi + 0x2dc], eax
lea eax, [ebp - 0xa4]
push eax
call fcn.101ab4e0
add esp, 0xc
mov dword [ebp - 0xa4], 0x94
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 6
jb 0x100a782a
mov eax, dword [ebp + 0x24]
jmp 0x100a782c
xor eax, eax
mov dword [edi + 0xac], eax
and dword [edi + 0xb0], 0
and dword [edi + 0xb4], 0
test esi, esi
jne 0x100a7847
push 0x58
pop esi
push esi
call fcn.101b5a7b
mov dword [edi + 0xa8], eax
pop ecx
test eax, eax
je 0x100a7a56
push esi
push 0
push eax
call fcn.101ab4e0
xor eax, eax
lea ecx, [edi + 0x1cc]
mov byte [ecx], al
lea edx, [edi + 0xcc]
mov byte [edx], al
add esp, 0xc
and dword [edi + 0x2d4], 0
mov dword [edi + 0x2d0], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0xc4], eax
neg eax
sbb eax, eax
add eax, 0x7005
mov dword [edi + 0x80], eax
mov eax, dword [edi + 0xa8]
mov dword [eax], esi
mov esi, 0x104
mov eax, dword [edi + 0xa8]
mov dword [eax + 0x1c], ecx
mov eax, dword [edi + 0xa8]
mov dword [eax + 0x20], esi
mov ecx, dword [edi + 0xa8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 0xa8]
mov dword [eax + 0x24], edx
mov eax, dword [edi + 0xa8]
mov dword [eax + 0x28], 0x100
mov ecx, dword [edi + 0xa8]
mov eax, dword [ebp + 0x14]
or eax, 0x80020
or dword [ecx + 0x34], eax
test byte [ebp + 0x14], 0x40
je 0x100a7904
mov eax, dword [edi + 0xa8]
and dword [eax + 0x34], 0xff7fffff
call fcn.10066a47
mov ecx, dword [eax + 0xc]
mov eax, dword [edi + 0xa8]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0xa8]
mov dword [eax + 0x44], 0x100aaa5a
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x100a7945
push 0xffffffffffffffff
push eax
lea eax, [edi + 0x1cc]
push esi
push eax
call fcn.101b6d00
push eax
call fcn.100644a3
add esp, 0x14
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x100a7983
push eax
mov ecx, ebx
call fcn.100271e0
push 0
mov ecx, ebx
call fcn.100176e0
jmp 0x100a7966
mov byte [eax], 0
inc eax
push 0x7c
push eax
call fcn.101b7189
pop ecx
pop ecx
test eax, eax
jne 0x100a7962
mov ecx, dword [edi + 0xa8]
mov eax, dword [edi + 0xc8]
mov dword [ecx + 0xc], eax
cmp dword [edi + 0xac], 1
jne 0x100a7a4c
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x100a7a45
lea eax, [ebp - 0xa8]
mov dword [edi + method.CFileDialog::XFileDialogControlEvents.virtual_0], vtable.CFileDialog::XFileDialogControlEvents.0
push eax
push 0x101f76ec
xor ecx, ecx
lea ebx, [edi + 0x2d8]
push 1
mov dword [ebx], vtable.CFileDialog::XFileDialogEvents.0
push ecx
cmp dword [edi + 0xc4], ecx
je 0x100a79d8
push 0x1021a16c
jmp 0x100a79dd
push 0x1021a17c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x100a7a45
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0xb4]
push ecx
push 0x101f76fc
push eax
mov esi, dword [eax]
mov ecx, dword [esi]
call dword [0x101e0a88]
call dword [esi]
test eax, eax
js 0x100a7a5b
mov ecx, dword [ebp - 0xa8]
lea eax, [edi + 0xb8]
push eax
push ebx
push ecx
mov esi, dword [ecx]
mov ecx, dword [esi + 0x1c]
call dword [0x101e0a88]
call dword [esi + 0x1c]
test eax, eax
js 0x100a7a5b
mov eax, dword [ebp - 0xa8]
mov dword [edi + 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [edi + 0xc0], eax
jmp 0x100a7a4c
and dword [edi + 0xac], 0
mov eax, edi
call fcn.101a72ba
ret 0x20
call fcn.100644e7
call fcn.100644cd
int3