Function at 0x41c900
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x463952
mov eax, dword fs:[0]
push eax
sub esp, 0x5ac
mov eax, dword [0x4826d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00403330
mov ecx, eax
test ecx, ecx
je 0x41cd55
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5b0], eax
lea eax, [ebp - 0x5ac]
mov dword [ebp - 4], 0
push 0xc1
push eax
call fcn.00424890
add esp, 8
push eax
lea ecx, [ebp - 0x5b0]
mov byte [ebp - 4], 1
call fcn.004019b0
mov edx, dword [ebp - 0x5ac]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41c99c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x5b0]
cmp dword [esi - 4], 1
jle 0x41c9bc
push dword [esi - 0xc]
lea ecx, [ebp - 0x5b0]
call fcn.00403220
mov esi, dword [ebp - 0x5b0]
movzx eax, word [esi]
mov ecx, esi
test ax, ax
je 0x41c9e1
mov edx, eax
cmp dx, 0x7c
jne 0x41c9d3
xor eax, eax
mov word [ecx], ax
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x41c9c8
mov eax, dword [edi + 4]
mov dword [ebp - 0x5ac], eax
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
push 0x58
lea eax, [ebp - 0x474]
push 0
push eax
call fcn.00446f50
xor eax, eax
mov dword [ebp - 0x41c], 1
push 0x110
push eax
mov word [ebp - 0x218], ax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x5a4]
push eax
mov dword [ebp - 0x474], 0x58
mov dword [ebp - 0x5a8], 0x114
call fcn.00446f50
add esp, 0x18
lea eax, [ebp - 0x5a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41ca8f
mov eax, dword [ebp - 0x5a4]
cmp eax, 5
jae 0x41ca99
cmp eax, 4
jne 0x41ca8f
cmp dword [ebp - 0x5a0], 0x5a
jae 0x41ca99
mov dword [ebp - 0x474], 0x4c
lea eax, [ebp - 0x218]
mov dword [ebp - 0x454], 0x104
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x450], eax
mov eax, dword [0x48585c]
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp - 0x5ac]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x44c], 0x100
mov dword [ebp - 0x440], 0x881024
mov dword [ebp - 0x468], esi
mov dword [ebp - 0x430], 0x406f70
mov dword [ebp - 0x470], eax
mov dword [ebp - method.ATL::CComObject_class_ATL::CAxFrameWindow_.virtual_0], 0x467f40
lea eax, [ebp - 0x5b4]
mov byte [ebp - 4], 3
push 0xc0
push eax
call fcn.00424890
add esp, 8
mov eax, dword [ebp - 0x5b4]
mov byte [ebp - 4], 4
mov dword [ebp - 0x444], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x470]
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x470], ecx
test eax, eax
jne 0x41cb6f
call fcn.00442ec1
mov dword [ebp - 0x480], eax
test eax, eax
jne 0x41cb6f
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x41cce8
push 0
push 0
push eax
call fcn.00442fc3
lea eax, [ebp - 0x494]
mov dword [ebp - 0x48c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0x48202c
mov dword [ebp - 0x488], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x482044]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x48c]
push 0x48202c
mov dword [0x482044], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x41c], 0
lea eax, [ebp - 0x474]
push eax
je 0x41cbd5
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x41cbdb
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [ebp - 0x490], 0
test eax, eax
je 0x41cce8
mov ecx, dword [edi + 0x20]
lea edx, [ebp - 0x218]
lea eax, [edx + 2]
add ecx, 0x6c
mov dword [ebp - 0x5ac], eax
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41cc02
sub edx, dword [ebp - 0x5ac]
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.00406dd0
push 0
push 0
push 0x146
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 2
jle 0x41cc4b
push 0
push 2
push 0x144
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0x20]
lea ecx, [ebp - 0x5ac]
push dword [eax + 0x6c]
call fcn.0040d6d0
lea eax, [ebp - 0x5b8]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x5ac]
call fcn.0040f4d0
push dword [eax]
push 0
push 0x143
push dword [edi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x5b8]
invalid