Function at 0x42d9b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588424
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x60e9b0]
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.004078d0
push str..dxf
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.004078d0
push str..dwf
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.004078d0
push str..dwfx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.004078d0
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.00431970
push fcn.00405a80
push 4
push 4
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call fcn.005560ec
mov ebx, dword [ebp - 0x15c]
mov esi, ebx
mov edi, dword [ebp - 0x158]
cmp ebx, edi
je 0x42dbf3
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x5e90d4
call fcn.004078d0
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 0x42dad7
cmp ecx, dword [edi]
jne 0x42dad7
lock inc dword [eax]
jmp 0x42db1f
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 0x42dd3a
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.004080a0
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.0042e3b0
add esp, 4
mov ecx, esp
mov dword [ebp - 0x150], esp
push 0x5e90d4
call fcn.004078d0
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 0x42db7e
cmp ecx, dword [edi]
jne 0x42db7e
lock inc dword [eax]
jmp 0x42dbc6
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 0x42dd3a
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.004080a0
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.0042e3b0
mov edi, dword [ebp - 0x158]
add esi, 4
add esp, 8
cmp esi, edi
jne 0x42da93
push 0x11c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00559270
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 0x42dc6d
push 0x11c
lea eax, [ebp - 0x144]
push 0
push eax
call fcn.00559270
add esp, 0xc
mov dword [ebp - 0x144], 0x11c
lea eax, [ebp - 0x144]
push eax
call esi
cmp dword [ebp - 0x140], 6
jne 0x42dcd3
mov eax, dword [ebp - 0x13c]
cmp eax, 2
je 0x42dc6d
cmp eax, 3
jne 0x42dcd3
push ecx
mov ecx, esp
push 0x5e90d4
call fcn.004078d0
lea edx, [ebp - 0x15c]
mov ecx, reloc.WS2_32.dll_accept
call fcn.0042bac0
mov ecx, esp
push 0x5e90d4
call fcn.004078d0
lea edx, [ebp - 0x15c]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.0042bac0
mov ebx, dword [ebp - 0x15c]
add esp, 4
mov edi, dword [ebp - 0x158]
mov esi, ebx
cmp ebx, edi
je 0x42dcd3
nop dword [eax + eax]
mov ecx, dword [esi]
mov edx, str.MasterPDF_2d3d
call fcn.0042c6a0
add esi, 4
cmp esi, edi
jne 0x42dcc0
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 0x42dd83
mov esi, ebx
cmp ebx, edi
je 0x42dd23
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 0x42dd1c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
or ecx, 0xffffffff
add esi, 4
cmp esi, edi
jne 0x42dd00
mov eax, dword [ebp - 0x154]
sub eax, ebx
sar eax, 2
cmp eax, 0x3fffffff
jbe 0x42dd3f
call fcn.005627e0
call fcn.00405fb0
shl eax, 2
cmp eax, 0x1000
jb 0x42dd77
test bl, 0x1f
je 0x42dd53
call fcn.005627e0
mov eax, dword [ebx - 4]
cmp eax, ebx
jb 0x42dd5f
call fcn.005627e0
sub ebx, eax
cmp ebx, 4
jae 0x42dd6b
call fcn.005627e0
cmp ebx, 0x23
jbe 0x42dd75
call fcn.005627e0
mov ebx, eax
push ebx
call fcn.00555b32
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 0x42dda2
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.00555b37
mov esp, ebp
pop ebp
ret