Function at 0x43e2af
Capabilities:
Check os version

Disassembly:
push 0xb0
mov eax, 0x558883
call fcn.00538560
mov esi, ecx
mov dword [ebp - 0xb8], esi
mov eax, dword [ebp + 0x10]
mov edi, 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], esi
call fcn.0041c6dd
and dword [ebp - 4], 0
lea ebx, [esi + 0xc8]
mov dword [esi], vtable.CFileDialog.0
call fcn.004176b0
push eax
mov ecx, ebx
call fcn.00403130
xor ecx, ecx
mov byte [ebp - 4], 1
push 0x94
push ecx
lea eax, [ebp - 0xa4]
mov dword [esi + 0x2d8], ecx
push eax
mov dword [esi + 0x2dc], ecx
call fcn.0053aab0
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 0x43e35b
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xac], eax
jmp 0x43e362
and dword [esi + 0xac], 0
and dword [esi + 0xb0], 0
and dword [esi + 0xb4], 0
test edi, edi
jne 0x43e377
push 0x58
pop edi
push edi
call fcn.00541c2e
mov dword [esi + 0xa8], eax
pop ecx
test eax, eax
jne 0x43e38d
call fcn.00418275
push edi
push 0
push eax
call fcn.0053aab0
xor eax, eax
lea ecx, [esi + 0x1cc]
mov byte [ecx], al
lea edx, [esi + 0xcc]
mov byte [edx], al
add esp, 0xc
and dword [esi + 0x2d4], 0
mov dword [esi + 0x2d0], eax
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 0x43e435
mov eax, dword [esi + 0xa8]
and dword [eax + 0x34], 0xff7fffff
call fcn.0041c602
mov ecx, dword [eax + 0xc]
mov eax, dword [esi + 0xa8]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xa8]
mov dword [eax + 0x44], 0x437f80
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x43e476
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x1cc]
push edi
push eax
call fcn.0054213b
push eax
call fcn.00404770
add esp, 0x14
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x43e4b0
push eax
mov ecx, ebx
call fcn.00402f20
push 0
mov ecx, ebx
call fcn.00402da0
jmp 0x43e497
mov byte [eax], 0
inc eax
push 0x7c
push eax
call fcn.0053db44
pop ecx
pop ecx
test eax, eax
jne 0x43e493
mov ecx, dword [esi + 0xa8]
mov eax, dword [ebx]
mov dword [ecx + 0xc], eax
cmp dword [esi + 0xac], 1
jne 0x43e56b
push 2
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x43e565
lea eax, [ebp - 0xa8]
mov dword [esi + method.CFileDialog::XFileDialogControlEvents.virtual_0], vtable.CFileDialog::XFileDialogControlEvents.0
lea edi, [esi + 0x2d8]
push eax
push 0x56b6fc
push 1
mov dword [edi], vtable.CFileDialog::XFileDialogEvents.0
push ebx
cmp dword [esi + 0xc4], ebx
je 0x43e504
push 0x58e244
jmp 0x43e509
push 0x58e254
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43e565
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xb4]
push edx
push 0x56b70c
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
jns 0x43e533
call fcn.0041825b
mov ecx, dword [ebp - 0xa8]
lea eax, [esi + 0xb8]
push eax
push edi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x1c]
test eax, eax
js 0x43e52e
mov eax, dword [ebp - 0xa8]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp - 0xb4]
mov dword [esi + 0xc0], eax
jmp 0x43e56b
mov dword [esi + 0xac], ebx
mov eax, esi
call fcn.0053850a
ret 0x20