Function at 0x42c5d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586304
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x60b9b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str..dwg
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0
call fcn.004078b0
push str..dxf
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004078b0
push str..dwf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004078b0
push str..dwfx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004078b0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x14]
mov byte [ebp - 0x148], 0
lea ecx, [ebp - 0x15c]
push dword [ebp - 0x148]
mov dword [ebp - 0x15c], 0
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x158], 0
push eax
mov dword [ebp - 0x154], 0
call fcn.004306b0
push fcn.00405a50
push 4
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call fcn.0055423f
mov ebx, dword [ebp - 0x15c]
mov esi, ebx
mov edi, dword [ebp - 0x158]
cmp ebx, edi
je 0x42c813
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x5e70d4
call fcn.004078b0
mov byte [ebp - 4], 7
mov eax, dword [esi]
lea edi, [eax - 0x10]
mov dword [ebp - 0x14c], eax
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x160], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x42c6f7
cmp ecx, dword [edi]
jne 0x42c6f7
lock inc dword [eax]
jmp 0x42c73f
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x148], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x42c95a
mov edx, dword [ebp - 0x148]
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov edx, dword [edx]
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x14c]
lea edx, [edx*2 + 2]
lea ecx, [edi + 0x10]
call fcn.00408080
add esp, 8
mov ecx, dword [ebp - 0x160]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, reloc.WS2_32.dll_accept
mov byte [ebp - 4], 6
call fcn.0042cfd0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x5e70d4
call fcn.004078b0
mov byte [ebp - 4], 8
mov eax, dword [esi]
lea edi, [eax - 0x10]
mov dword [ebp - 0x148], eax
push ecx
mov ecx, dword [edi]
mov dword [ebp - 0x164], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x42c79e
cmp ecx, dword [edi]
jne 0x42c79e
lock inc dword [eax]
jmp 0x42c7e6
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x14c], edx
call dword [eax]
mov edi, eax
test edi, edi
je 0x42c95a
mov edx, dword [ebp - 0x14c]
mov ecx, dword [edx]
mov dword [edi + 4], ecx
mov edx, dword [edx]
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp - 0x148]
lea edx, [edx*2 + 2]
lea ecx, [edi + 0x10]
call fcn.00408080
add esp, 8
mov ecx, dword [ebp - 0x164]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
mov byte [ebp - 4], 6
call fcn.0042cfd0
mov edi, dword [ebp - 0x158]
add esi, 4
add esp, 8
cmp esi, edi
jne 0x42c6b3
push 0x11c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00557410
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x144]
add esp, 0xc
mov dword [ebp - 0x144], 0x11c
push eax
call esi
cmp dword [ebp - 0x140], 0xa
je 0x42c88d
push 0x11c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00557410
add esp, 0xc
mov dword [ebp - 0x144], 0x11c
lea eax, [ebp - 0x144]
push eax
call esi
cmp dword [ebp - 0x140], 6
jne 0x42c8f3
mov eax, dword [ebp - 0x13c]
cmp eax, 2
je 0x42c88d
cmp eax, 3
jne 0x42c8f3
push ecx
mov ecx, esp
push 0x5e70d4
call fcn.004078b0
lea edx, [ebp - 0x15c]
mov ecx, reloc.WS2_32.dll_accept
call fcn.0042a6b0
mov ecx, esp
push 0x5e70d4
call fcn.004078b0
lea edx, [ebp - 0x15c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042a6b0
mov ebx, dword [ebp - 0x15c]
add esp, 4
mov edi, dword [ebp - 0x158]
mov esi, ebx
cmp ebx, edi
je 0x42c8f3
nop dword [eax + eax]
mov ecx, dword [esi]
mov edx, str.MasterCAJ_2d3d
call fcn.0042b290
add esi, 4
cmp esi, edi
jne 0x42c8e0
push 0
push 0
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
or ecx, 0xffffffff
mov byte [ebp - 4], 0
test ebx, ebx
je 0x42c9a3
mov esi, ebx
cmp ebx, edi
je 0x42c943
nop dword [eax]
mov edx, dword [esi]
mov eax, ecx
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42c93c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
add esi, 4
cmp esi, edi
jne 0x42c920
mov eax, dword [ebp - 0x154]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x42c95f
call fcn.00560966
call fcn.00405f80
shl eax, 2
cmp eax, 0x1000
jb 0x42c997
test bl, 0x1f
je 0x42c973
call fcn.00560966
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x42c97f
call fcn.00560966
sub ebx, eax
cmp ebx, 4
jae 0x42c98b
call fcn.00560966
cmp ebx, 0x23
jbe 0x42c995
call fcn.00560966
mov ebx, eax
push ebx
call fcn.00553c88
add esp, 4
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42c9c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00553c8d
mov esp, ebp
pop ebp
ret